/linux-6.3-rc2/fs/nfsd/ |
A D | nfs4acl.c | 139 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() 246 pa = pacl->a_entries; in _posix_to_nfsv4_one() 401 if (!pacl || pacl->a_count <= 4) in sort_pacl() 516 if (!pacl) in posix_state_to_acl() 556 return pacl; in posix_state_to_acl() 730 if (IS_ERR(*pacl)) { in nfs4_acl_nfsv4_to_posix() 732 *pacl = NULL; in nfs4_acl_nfsv4_to_posix() 741 *pacl = NULL; in nfs4_acl_nfsv4_to_posix() [all …]
|
/linux-6.3-rc2/fs/cifs/ |
A D | xattr.c | 162 struct cifs_ntsd *pacl; in cifs_xattr_set() local 166 pacl = kmalloc(size, GFP_KERNEL); in cifs_xattr_set() 167 if (!pacl) { in cifs_xattr_set() 170 memcpy(pacl, value, size); in cifs_xattr_set() 192 rc = pTcon->ses->server->ops->set_acl(pacl, in cifs_xattr_set() 199 kfree(pacl); in cifs_xattr_set() 315 struct cifs_ntsd *pacl; in cifs_xattr_get() local 327 if (IS_ERR(pacl)) { in cifs_xattr_get() 328 rc = PTR_ERR(pacl); in cifs_xattr_get() 336 memcpy(value, pacl, acllen); in cifs_xattr_get() [all …]
|
/linux-6.3-rc2/fs/9p/ |
A D | acl.c | 81 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 D | vfs_inode_dotl.c | 242 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() 312 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_atomic_open_dotl() 353 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 399 err = v9fs_acl_mode(dir, &mode, &dacl, &pacl); in v9fs_vfs_mkdir_dotl() 427 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl() 441 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl() 448 v9fs_put_acl(dacl, pacl); in v9fs_vfs_mkdir_dotl() 840 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mknod_dotl() local [all …]
|
A D | acl.h | 21 struct posix_acl **dpacl, struct posix_acl **pacl); 48 struct posix_acl **pacl) in v9fs_acl_mode() argument
|
/linux-6.3-rc2/fs/nfs_common/ |
A D | nfsacl.c | 337 struct posix_acl **pacl) in nfsacl_decode() argument 342 .xcode = pacl ? xdr_nfsace_decode : NULL, in nfsacl_decode() 355 if (pacl) { in nfsacl_decode() 361 *pacl = nfsacl_desc.acl; in nfsacl_decode() 384 struct posix_acl **pacl) in nfs_stream_decode_acl() argument 390 .xcode = pacl ? xdr_nfsace_decode : NULL, in nfs_stream_decode_acl() 408 if (pacl) { in nfs_stream_decode_acl() 414 *pacl = nfsacl_desc.acl; in nfs_stream_decode_acl()
|
/linux-6.3-rc2/include/linux/ |
A D | nfsacl.h | 40 struct posix_acl **pacl); 43 struct posix_acl **pacl);
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_acl_tcam.c | 613 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()
|
A D | reg.h | 2595 MLXSW_REG_DEFINE(pacl, MLXSW_REG_PACL_ID, MLXSW_REG_PACL_LEN); 2602 MLXSW_ITEM32(reg, pacl, v, 0x00, 24, 1); 2609 MLXSW_ITEM32(reg, pacl, acl_id, 0x08, 0, 16); 2618 MLXSW_ITEM_BUF(reg, pacl, tcam_region_info, 0x30, 2624 MLXSW_REG_ZERO(pacl, payload); in mlxsw_reg_pacl_pack() 12819 MLXSW_REG(pacl),
|