Home
last modified time | relevance | path

Searched refs:acl (Results 1 – 25 of 137) sorted by relevance

123456

/linux/drivers/target/
H A Dtarget_core_tpg.c44 struct se_node_acl *acl; in __core_tpg_get_initiator_node_acl() local
46 list_for_each_entry(acl, &tpg->acl_node_list, acl_list) { in __core_tpg_get_initiator_node_acl()
47 if (!strcmp(acl->initiatorname, initiatorname)) in __core_tpg_get_initiator_node_acl()
48 return acl; in __core_tpg_get_initiator_node_acl()
62 struct se_node_acl *acl; in core_tpg_get_initiator_node_acl() local
65 * initiatorname[] during node acl endpoint lookup driven by in core_tpg_get_initiator_node_acl()
73 acl = __core_tpg_get_initiator_node_acl(tpg, initiatorname); in core_tpg_get_initiator_node_acl()
74 if (acl) { in core_tpg_get_initiator_node_acl()
75 if (!kref_get_unless_zero(&acl->acl_kref)) in core_tpg_get_initiator_node_acl()
76 acl in core_tpg_get_initiator_node_acl()
105 core_tpg_add_node_to_devs(struct se_node_acl * acl,struct se_portal_group * tpg,struct se_lun * lun_orig) core_tpg_add_node_to_devs() argument
158 target_set_nacl_queue_depth(struct se_portal_group * tpg,struct se_node_acl * acl,u32 queue_depth) target_set_nacl_queue_depth() argument
173 struct se_node_acl *acl; target_alloc_node_acl() local
205 target_add_node_acl(struct se_node_acl * acl) target_add_node_acl() argument
226 struct se_node_acl *acl; target_tpg_has_node_acl() local
246 struct se_node_acl *acl; core_tpg_check_initiator_node_acl() local
293 struct se_node_acl *acl; core_tpg_add_initiator_node_acl() local
324 target_shutdown_sessions(struct se_node_acl * acl) target_shutdown_sessions() argument
345 core_tpg_del_initiator_node_acl(struct se_node_acl * acl) core_tpg_del_initiator_node_acl() argument
380 core_tpg_set_initiator_node_queue_depth(struct se_node_acl * acl,u32 queue_depth) core_tpg_set_initiator_node_queue_depth() argument
421 core_tpg_set_initiator_node_tag(struct se_portal_group * tpg,struct se_node_acl * acl,const char * new_tag) core_tpg_set_initiator_node_tag() argument
[all...]
/linux/fs/
H A Dposix_acl.c49 struct posix_acl *acl; in get_cached_acl() local
53 acl = rcu_dereference(*p); in get_cached_acl()
54 if (!acl || is_uncached_acl(acl) || in get_cached_acl()
55 refcount_inc_not_zero(&acl->a_refcount)) in get_cached_acl()
61 return acl; in get_cached_acl()
67 struct posix_acl *acl = rcu_dereference(*acl_by_type(inode, type)); in get_cached_acl_rcu() local
69 if (acl == ACL_DONT_CACHE) { in get_cached_acl_rcu()
74 acl = ret; in get_cached_acl_rcu()
77 return acl; in get_cached_acl_rcu()
81 void set_cached_acl(struct inode *inode, int type, struct posix_acl *acl) in set_cached_acl() argument
[all …]
/linux/fs/9p/
H A Dacl.c25 struct posix_acl *acl = NULL; in v9fs_fid_get_acl() local
39 acl = ERR_PTR(size); in v9fs_fid_get_acl()
41 acl = ERR_PTR(-ENODATA); in v9fs_fid_get_acl()
43 acl = posix_acl_from_xattr(&init_user_ns, value, size); in v9fs_fid_get_acl()
45 return acl; in v9fs_fid_get_acl()
51 struct posix_acl *acl = NULL; in v9fs_acl_get() local
57 acl = v9fs_fid_get_acl(fid, name); in v9fs_acl_get()
59 return acl; in v9fs_acl_get()
65 struct posix_acl *acl = NULL; in __v9fs_get_acl() local
67 acl = v9fs_fid_get_acl(fid, name); in __v9fs_get_acl()
[all …]
/linux/fs/f2fs/
H A Dacl.c3 * fs/f2fs/acl.c
8 * Portions of this code from linux/fs/ext2/acl.c
16 #include "acl.h"
51 struct posix_acl *acl; in f2fs_acl_from_disk() local
68 acl = posix_acl_alloc(count, GFP_NOFS); in f2fs_acl_from_disk()
69 if (!acl) in f2fs_acl_from_disk()
80 acl->a_entries[i].e_tag = le16_to_cpu(entry->e_tag); in f2fs_acl_from_disk()
81 acl->a_entries[i].e_perm = le16_to_cpu(entry->e_perm); in f2fs_acl_from_disk()
83 switch (acl->a_entries[i].e_tag) { in f2fs_acl_from_disk()
98 acl in f2fs_acl_from_disk()
129 f2fs_acl_to_disk(struct f2fs_sb_info * sbi,const struct posix_acl * acl,size_t * size) f2fs_acl_to_disk() argument
188 struct posix_acl *acl; __f2fs_get_acl() local
224 f2fs_acl_update_mode(const struct mnt_idmap * idmap,struct inode * inode,umode_t * mode_p,struct posix_acl ** acl) f2fs_acl_update_mode() argument
245 __f2fs_set_acl(const struct mnt_idmap * idmap,struct inode * inode,int type,struct posix_acl * acl,struct folio * ifolio) __f2fs_set_acl() argument
293 f2fs_set_acl(const struct mnt_idmap * idmap,struct dentry * dentry,struct posix_acl * acl,int type) f2fs_set_acl() argument
307 f2fs_acl_clone(const struct posix_acl * acl,gfp_t flags) f2fs_acl_clone() argument
321 f2fs_acl_create_masq(struct posix_acl * acl,umode_t * mode_p) f2fs_acl_create_masq() argument
376 f2fs_acl_create(struct inode * dir,umode_t * mode,struct posix_acl ** default_acl,struct posix_acl ** acl,struct folio * dfolio) f2fs_acl_create() argument
429 struct posix_acl *default_acl = NULL, *acl = NULL; f2fs_init_acl() local
[all...]
/linux/fs/ext2/
H A Dacl.c24 struct posix_acl *acl; in ext2_acl_from_disk() local
39 acl = posix_acl_alloc(count, GFP_KERNEL); in ext2_acl_from_disk()
40 if (!acl) in ext2_acl_from_disk()
47 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ext2_acl_from_disk()
48 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ext2_acl_from_disk()
49 switch(acl->a_entries[n].e_tag) { in ext2_acl_from_disk()
62 acl->a_entries[n].e_uid = in ext2_acl_from_disk()
70 acl->a_entries[n].e_gid = in ext2_acl_from_disk()
81 return acl; in ext2_acl_from_disk()
84 posix_acl_release(acl); in ext2_acl_from_disk()
[all …]
/linux/fs/ocfs2/
H A Dacl.c37 struct posix_acl *acl; in ocfs2_acl_from_xattr() local
46 acl = posix_acl_alloc(count, GFP_NOFS); in ocfs2_acl_from_xattr()
47 if (!acl) in ocfs2_acl_from_xattr()
53 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ocfs2_acl_from_xattr()
54 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ocfs2_acl_from_xattr()
55 switch(acl->a_entries[n].e_tag) { in ocfs2_acl_from_xattr()
57 acl->a_entries[n].e_uid = in ocfs2_acl_from_xattr()
62 acl->a_entries[n].e_gid = in ocfs2_acl_from_xattr()
72 return acl; in ocfs2_acl_from_xattr()
78 static void *ocfs2_acl_to_xattr(const struct posix_acl *acl, size_t *size) in ocfs2_acl_to_xattr() argument
[all …]
/linux/fs/ext4/
H A Dacl.c22 struct posix_acl *acl; in ext4_acl_from_disk() local
37 acl = posix_acl_alloc(count, GFP_NOFS); in ext4_acl_from_disk()
38 if (!acl) in ext4_acl_from_disk()
45 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ext4_acl_from_disk()
46 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ext4_acl_from_disk()
48 switch (acl->a_entries[n].e_tag) { in ext4_acl_from_disk()
61 acl->a_entries[n].e_uid = in ext4_acl_from_disk()
69 acl->a_entries[n].e_gid = in ext4_acl_from_disk()
80 return acl; in ext4_acl_from_disk()
83 posix_acl_release(acl); in ext4_acl_from_disk()
[all …]
/linux/fs/jffs2/
H A Dacl.c60 struct posix_acl *acl; in jffs2_acl_from_medium() local
81 acl = posix_acl_alloc(count, GFP_KERNEL); in jffs2_acl_from_medium()
82 if (!acl) in jffs2_acl_from_medium()
89 acl->a_entries[i].e_tag = je16_to_cpu(entry->e_tag); in jffs2_acl_from_medium()
90 acl->a_entries[i].e_perm = je16_to_cpu(entry->e_perm); in jffs2_acl_from_medium()
91 switch (acl->a_entries[i].e_tag) { in jffs2_acl_from_medium()
103 acl->a_entries[i].e_uid = in jffs2_acl_from_medium()
111 acl->a_entries[i].e_gid = in jffs2_acl_from_medium()
122 return acl; in jffs2_acl_from_medium()
124 posix_acl_release(acl); in jffs2_acl_from_medium()
[all …]
/linux/drivers/target/iscsi/
H A Discsi_target_nodeattrib.c28 struct iscsi_node_acl *acl, in iscsit_set_default_node_attribues() argument
31 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_set_default_node_attribues()
45 struct iscsi_node_acl *acl, in iscsit_na_dataout_timeout() argument
48 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_na_dataout_timeout()
64 " %s\n", a->dataout_timeout, iscsit_na_get_initiatorname(acl)); in iscsit_na_dataout_timeout()
70 struct iscsi_node_acl *acl, in iscsit_na_dataout_timeout_retries() argument
73 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_na_dataout_timeout_retries()
90 iscsit_na_get_initiatorname(acl)); in iscsit_na_dataout_timeout_retries()
96 struct iscsi_node_acl *acl, in iscsit_na_nopin_timeout() argument
99 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_na_nopin_timeout()
[all …]
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_acl.c56 struct prestera_acl *acl; member
136 prestera_acl_ruleset_create(struct prestera_acl *acl, in prestera_acl_ruleset_create() argument
151 ruleset->acl = acl; in prestera_acl_ruleset_create()
161 err = idr_alloc_u32(&acl->uid, NULL, &uid, U8_MAX, GFP_KERNEL); in prestera_acl_ruleset_create()
172 err = rhashtable_insert_fast(&acl->ruleset_ht, &ruleset->ht_node, in prestera_acl_ruleset_create()
180 idr_remove(&acl->uid, uid); in prestera_acl_ruleset_create()
211 err = prestera_acl_vtcam_id_get(ruleset->acl, in prestera_acl_ruleset_offload()
224 err = prestera_hw_vtcam_iface_bind(ruleset->acl->sw, &iface, in prestera_acl_ruleset_offload()
235 prestera_acl_vtcam_id_put(ruleset->acl, ruleset->vtcam_id); in prestera_acl_ruleset_offload()
242 struct prestera_acl *acl = ruleset->acl; in prestera_acl_ruleset_destroy() local
[all …]
/linux/fs/ceph/
H A Dacl.c3 * linux/fs/ceph/acl.c
21 int type, struct posix_acl *acl) in ceph_set_cached_acl() argument
27 set_cached_acl(inode, type, acl); in ceph_set_cached_acl()
40 struct posix_acl *acl; in ceph_get_acl() local
73 acl = posix_acl_from_xattr(&init_user_ns, value, size); in ceph_get_acl()
75 acl = NULL; in ceph_get_acl()
79 acl = ERR_PTR(-EIO); in ceph_get_acl()
84 if (!IS_ERR(acl)) in ceph_get_acl()
85 ceph_set_cached_acl(inode, type, acl); in ceph_get_acl()
87 return acl; in ceph_get_acl()
91 ceph_set_acl(const struct mnt_idmap * idmap,struct dentry * dentry,struct posix_acl * acl,int type) ceph_set_acl() argument
168 struct posix_acl *acl, *default_acl; ceph_pre_init_acls() local
[all...]
/linux/fs/smb/server/
H A Dndr.c296 static int ndr_encode_posix_acl_entry(struct ndr *n, struct xattr_smb_acl *acl) in ndr_encode_posix_acl_entry() argument
300 ret = ndr_write_int32(n, acl->count); in ndr_encode_posix_acl_entry()
305 ret = ndr_write_int32(n, acl->count); in ndr_encode_posix_acl_entry()
313 for (i = 0; i < acl->count; i++) { in ndr_encode_posix_acl_entry()
315 ret = ndr_write_int16(n, acl->entries[i].type); in ndr_encode_posix_acl_entry()
319 ret = ndr_write_int16(n, acl->entries[i].type); in ndr_encode_posix_acl_entry()
323 if (acl->entries[i].type == SMB_ACL_USER) { in ndr_encode_posix_acl_entry()
325 ret = ndr_write_int64(n, acl->entries[i].uid); in ndr_encode_posix_acl_entry()
326 } else if (acl->entries[i].type == SMB_ACL_GROUP) { in ndr_encode_posix_acl_entry()
328 ret = ndr_write_int64(n, acl->entries[i].gid); in ndr_encode_posix_acl_entry()
[all …]
/linux/fs/jfs/
H A Dacl.c19 struct posix_acl *acl; in jfs_get_acl() local
49 acl = NULL; in jfs_get_acl()
51 acl = ERR_PTR(size); in jfs_get_acl()
53 acl = posix_acl_from_xattr(&init_user_ns, value, size); in jfs_get_acl()
56 return acl; in jfs_get_acl()
60 struct posix_acl *acl) in __jfs_set_acl() argument
78 if (acl) { in __jfs_set_acl()
79 value = posix_acl_to_xattr(&init_user_ns, acl, &size, GFP_KERNEL); in __jfs_set_acl()
87 set_cached_acl(inode, type, acl); in __jfs_set_acl()
93 struct posix_acl *acl, int type) in jfs_set_acl() argument
[all …]
/linux/fs/xfs/
H A Dxfs_acl.c38 struct posix_acl *acl; in xfs_acl_from_disk() local
55 acl = posix_acl_alloc(count, GFP_KERNEL); in xfs_acl_from_disk()
56 if (!acl) in xfs_acl_from_disk()
60 acl_e = &acl->a_entries[i]; in xfs_acl_from_disk()
90 return acl; in xfs_acl_from_disk()
93 posix_acl_release(acl); in xfs_acl_from_disk()
98 xfs_acl_to_disk(struct xfs_acl *aclp, const struct posix_acl *acl) in xfs_acl_to_disk() argument
104 aclp->acl_cnt = cpu_to_be32(acl->a_count); in xfs_acl_to_disk()
105 for (i = 0; i < acl->a_count; i++) { in xfs_acl_to_disk()
107 acl_e = &acl->a_entries[i]; in xfs_acl_to_disk()
[all …]
/linux/fs/gfs2/
H A Dacl.c19 #include "acl.h"
43 struct posix_acl *acl; in __gfs2_get_acl() local
55 acl = posix_acl_from_xattr(&init_user_ns, data, len); in __gfs2_get_acl()
57 return acl; in __gfs2_get_acl()
65 struct posix_acl *acl; in gfs2_get_acl() local
77 acl = __gfs2_get_acl(inode, type); in gfs2_get_acl()
80 return acl; in gfs2_get_acl()
83 int __gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __gfs2_set_acl() argument
90 if (acl) { in __gfs2_set_acl()
91 data = posix_acl_to_xattr(&init_user_ns, acl, in __gfs2_set_acl()
106 gfs2_set_acl(const struct mnt_idmap * idmap,struct dentry * dentry,struct posix_acl * acl,int type) gfs2_set_acl() argument
[all...]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl.c39 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl) in mlxsw_sp_acl_afk() argument
41 return acl->afk; in mlxsw_sp_acl_afk()
44 struct mlxsw_sp_acl_tcam *mlxsw_sp_acl_to_tcam(struct mlxsw_sp_acl *acl) in mlxsw_sp_acl_to_tcam() argument
46 return &acl->tcam; in mlxsw_sp_acl_to_tcam()
96 return mlxsw_sp->acl->dummy_fid; in mlxsw_sp_acl_dummy_fid()
171 struct mlxsw_sp_acl *acl = mlxsw_sp->acl; in mlxsw_sp_acl_ruleset_create() local
189 err = ops->ruleset_add(mlxsw_sp, &acl->tcam, ruleset->priv, in mlxsw_sp_acl_ruleset_create()
195 err = rhashtable_insert_fast(&acl->ruleset_ht, &ruleset->ht_node, in mlxsw_sp_acl_ruleset_create()
215 struct mlxsw_sp_acl *acl = mlxsw_sp->acl; in mlxsw_sp_acl_ruleset_destroy() local
217 rhashtable_remove_fast(&acl->ruleset_ht, &ruleset->ht_node, in mlxsw_sp_acl_ruleset_destroy()
[all …]
/linux/fs/btrfs/
H A Dacl.c25 struct posix_acl *acl; in btrfs_get_acl() local
49 acl = posix_acl_from_xattr(&init_user_ns, value, size); in btrfs_get_acl()
51 acl = NULL; in btrfs_get_acl()
53 acl = ERR_PTR(size); in btrfs_get_acl()
55 return acl; in btrfs_get_acl()
59 struct posix_acl *acl, int type) in __btrfs_set_acl() argument
72 return acl ? -EINVAL : 0; in __btrfs_set_acl()
79 if (acl) { in __btrfs_set_acl()
87 value = posix_acl_to_xattr(&init_user_ns, acl, &size, GFP_KERNEL); in __btrfs_set_acl()
100 set_cached_acl(inode, type, acl); in __btrfs_set_acl()
[all …]
/linux/fs/nfs/
H A Dnfs3acl.c28 static void nfs3_complete_get_acl(struct posix_acl **p, struct posix_acl *acl) in nfs3_complete_get_acl() argument
33 posix_acl_dup(acl); in nfs3_complete_get_acl()
34 if (cmpxchg(p, sentinel, acl) != sentinel) in nfs3_complete_get_acl()
35 posix_acl_release(acl); in nfs3_complete_get_acl()
161 static int __nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in __nfs3_proc_setacls() argument
170 .acl_access = acl, in __nfs3_proc_setacls()
179 if (acl == NULL && (!S_ISDIR(inode->i_mode) || dfacl == NULL)) in __nfs3_proc_setacls()
189 if (acl != NULL && acl->a_count > NFS_ACL_MAX_ENTRIES) in __nfs3_proc_setacls()
196 args.len = nfsacl_size(acl, dfacl); in __nfs3_proc_setacls()
198 args.len = nfsacl_size(acl, NULL); in __nfs3_proc_setacls()
[all …]
/linux/fs/orangefs/
H A Dacl.c15 struct posix_acl *acl; in orangefs_get_acl() local
53 acl = posix_acl_from_xattr(&init_user_ns, value, ret); in orangefs_get_acl()
55 acl = NULL; in orangefs_get_acl()
60 acl = ERR_PTR(ret); in orangefs_get_acl()
64 return acl; in orangefs_get_acl()
67 int __orangefs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __orangefs_set_acl() argument
92 if (acl) { in __orangefs_set_acl()
93 value = posix_acl_to_xattr(&init_user_ns, acl, &size, GFP_KERNEL); in __orangefs_set_acl()
100 __func__, name, value, size, acl); in __orangefs_set_acl()
111 set_cached_acl(inode, type, acl); in __orangefs_set_acl()
[all …]
/linux/include/linux/
H A Dposix_acl.h41 #define FOREACH_ACL_ENTRY(pa, acl, pe) \ argument
42 for(pa=(acl)->a_entries, pe=pa+(acl)->a_count; pa<pe; pa++)
49 posix_acl_dup(struct posix_acl *acl) in posix_acl_dup() argument
51 if (acl) in posix_acl_dup()
52 refcount_inc(&acl->a_refcount); in posix_acl_dup()
53 return acl; in posix_acl_dup()
60 posix_acl_release(struct posix_acl *acl) in posix_acl_release() argument
62 if (acl && refcount_dec_and_test(&acl->a_refcount)) in posix_acl_release()
63 kfree_rcu(acl, a_rcu); in posix_acl_release()
81 struct posix_acl *posix_acl_clone(const struct posix_acl *acl, gfp_t flags);
[all …]
/linux/fs/afs/
H A Dxattr.c24 kfree(op->acl); in afs_acl_put()
43 struct afs_acl *acl = NULL; in afs_xattr_get_acl() local
55 acl = op->acl; in afs_xattr_get_acl()
56 op->acl = NULL; in afs_xattr_get_acl()
60 ret = acl->size; in afs_xattr_get_acl()
62 if (acl->size <= size) in afs_xattr_get_acl()
63 memcpy(buffer, acl->data, acl->size); in afs_xattr_get_acl()
69 kfree(acl); in afs_xattr_get_acl()
76 struct afs_acl *acl; in afs_make_acl() local
78 acl = kmalloc_flex(*acl, data, size); in afs_make_acl()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dhelper.c14 struct mlx5_flow_table *acl; in esw_acl_table_create() local
40 acl = mlx5_create_vport_flow_table(root_ns, &ft_attr, vport_num); in esw_acl_table_create()
41 if (IS_ERR(acl)) { in esw_acl_table_create()
42 err = PTR_ERR(acl); in esw_acl_table_create()
46 return acl; in esw_acl_table_create()
73 mlx5_add_flow_rules(vport->egress.acl, spec, in esw_egress_acl_vlan_create()
116 vlan_grp = mlx5_create_flow_group(vport->egress.acl, flow_group_in); in esw_acl_egress_vlan_grp_create()
141 if (IS_ERR_OR_NULL(vport->egress.acl)) in esw_acl_egress_table_destroy()
144 mlx5_destroy_flow_table(vport->egress.acl); in esw_acl_egress_table_destroy()
145 vport->egress.acl = NULL; in esw_acl_egress_table_destroy()
[all …]
/linux/security/tomoyo/
H A Dgc.c50 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer()
157 struct tomoyo_acl_info *acl = in tomoyo_del_acl()
158 container_of(element, typeof(*acl), list); in tomoyo_del_acl() local
160 tomoyo_put_condition(acl->cond); in tomoyo_del_acl()
161 switch (acl->type) { in tomoyo_del_acl()
165 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
172 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
180 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
188 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
198 = container_of(acl, typeo in tomoyo_del_acl()
255 struct tomoyo_acl_info *acl; tomoyo_del_domain() local
508 struct tomoyo_acl_info *acl; tomoyo_collect_acl() local
[all...]
/linux/drivers/net/dsa/microchip/
H A Dksz9477_tc_flower.c32 struct ksz9477_acl_priv *acl = dev->ports[port].acl_priv; in ksz9477_flower_parse_key_l2() local
74 acles = &acl->acles; in ksz9477_flower_parse_key_l2()
163 struct ksz9477_acl_priv *acl = dev->ports[port].acl_priv; in ksz9477_flower_parse_action() local
192 entry = &acl->acles.entries[entry_idx]; in ksz9477_flower_parse_action()
221 struct ksz9477_acl_priv *acl; in ksz9477_cls_flower_add() local
225 acl = dev->ports[port].acl_priv; in ksz9477_cls_flower_add()
227 if (!acl) { in ksz9477_cls_flower_add()
235 action_entry_idx = acl->acles.entries_count; in ksz9477_cls_flower_add()
274 struct ksz9477_acl_priv *acl; in ksz9477_cls_flower_del() local
276 acl = dev->ports[port].acl_priv; in ksz9477_cls_flower_del()
[all …]
/linux/fs/fuse/
H A Dacl.c18 struct posix_acl *acl; in __fuse_get_acl() local
41 acl = posix_acl_from_xattr(fc->user_ns, value, size); in __fuse_get_acl()
44 acl = NULL; in __fuse_get_acl()
46 acl = ERR_PTR(-E2BIG); in __fuse_get_acl()
48 acl = ERR_PTR(size); in __fuse_get_acl()
51 return acl; in __fuse_get_acl()
94 struct posix_acl *acl, int type) in fuse_set_acl() argument
114 if (acl) { in fuse_set_acl()
126 value = posix_acl_to_xattr(fc->user_ns, acl, &size, GFP_KERNEL); in fuse_set_acl()

123456