Home
last modified time | relevance | path

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

/fs/nfsd/
A Dnfs4acl.c139 if (!pacl) 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()
244 pa = pacl->a_entries; in _posix_to_nfsv4_one()
399 if (!pacl || pacl->a_count <= 4) in sort_pacl()
513 if (!pacl) in posix_state_to_acl()
553 return pacl; in posix_state_to_acl()
752 if (IS_ERR(*pacl)) { in nfs4_acl_nfsv4_to_posix()
754 *pacl = NULL; in nfs4_acl_nfsv4_to_posix()
763 *pacl = NULL; in nfs4_acl_nfsv4_to_posix()
[all …]
/fs/smb/client/
A Dxattr.c170 struct smb_ntsd *pacl; in cifs_xattr_set() local
174 pacl = kmalloc(size, GFP_KERNEL); in cifs_xattr_set()
175 if (!pacl) { in cifs_xattr_set()
178 memcpy(pacl, value, size); in cifs_xattr_set()
207 rc = pTcon->ses->server->ops->set_acl(pacl, in cifs_xattr_set()
214 kfree(pacl); in cifs_xattr_set()
332 struct smb_ntsd *pacl; in cifs_xattr_get() local
357 if (IS_ERR(pacl)) { in cifs_xattr_get()
358 rc = PTR_ERR(pacl); in cifs_xattr_get()
366 memcpy(value, pacl, acllen); in cifs_xattr_get()
[all …]
/fs/9p/
A Dacl.c81 struct posix_acl *pacl, *dacl; in v9fs_get_acl() local
93 pacl = __v9fs_get_acl(fid, XATTR_NAME_POSIX_ACL_ACCESS); in v9fs_get_acl()
95 if (!IS_ERR(dacl) && !IS_ERR(pacl)) { in v9fs_get_acl()
97 set_cached_acl(inode, ACL_TYPE_ACCESS, pacl); in v9fs_get_acl()
104 if (!IS_ERR(pacl)) in v9fs_get_acl()
105 posix_acl_release(pacl); in v9fs_get_acl()
319 struct posix_acl **dpacl, struct posix_acl **pacl) in v9fs_acl_mode() argument
339 *pacl = acl; in v9fs_acl_mode()
A Dvfs_inode_dotl.c240 struct posix_acl *pacl = NULL, *dacl = NULL; in v9fs_vfs_atomic_open_dotl() local
281 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_atomic_open_dotl()
315 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_atomic_open_dotl()
339 v9fs_put_acl(dacl, pacl); in v9fs_vfs_atomic_open_dotl()
365 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mkdir_dotl() local
384 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_mkdir_dotl()
410 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl()
418 v9fs_put_acl(dacl, pacl); in v9fs_vfs_mkdir_dotl()
804 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mknod_dotl() local
848 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mknod_dotl()
[all …]
A Dacl.h21 struct posix_acl **dpacl, struct posix_acl **pacl);
48 struct posix_acl **pacl) in v9fs_acl_mode() argument
/fs/nfs_common/
A Dnfsacl.c340 struct posix_acl **pacl) in nfsacl_decode() argument
345 .xcode = pacl ? xdr_nfsace_decode : NULL, in nfsacl_decode()
358 if (pacl) { in nfsacl_decode()
364 *pacl = nfsacl_desc.acl; in nfsacl_decode()
387 struct posix_acl **pacl) in nfs_stream_decode_acl() argument
393 .xcode = pacl ? xdr_nfsace_decode : NULL, in nfs_stream_decode_acl()
411 if (pacl) { in nfs_stream_decode_acl()
417 *pacl = nfsacl_desc.acl; in nfs_stream_decode_acl()

Completed in 15 milliseconds