Home
last modified time | relevance | path

Searched refs:pacl (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/fs/nfsd/
H A 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, struc argument
375 sort_pacl_range(struct posix_acl *pacl, int start, int end) sort_pacl_range() argument
394 sort_pacl(struct posix_acl *pacl) sort_pacl() argument
494 struct posix_acl *pacl; posix_state_to_acl() local
692 nfs4_acl_nfsv4_to_posix(struct nfs4_acl *acl, struct posix_acl **pacl, struct posix_acl **dpacl, unsigned int flags) nfs4_acl_nfsv4_to_posix() argument
762 struct posix_acl *pacl = NULL, *dpacl = NULL; nfsd4_set_nfs4_acl() local
[all...]
/kernel/linux/linux-6.6/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, struc argument
375 sort_pacl_range(struct posix_acl *pacl, int start, int end) sort_pacl_range() argument
394 sort_pacl(struct posix_acl *pacl) sort_pacl() argument
493 struct posix_acl *pacl; posix_state_to_acl() local
692 nfs4_acl_nfsv4_to_posix(struct nfs4_acl *acl, struct posix_acl **pacl, struct posix_acl **dpacl, unsigned int flags) nfs4_acl_nfsv4_to_posix() argument
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dxattr.c171 struct cifs_ntsd *pacl; in cifs_xattr_set() local
175 pacl = kmalloc(size, GFP_KERNEL); in cifs_xattr_set()
176 if (!pacl) { in cifs_xattr_set()
179 memcpy(pacl, value, size); in cifs_xattr_set()
186 pacl, size, inode, in cifs_xattr_set()
193 pacl, size, inode, in cifs_xattr_set()
202 kfree(pacl); in cifs_xattr_set()
336 struct cifs_ntsd *pacl; in cifs_xattr_get() local
341 pacl = pTcon->ses->server->ops->get_acl(cifs_sb, in cifs_xattr_get()
343 if (IS_ERR(pacl)) { in cifs_xattr_get()
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dxattr.c165 struct cifs_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 cifs_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...]
/kernel/linux/linux-5.10/fs/9p/
H A 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()
207 *pacl = acl; in v9fs_acl_mode()
186 v9fs_acl_mode(struct inode *dir, umode_t *modep, struct posix_acl **dpacl, struct posix_acl **pacl) v9fs_acl_mode() argument
H A Dvfs_inode_dotl.c241 struct posix_acl *pacl = NULL, *dacl = NULL; in v9fs_vfs_atomic_open_dotl() local
282 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_atomic_open_dotl()
312 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_atomic_open_dotl()
347 v9fs_put_acl(dacl, pacl); in v9fs_vfs_atomic_open_dotl()
379 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mkdir_dotl() local
400 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_mkdir_dotl()
430 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl()
445 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl()
453 v9fs_put_acl(dacl, pacl); in v9fs_vfs_mkdir_dotl()
825 struct posix_acl *dacl = NULL, *pacl in v9fs_vfs_mknod_dotl() local
[all...]
H A Dacl.h24 struct posix_acl **dpacl, struct posix_acl **pacl);
49 struct posix_acl **pacl) in v9fs_acl_mode()
47 v9fs_acl_mode(struct inode *dir, umode_t *modep, struct posix_acl **dpacl, struct posix_acl **pacl) v9fs_acl_mode() argument
/kernel/linux/linux-6.6/fs/nfs_common/
H A Dnfsacl.c332 * @pacl: buffer in which to place decoded posix_acl
337 struct posix_acl **pacl) in nfsacl_decode()
342 .xcode = pacl ? xdr_nfsace_decode : NULL, in nfsacl_decode()
355 if (pacl) { in nfsacl_decode()
361 *pacl = nfsacl_desc.acl; in nfsacl_decode()
375 * @pacl: OUT: a dynamically-allocated buffer containing the decoded posix_acl
379 * %true: @pacl contains a decoded ACL, and @xdr is advanced
381 * On a successful return, caller must release *pacl using posix_acl_release().
384 struct posix_acl **pacl) in nfs_stream_decode_acl()
390 .xcode = pacl in nfs_stream_decode_acl()
336 nfsacl_decode(struct xdr_buf *buf, unsigned int base, unsigned int *aclcnt, struct posix_acl **pacl) nfsacl_decode() argument
383 nfs_stream_decode_acl(struct xdr_stream *xdr, unsigned int *aclcnt, struct posix_acl **pacl) nfs_stream_decode_acl() argument
[all...]
/kernel/linux/linux-6.6/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()
339 *pacl = acl; in v9fs_acl_mode()
318 v9fs_acl_mode(struct inode *dir, umode_t *modep, struct posix_acl **dpacl, struct posix_acl **pacl) v9fs_acl_mode() argument
H A Dvfs_inode_dotl.c242 struct posix_acl *pacl = NULL, *dacl = NULL; in v9fs_vfs_atomic_open_dotl() local
283 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_atomic_open_dotl()
317 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_atomic_open_dotl()
341 v9fs_put_acl(dacl, pacl); in v9fs_vfs_atomic_open_dotl()
367 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mkdir_dotl() local
386 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_mkdir_dotl()
414 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl()
428 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl()
435 v9fs_put_acl(dacl, pacl); in v9fs_vfs_mkdir_dotl()
851 struct posix_acl *dacl = NULL, *pacl in v9fs_vfs_mknod_dotl() local
[all...]
H A Dacl.h21 struct posix_acl **dpacl, struct posix_acl **pacl);
48 struct posix_acl **pacl) in v9fs_acl_mode()
46 v9fs_acl_mode(struct inode *dir, umode_t *modep, struct posix_acl **dpacl, struct posix_acl **pacl) v9fs_acl_mode() argument
/kernel/linux/linux-6.6/include/linux/
H A Dnfsacl.h40 struct posix_acl **pacl);
43 struct posix_acl **pacl);
/kernel/linux/linux-5.10/fs/nfs_common/
H A Dnfsacl.c261 * @pacl: buffer in which to place decoded posix_acl
266 struct posix_acl **pacl) in nfsacl_decode()
271 .xcode = pacl ? xdr_nfsace_decode : NULL, in nfsacl_decode()
284 if (pacl) { in nfsacl_decode()
290 *pacl = nfsacl_desc.acl; in nfsacl_decode()
265 nfsacl_decode(struct xdr_buf *buf, unsigned int base, unsigned int *aclcnt, struct posix_acl **pacl) nfsacl_decode() argument
/kernel/linux/linux-5.10/include/linux/
H A Dnfsacl.h40 struct posix_acl **pacl);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c612 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pacl), pacl_pl); in mlxsw_sp_acl_tcam_region_enable()
623 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pacl), pacl_pl); in mlxsw_sp_acl_tcam_region_disable()
H A Dreg.h2136 MLXSW_REG_DEFINE(pacl, MLXSW_REG_PACL_ID, MLXSW_REG_PACL_LEN);
2143 MLXSW_ITEM32(reg, pacl, v, 0x00, 24, 1);
2150 MLXSW_ITEM32(reg, pacl, acl_id, 0x08, 0, 16);
2159 MLXSW_ITEM_BUF(reg, pacl, tcam_region_info, 0x30,
2165 MLXSW_REG_ZERO(pacl, payload); in mlxsw_reg_pacl_pack()
11138 MLXSW_REG(pacl),
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c613 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pacl), pacl_pl); in mlxsw_sp_acl_tcam_region_enable()
624 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pacl), pacl_pl); in mlxsw_sp_acl_tcam_region_disable()
H A Dreg.h2586 MLXSW_REG_DEFINE(pacl, MLXSW_REG_PACL_ID, MLXSW_REG_PACL_LEN);
2593 MLXSW_ITEM32(reg, pacl, v, 0x00, 24, 1);
2600 MLXSW_ITEM32(reg, pacl, acl_id, 0x08, 0, 16);
2609 MLXSW_ITEM_BUF(reg, pacl, tcam_region_info, 0x30,
2615 MLXSW_REG_ZERO(pacl, payload); in mlxsw_reg_pacl_pack()
12944 MLXSW_REG(pacl),

Completed in 44 milliseconds