Searched refs:pacl (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/fs/nfsd/ |
D | nfs4acl.c | 144 struct posix_acl *pacl = NULL, *dpacl = NULL; in nfsd4_get_nfs4_acl() local 148 pacl = get_acl(inode, ACL_TYPE_ACCESS); in nfsd4_get_nfs4_acl() 149 if (!pacl) in nfsd4_get_nfs4_acl() 150 pacl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); in nfsd4_get_nfs4_acl() 152 if (IS_ERR(pacl)) in nfsd4_get_nfs4_acl() 153 return PTR_ERR(pacl); in nfsd4_get_nfs4_acl() 156 size += 2 * pacl->a_count; in nfsd4_get_nfs4_acl() 177 _posix_to_nfsv4_one(pacl, *acl, flags & ~NFS4_ACL_TYPE_DEFAULT); in nfsd4_get_nfs4_acl() 185 posix_acl_release(pacl); in nfsd4_get_nfs4_acl() 243 _posix_to_nfsv4_one(struct posix_acl *pacl, struct nfs4_acl *acl, in _posix_to_nfsv4_one() argument [all …]
|
/linux-4.1.27/fs/cifs/ |
D | xattr.c | 172 struct cifs_ntsd *pacl; in cifs_setxattr() local 173 pacl = kmalloc(value_size, GFP_KERNEL); in cifs_setxattr() 174 if (!pacl) { in cifs_setxattr() 177 memcpy(pacl, ea_value, value_size); in cifs_setxattr() 179 rc = pTcon->ses->server->ops->set_acl(pacl, in cifs_setxattr() 186 kfree(pacl); in cifs_setxattr() 321 struct cifs_ntsd *pacl; in cifs_getxattr() local 326 pacl = pTcon->ses->server->ops->get_acl(cifs_sb, in cifs_getxattr() 328 if (IS_ERR(pacl)) { in cifs_getxattr() 329 rc = PTR_ERR(pacl); in cifs_getxattr() [all …]
|
/linux-4.1.27/fs/9p/ |
D | acl.c | 59 struct posix_acl *pacl, *dacl; in v9fs_get_acl() local 71 pacl = __v9fs_get_acl(fid, POSIX_ACL_XATTR_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()
|
D | vfs_inode_dotl.c | 254 struct posix_acl *pacl = NULL, *dacl = NULL; in v9fs_vfs_atomic_open_dotl() local 295 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_atomic_open_dotl() 325 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_atomic_open_dotl() 360 v9fs_put_acl(dacl, pacl); in v9fs_vfs_atomic_open_dotl() 393 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() 826 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mknod_dotl() local [all …]
|
D | acl.h | 24 struct posix_acl **dpacl, struct posix_acl **pacl); 49 struct posix_acl **pacl) in v9fs_acl_mode() argument
|
/linux-4.1.27/fs/nfs_common/ |
D | nfsacl.c | 265 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.1.27/include/linux/ |
D | nfsacl.h | 39 struct posix_acl **pacl);
|