Home
last modified time | relevance | path

Searched refs:pacl (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/fs/nfsd/
Dnfs4acl.c134 struct posix_acl *pacl = NULL, *dpacl = NULL; in nfsd4_get_nfs4_acl() local
138 pacl = get_acl(inode, ACL_TYPE_ACCESS); in nfsd4_get_nfs4_acl()
139 if (!pacl) in nfsd4_get_nfs4_acl()
140 pacl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); in nfsd4_get_nfs4_acl()
142 if (IS_ERR(pacl)) in nfsd4_get_nfs4_acl()
143 return PTR_ERR(pacl); in nfsd4_get_nfs4_acl()
146 size += 2 * pacl->a_count; in nfsd4_get_nfs4_acl()
167 _posix_to_nfsv4_one(pacl, *acl, flags & ~NFS4_ACL_TYPE_DEFAULT); in nfsd4_get_nfs4_acl()
175 posix_acl_release(pacl); in nfsd4_get_nfs4_acl()
233 _posix_to_nfsv4_one(struct posix_acl *pacl, struct nfs4_acl *acl, in _posix_to_nfsv4_one() argument
[all …]
/linux-4.19.296/fs/cifs/
Dxattr.c100 struct cifs_ntsd *pacl; in cifs_xattr_set() local
104 pacl = kmalloc(size, GFP_KERNEL); in cifs_xattr_set()
105 if (!pacl) { in cifs_xattr_set()
108 memcpy(pacl, value, size); in cifs_xattr_set()
111 rc = pTcon->ses->server->ops->set_acl(pacl, in cifs_xattr_set()
118 kfree(pacl); in cifs_xattr_set()
252 struct cifs_ntsd *pacl; in cifs_xattr_get() local
257 pacl = pTcon->ses->server->ops->get_acl(cifs_sb, in cifs_xattr_get()
259 if (IS_ERR(pacl)) { in cifs_xattr_get()
260 rc = PTR_ERR(pacl); in cifs_xattr_get()
[all …]
/linux-4.19.296/fs/9p/
Dacl.c59 struct posix_acl *pacl, *dacl; in v9fs_get_acl() local
71 pacl = __v9fs_get_acl(fid, XATTR_NAME_POSIX_ACL_ACCESS); in v9fs_get_acl()
73 if (!IS_ERR(dacl) && !IS_ERR(pacl)) { in v9fs_get_acl()
75 set_cached_acl(inode, ACL_TYPE_ACCESS, pacl); in v9fs_get_acl()
82 if (!IS_ERR(pacl)) in v9fs_get_acl()
83 posix_acl_release(pacl); in v9fs_get_acl()
187 struct posix_acl **dpacl, struct posix_acl **pacl) in v9fs_acl_mode() argument
207 *pacl = acl; in v9fs_acl_mode()
Dacl.h24 struct posix_acl **dpacl, struct posix_acl **pacl);
49 struct posix_acl **pacl) in v9fs_acl_mode() argument
Dvfs_inode_dotl.c256 struct posix_acl *pacl = NULL, *dacl = NULL; in v9fs_vfs_atomic_open_dotl() local
297 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_atomic_open_dotl()
327 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_atomic_open_dotl()
362 v9fs_put_acl(dacl, pacl); in v9fs_vfs_atomic_open_dotl()
394 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mkdir_dotl() local
415 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_mkdir_dotl()
445 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl()
460 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl()
468 v9fs_put_acl(dacl, pacl); in v9fs_vfs_mkdir_dotl()
824 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mknod_dotl() local
[all …]
/linux-4.19.296/fs/nfs_common/
Dnfsacl.c265 struct posix_acl **pacl) in nfsacl_decode() argument
270 .xcode = pacl ? xdr_nfsace_decode : NULL, in nfsacl_decode()
283 if (pacl) { in nfsacl_decode()
289 *pacl = nfsacl_desc.acl; in nfsacl_decode()
/linux-4.19.296/include/linux/
Dnfsacl.h40 struct posix_acl **pacl);