Home
last modified time | relevance | path

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

/linux/fs/nfsd/
H A Dnfs4acl.c134 struct posix_acl *pacl = NULL, *dpacl = NULL; in nfsd4_get_nfs4_acl() local
138 pacl = get_inode_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/fs/smb/client/
H A Dxattr.c165 struct smb_ntsd *pacl; in cifs_xattr_set() local
169 pacl = kmalloc(size, GFP_KERNEL); in cifs_xattr_set()
170 if (!pacl) { in cifs_xattr_set()
173 memcpy(pacl, value, size); in cifs_xattr_set()
195 rc = pTcon->ses->server->ops->set_acl(pacl, in cifs_xattr_set()
202 kfree(pacl); in cifs_xattr_set()
318 struct smb_ntsd *pacl; in cifs_xattr_get() local
328 pacl = pTcon->ses->server->ops->get_acl(cifs_sb, in cifs_xattr_get()
330 if (IS_ERR(pacl)) { in cifs_xattr_get()
331 rc = PTR_ERR(pacl); in cifs_xattr_get()
[all …]
/linux/fs/9p/
H 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()
H 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()
411 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
821 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_mknod_dotl()
[all …]
H A Dacl.h21 struct posix_acl **dpacl, struct posix_acl **pacl);
48 struct posix_acl **pacl) in v9fs_acl_mode() argument
/linux/fs/nfs_common/
H A Dnfsacl.c338 struct posix_acl **pacl) in nfsacl_decode() argument
343 .xcode = pacl ? xdr_nfsace_decode : NULL, in nfsacl_decode()
356 if (pacl) { in nfsacl_decode()
362 *pacl = nfsacl_desc.acl; in nfsacl_decode()
385 struct posix_acl **pacl) in nfs_stream_decode_acl() argument
391 .xcode = pacl ? xdr_nfsace_decode : NULL, in nfs_stream_decode_acl()
409 if (pacl) { in nfs_stream_decode_acl()
415 *pacl = nfsacl_desc.acl; in nfs_stream_decode_acl()
/linux/include/linux/
H A Dnfsacl.h40 struct posix_acl **pacl);
43 struct posix_acl **pacl);
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c617 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pacl), pacl_pl); in mlxsw_sp_acl_tcam_region_enable()
628 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pacl), pacl_pl); in mlxsw_sp_acl_tcam_region_disable()