Home
last modified time | relevance | path

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

/linux-4.1.27/fs/9p/
Dacl.c32 struct posix_acl *acl = NULL; in __v9fs_get_acl() local
41 acl = posix_acl_from_xattr(&init_user_ns, value, size); in __v9fs_get_acl()
42 if (IS_ERR(acl)) in __v9fs_get_acl()
47 acl = NULL; in __v9fs_get_acl()
49 acl = ERR_PTR(-EIO); in __v9fs_get_acl()
53 return acl; in __v9fs_get_acl()
90 struct posix_acl *acl; in v9fs_get_cached_acl() local
95 acl = get_cached_acl(inode, type); in v9fs_get_cached_acl()
96 BUG_ON(acl == ACL_NOT_CACHED); in v9fs_get_cached_acl()
97 return acl; in v9fs_get_cached_acl()
[all …]
Dacl.h25 extern void v9fs_put_acl(struct posix_acl *dacl, struct posix_acl *acl);
39 struct posix_acl *acl) in v9fs_set_create_acl() argument
44 struct posix_acl *acl) in v9fs_put_acl() argument
DMakefile18 9p-$(CONFIG_9P_FS_POSIX_ACL) += acl.o
DKconfig29 Linux website <http://acl.bestbits.at/>.
/linux-4.1.27/fs/
Dposix_acl.c40 struct posix_acl *acl = ACCESS_ONCE(*p); in get_cached_acl() local
41 if (acl) { in get_cached_acl()
43 acl = *p; in get_cached_acl()
44 if (acl != ACL_NOT_CACHED) in get_cached_acl()
45 acl = posix_acl_dup(acl); in get_cached_acl()
48 return acl; in get_cached_acl()
58 void set_cached_acl(struct inode *inode, int type, struct posix_acl *acl) in set_cached_acl() argument
64 rcu_assign_pointer(*p, posix_acl_dup(acl)); in set_cached_acl()
101 struct posix_acl *acl; in get_acl() local
103 acl = get_cached_acl(inode, type); in get_acl()
[all …]
DKconfig144 Linux website <http://acl.bestbits.at/>.
153 <http://acl.bestbits.at/> for details).
Dnamei.c261 struct posix_acl *acl; in check_acl() local
264 acl = get_cached_acl_rcu(inode, ACL_TYPE_ACCESS); in check_acl()
265 if (!acl) in check_acl()
268 if (acl == ACL_NOT_CACHED) in check_acl()
270 return posix_acl_permission(inode, acl, mask & ~MAY_NOT_BLOCK); in check_acl()
273 acl = get_acl(inode, ACL_TYPE_ACCESS); in check_acl()
274 if (IS_ERR(acl)) in check_acl()
275 return PTR_ERR(acl); in check_acl()
276 if (acl) { in check_acl()
277 int error = posix_acl_permission(inode, acl, mask); in check_acl()
[all …]
/linux-4.1.27/drivers/target/
Dtarget_core_tpg.c94 struct se_node_acl *acl; in __core_tpg_get_initiator_node_acl() local
96 list_for_each_entry(acl, &tpg->acl_node_list, acl_list) { in __core_tpg_get_initiator_node_acl()
97 if (!strcmp(acl->initiatorname, initiatorname)) in __core_tpg_get_initiator_node_acl()
98 return acl; in __core_tpg_get_initiator_node_acl()
112 struct se_node_acl *acl; in core_tpg_get_initiator_node_acl() local
115 acl = __core_tpg_get_initiator_node_acl(tpg, initiatorname); in core_tpg_get_initiator_node_acl()
118 return acl; in core_tpg_get_initiator_node_acl()
127 struct se_node_acl *acl, in core_tpg_add_node_to_devs() argument
169 lun_access, acl, tpg); in core_tpg_add_node_to_devs()
175 core_scsi3_check_aptpl_registration(dev, tpg, lun, acl, in core_tpg_add_node_to_devs()
[all …]
Dtarget_core_device.c1212 struct se_node_acl *acl; in core_dev_add_lun() local
1214 list_for_each_entry(acl, &tpg->acl_node_list, acl_list) { in core_dev_add_lun()
1215 if (acl->dynamic_node_acl && in core_dev_add_lun()
1219 core_tpg_add_node_to_devs(acl, tpg); in core_dev_add_lun()
/linux-4.1.27/fs/f2fs/
Dacl.c51 struct posix_acl *acl; in f2fs_acl_from_disk() local
65 acl = posix_acl_alloc(count, GFP_NOFS); in f2fs_acl_from_disk()
66 if (!acl) in f2fs_acl_from_disk()
74 acl->a_entries[i].e_tag = le16_to_cpu(entry->e_tag); in f2fs_acl_from_disk()
75 acl->a_entries[i].e_perm = le16_to_cpu(entry->e_perm); in f2fs_acl_from_disk()
77 switch (acl->a_entries[i].e_tag) { in f2fs_acl_from_disk()
87 acl->a_entries[i].e_uid = in f2fs_acl_from_disk()
94 acl->a_entries[i].e_gid = in f2fs_acl_from_disk()
106 return acl; in f2fs_acl_from_disk()
108 posix_acl_release(acl); in f2fs_acl_from_disk()
[all …]
DMakefile7 f2fs-$(CONFIG_F2FS_FS_POSIX_ACL) += acl.o
Dacl.h40 extern int f2fs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
DKconfig37 <http://acl.bestbits.at/> for details).
51 Linux website <http://acl.bestbits.at/>.
/linux-4.1.27/fs/reiserfs/
Dxattr_acl.c16 struct posix_acl *acl);
20 reiserfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in reiserfs_set_acl() argument
25 int size = acl ? posix_acl_xattr_size(acl->a_count) : 0; in reiserfs_set_acl()
40 error = __reiserfs_set_acl(&th, inode, type, acl); in reiserfs_set_acl()
58 struct posix_acl *acl; in reiserfs_posix_acl_from_disk() local
73 acl = posix_acl_alloc(count, GFP_NOFS); in reiserfs_posix_acl_from_disk()
74 if (!acl) in reiserfs_posix_acl_from_disk()
80 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in reiserfs_posix_acl_from_disk()
81 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in reiserfs_posix_acl_from_disk()
82 switch (acl->a_entries[n].e_tag) { in reiserfs_posix_acl_from_disk()
[all …]
Dacl.h51 int reiserfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
DKconfig61 <http://acl.bestbits.at/> for details).
74 Linux website <http://acl.bestbits.at/>.
/linux-4.1.27/fs/ocfs2/
Dacl.c46 struct posix_acl *acl; in ocfs2_acl_from_xattr() local
55 acl = posix_acl_alloc(count, GFP_NOFS); in ocfs2_acl_from_xattr()
56 if (!acl) in ocfs2_acl_from_xattr()
62 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ocfs2_acl_from_xattr()
63 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ocfs2_acl_from_xattr()
64 switch(acl->a_entries[n].e_tag) { in ocfs2_acl_from_xattr()
66 acl->a_entries[n].e_uid = in ocfs2_acl_from_xattr()
71 acl->a_entries[n].e_gid = in ocfs2_acl_from_xattr()
81 return acl; in ocfs2_acl_from_xattr()
87 static void *ocfs2_acl_to_xattr(const struct posix_acl *acl, size_t *size) in ocfs2_acl_to_xattr() argument
[all …]
Dacl.h30 int ocfs2_iop_set_acl(struct inode *inode, struct posix_acl *acl, int type);
35 struct posix_acl *acl,
DMakefile44 acl.o
/linux-4.1.27/fs/ext2/
Dacl.c23 struct posix_acl *acl; in ext2_acl_from_disk() local
38 acl = posix_acl_alloc(count, GFP_KERNEL); in ext2_acl_from_disk()
39 if (!acl) in ext2_acl_from_disk()
46 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ext2_acl_from_disk()
47 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ext2_acl_from_disk()
48 switch(acl->a_entries[n].e_tag) { in ext2_acl_from_disk()
61 acl->a_entries[n].e_uid = in ext2_acl_from_disk()
69 acl->a_entries[n].e_gid = in ext2_acl_from_disk()
80 return acl; in ext2_acl_from_disk()
83 posix_acl_release(acl); in ext2_acl_from_disk()
[all …]
DKconfig17 <http://acl.bestbits.at/> for details).
30 Linux website <http://acl.bestbits.at/>.
DMakefile11 ext2-$(CONFIG_EXT2_FS_POSIX_ACL) += acl.o
Dacl.h58 extern int ext2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/fs/btrfs/
Dacl.c36 struct posix_acl *acl; in btrfs_get_acl() local
57 acl = posix_acl_from_xattr(&init_user_ns, value, size); in btrfs_get_acl()
60 acl = NULL; in btrfs_get_acl()
62 acl = ERR_PTR(-EIO); in btrfs_get_acl()
66 if (!IS_ERR(acl)) in btrfs_get_acl()
67 set_cached_acl(inode, type, acl); in btrfs_get_acl()
69 return acl; in btrfs_get_acl()
76 struct inode *inode, struct posix_acl *acl, int type) in __btrfs_set_acl() argument
85 if (acl) { in __btrfs_set_acl()
86 ret = posix_acl_equiv_mode(acl, &inode->i_mode); in __btrfs_set_acl()
[all …]
DMakefile14 btrfs-$(CONFIG_BTRFS_FS_POSIX_ACL) += acl.o
DKconfig40 Linux website <http://acl.bestbits.at/>.
Dctree.h4152 int btrfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/fs/ext4/
Dacl.c20 struct posix_acl *acl; in ext4_acl_from_disk() local
35 acl = posix_acl_alloc(count, GFP_NOFS); in ext4_acl_from_disk()
36 if (!acl) in ext4_acl_from_disk()
43 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ext4_acl_from_disk()
44 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ext4_acl_from_disk()
46 switch (acl->a_entries[n].e_tag) { in ext4_acl_from_disk()
59 acl->a_entries[n].e_uid = in ext4_acl_from_disk()
67 acl->a_entries[n].e_gid = in ext4_acl_from_disk()
78 return acl; in ext4_acl_from_disk()
81 posix_acl_release(acl); in ext4_acl_from_disk()
[all …]
Dacl.h58 int ext4_set_acl(struct inode *inode, struct posix_acl *acl, int type);
DMakefile13 ext4-$(CONFIG_EXT4_FS_POSIX_ACL) += acl.o
DKconfig51 Linux website <http://acl.bestbits.at/>.
/linux-4.1.27/fs/ext3/
Dacl.c19 struct posix_acl *acl; in ext3_acl_from_disk() local
34 acl = posix_acl_alloc(count, GFP_NOFS); in ext3_acl_from_disk()
35 if (!acl) in ext3_acl_from_disk()
42 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ext3_acl_from_disk()
43 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ext3_acl_from_disk()
44 switch(acl->a_entries[n].e_tag) { in ext3_acl_from_disk()
57 acl->a_entries[n].e_uid = in ext3_acl_from_disk()
65 acl->a_entries[n].e_gid = in ext3_acl_from_disk()
76 return acl; in ext3_acl_from_disk()
79 posix_acl_release(acl); in ext3_acl_from_disk()
[all …]
DMakefile11 ext3-$(CONFIG_EXT3_FS_POSIX_ACL) += acl.o
Dacl.h58 extern int ext3_set_acl(struct inode *inode, struct posix_acl *acl, int type);
DKconfig60 <http://acl.bestbits.at/> for details).
75 Linux website <http://acl.bestbits.at/>.
/linux-4.1.27/fs/ceph/
Dacl.c33 int type, struct posix_acl *acl) in ceph_set_cached_acl() argument
39 set_cached_acl(inode, type, acl); in ceph_set_cached_acl()
48 struct posix_acl *acl; in ceph_get_acl() local
70 acl = posix_acl_from_xattr(&init_user_ns, value, size); in ceph_get_acl()
72 acl = NULL; in ceph_get_acl()
74 acl = ERR_PTR(-EIO); in ceph_get_acl()
78 if (!IS_ERR(acl)) in ceph_get_acl()
79 ceph_set_cached_acl(inode, type, acl); in ceph_get_acl()
81 return acl; in ceph_get_acl()
84 int ceph_set_acl(struct inode *inode, struct posix_acl *acl, int type) in ceph_set_acl() argument
[all …]
DMakefile13 ceph-$(CONFIG_CEPH_FS_POSIX_ACL) += acl.o
DKconfig38 Linux website <http://acl.bestbits.at/>.
Dsuper.h779 void *acl; member
786 int ceph_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/fs/jfs/
Dacl.c32 struct posix_acl *acl; in jfs_get_acl() local
37 acl = get_cached_acl(inode, type); in jfs_get_acl()
38 if (acl != ACL_NOT_CACHED) in jfs_get_acl()
39 return acl; in jfs_get_acl()
63 acl = NULL; in jfs_get_acl()
65 acl = ERR_PTR(size); in jfs_get_acl()
67 acl = posix_acl_from_xattr(&init_user_ns, value, size); in jfs_get_acl()
70 if (!IS_ERR(acl)) in jfs_get_acl()
71 set_cached_acl(inode, type, acl); in jfs_get_acl()
72 return acl; in jfs_get_acl()
[all …]
Djfs_acl.h24 int jfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
Dnamei.c415 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) { in jfs_rmdir()
417 txEA(tid, ip, &JFS_IP(ip)->acl, NULL); in jfs_rmdir()
419 JFS_IP(ip)->acl.flag = 0; in jfs_rmdir()
665 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) in commitZeroLink()
667 txEA(tid, ip, &JFS_IP(ip)->acl, NULL); in commitZeroLink()
739 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) { in jfs_free_zero_link()
740 s64 xaddr = addressDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link()
741 int xlen = lengthDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link()
745 invalidate_dxd_metapages(ip, JFS_IP(ip)->acl); in jfs_free_zero_link()
DMakefile14 jfs-$(CONFIG_JFS_POSIX_ACL) += acl.o
DKconfig20 Linux website <http://acl.bestbits.at/>.
Djfs_inode.c139 memset(&jfs_inode->acl, 0, sizeof(dxd_t)); in ialloc()
Djfs_incore.h44 dxd_t acl; /* dxd describing acl */ member
Djfs_imap.c3095 jfs_ip->acl = dip->di_acl; /* as are dxd's */ in copy_from_dinode()
3170 dip->di_acl = jfs_ip->acl; /* as are dxd's */ in copy_to_dinode()
/linux-4.1.27/fs/jffs2/
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 …]
Dacl.h30 int jffs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
DMakefile16 jffs2-$(CONFIG_JFFS2_FS_POSIX_ACL) += acl.o
DKconfig72 <http://acl.bestbits.at/> for details).
86 Linux website <http://acl.bestbits.at/>.
/linux-4.1.27/fs/nfs_common/
Dnfsacl.c36 struct posix_acl *acl; member
43 struct posix_acl acl; member
55 &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; in xdr_nfsace_encode()
92 struct posix_acl *acl, int encode_entries, int typeflag) in nfsacl_encode() argument
94 int entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0; in nfsacl_encode()
101 .acl = acl, in nfsacl_encode()
112 if (encode_entries && acl && acl->a_count == 3) { in nfsacl_encode()
113 struct posix_acl *acl2 = &aclbuf.acl; in nfsacl_encode()
123 acl2->a_entries[0] = acl->a_entries[0]; /* ACL_USER_OBJ */ in nfsacl_encode()
124 acl2->a_entries[1] = acl->a_entries[1]; /* ACL_GROUP_OBJ */ in nfsacl_encode()
[all …]
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_nodeattrib.c36 struct iscsi_node_acl *acl, in iscsit_set_default_node_attribues() argument
39 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_set_default_node_attribues()
52 struct iscsi_node_acl *acl, in iscsit_na_dataout_timeout() argument
55 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_na_dataout_timeout()
71 " %s\n", a->dataout_timeout, iscsit_na_get_initiatorname(acl)); in iscsit_na_dataout_timeout()
77 struct iscsi_node_acl *acl, in iscsit_na_dataout_timeout_retries() argument
80 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_na_dataout_timeout_retries()
97 iscsit_na_get_initiatorname(acl)); in iscsit_na_dataout_timeout_retries()
103 struct iscsi_node_acl *acl, in iscsit_na_nopin_timeout() argument
106 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_na_nopin_timeout()
[all …]
Discsi_target_stat.c722 struct iscsi_node_acl *acl = container_of(igrps, in iscsi_stat_sess_show_attr_inst() local
724 struct se_wwn *wwn = acl->se_node_acl.se_tpg->se_tpg_wwn; in iscsi_stat_sess_show_attr_inst()
735 struct iscsi_node_acl *acl = container_of(igrps, in iscsi_stat_sess_show_attr_node() local
737 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_show_attr_node()
759 struct iscsi_node_acl *acl = container_of(igrps, in iscsi_stat_sess_show_attr_indx() local
761 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_show_attr_indx()
783 struct iscsi_node_acl *acl = container_of(igrps, in iscsi_stat_sess_show_attr_cmd_pdus() local
785 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_show_attr_cmd_pdus()
807 struct iscsi_node_acl *acl = container_of(igrps, in iscsi_stat_sess_show_attr_rsp_pdus() local
809 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_show_attr_rsp_pdus()
[all …]
Discsi_target_configfs.c866 struct iscsi_node_acl *acl; in lio_tpg_alloc_fabric_acl() local
868 acl = kzalloc(sizeof(struct iscsi_node_acl), GFP_KERNEL); in lio_tpg_alloc_fabric_acl()
869 if (!acl) { in lio_tpg_alloc_fabric_acl()
874 return &acl->se_node_acl; in lio_tpg_alloc_fabric_acl()
883 struct iscsi_node_acl *acl; in lio_target_make_nodeacl() local
903 acl = container_of(se_nacl, struct iscsi_node_acl, se_node_acl); in lio_target_make_nodeacl()
912 kfree(acl); in lio_target_make_nodeacl()
916 stats_cg->default_groups[0] = &acl->node_stat_grps.iscsi_sess_stats_group; in lio_target_make_nodeacl()
918 config_group_init_type_name(&acl->node_stat_grps.iscsi_sess_stats_group, in lio_target_make_nodeacl()
928 struct iscsi_node_acl *acl = container_of(se_nacl, in lio_target_drop_nodeacl() local
[all …]
Discsi_target_tpg.c405 struct iscsi_node_acl *acl = container_of(se_nacl, struct iscsi_node_acl, in iscsit_tpg_get_node_attrib() local
408 return &acl->node_attrib; in iscsit_tpg_get_node_attrib()
/linux-4.1.27/fs/hfsplus/
Dposix_acl.c15 struct posix_acl *acl; in hfsplus_get_posix_acl() local
43 acl = posix_acl_from_xattr(&init_user_ns, value, size); in hfsplus_get_posix_acl()
45 acl = NULL; in hfsplus_get_posix_acl()
47 acl = ERR_PTR(size); in hfsplus_get_posix_acl()
51 if (!IS_ERR(acl)) in hfsplus_get_posix_acl()
52 set_cached_acl(inode, type, acl); in hfsplus_get_posix_acl()
54 return acl; in hfsplus_get_posix_acl()
57 int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl, in hfsplus_set_posix_acl() argument
70 if (acl) { in hfsplus_set_posix_acl()
71 err = posix_acl_equiv_mode(acl, &inode->i_mode); in hfsplus_set_posix_acl()
[all …]
Dacl.h15 int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl,
DKconfig24 Linux website <http://acl.bestbits.at/>.
/linux-4.1.27/fs/xfs/
Dxfs_acl.c44 struct posix_acl *acl; in xfs_acl_from_disk() local
52 acl = posix_acl_alloc(count, GFP_KERNEL); in xfs_acl_from_disk()
53 if (!acl) in xfs_acl_from_disk()
57 acl_e = &acl->a_entries[i]; in xfs_acl_from_disk()
85 return acl; in xfs_acl_from_disk()
88 posix_acl_release(acl); in xfs_acl_from_disk()
93 xfs_acl_to_disk(struct xfs_acl *aclp, const struct posix_acl *acl) in xfs_acl_to_disk() argument
99 aclp->acl_cnt = cpu_to_be32(acl->a_count); in xfs_acl_to_disk()
100 for (i = 0; i < acl->a_count; i++) { in xfs_acl_to_disk()
102 acl_e = &acl->a_entries[i]; in xfs_acl_to_disk()
[all …]
Dxfs_acl.h27 extern int xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
Dxfs_iops.c137 struct posix_acl *default_acl, *acl; in xfs_generic_create() local
153 error = posix_acl_create(dir, &mode, &default_acl, &acl); in xfs_generic_create()
178 if (acl) { in xfs_generic_create()
179 error = xfs_set_acl(inode, acl, ACL_TYPE_ACCESS); in xfs_generic_create()
195 if (acl) in xfs_generic_create()
196 posix_acl_release(acl); in xfs_generic_create()
DKconfig51 Linux website <http://acl.bestbits.at/>.
/linux-4.1.27/include/linux/
Dposix_acl.h54 #define FOREACH_ACL_ENTRY(pa, acl, pe) \ argument
55 for(pa=(acl)->a_entries, pe=pa+(acl)->a_count; pa<pe; pa++)
62 posix_acl_dup(struct posix_acl *acl) in posix_acl_dup() argument
64 if (acl) in posix_acl_dup()
65 atomic_inc(&acl->a_refcount); in posix_acl_dup()
66 return acl; in posix_acl_dup()
73 posix_acl_release(struct posix_acl *acl) in posix_acl_release() argument
75 if (acl && atomic_dec_and_test(&acl->a_refcount)) in posix_acl_release()
76 kfree_rcu(acl, a_rcu); in posix_acl_release()
105 void set_cached_acl(struct inode *inode, int type, struct posix_acl *acl);
[all …]
Dnfsacl.h36 struct posix_acl *acl, int encode_entries, int typeflag);
Dposix_acl_xattr.h70 const struct posix_acl *acl, void *buffer, size_t size);
/linux-4.1.27/fs/gfs2/
Dacl.c44 struct posix_acl *acl; in gfs2_get_acl() local
62 acl = posix_acl_from_xattr(&init_user_ns, data, len); in gfs2_get_acl()
64 return acl; in gfs2_get_acl()
67 int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in gfs2_set_acl() argument
76 if (acl && acl->a_count > GFS2_ACL_MAX_ENTRIES(GFS2_SB(inode))) in gfs2_set_acl()
82 error = posix_acl_equiv_mode(acl, &mode); in gfs2_set_acl()
87 acl = NULL; in gfs2_set_acl()
95 if (acl) { in gfs2_set_acl()
96 len = posix_acl_to_xattr(&init_user_ns, acl, NULL, 0); in gfs2_set_acl()
102 error = posix_acl_to_xattr(&init_user_ns, acl, data, len); in gfs2_set_acl()
[all …]
Dacl.h20 extern int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
DMakefile3 gfs2-y := acl.o bmap.o dir.o xattr.o glock.o \
Dinode.c590 struct posix_acl *default_acl, *acl; in gfs2_create_inode() local
651 error = posix_acl_create(dir, &mode, &default_acl, &acl); in gfs2_create_inode()
694 if (default_acl || acl) in gfs2_create_inode()
740 if (acl) { in gfs2_create_inode()
742 error = gfs2_set_acl(inode, acl, ACL_TYPE_ACCESS); in gfs2_create_inode()
743 posix_acl_release(acl); in gfs2_create_inode()
783 if (acl) in gfs2_create_inode()
784 posix_acl_release(acl); in gfs2_create_inode()
/linux-4.1.27/drivers/target/tcm_fc/
Dtfc_conf.c145 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_show_port_name() local
148 return ft_wwn_show(&acl->node_auth.port_name, page); in ft_nacl_show_port_name()
156 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_store_port_name() local
159 return ft_wwn_store(&acl->node_auth.port_name, page, count); in ft_nacl_store_port_name()
168 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_show_node_name() local
171 return ft_wwn_show(&acl->node_auth.node_name, page); in ft_nacl_show_node_name()
179 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_store_node_name() local
182 return ft_wwn_store(&acl->node_auth.node_name, page, count); in ft_nacl_store_node_name()
206 struct ft_node_acl *acl; in ft_add_acl() local
217 acl = kzalloc(sizeof(struct ft_node_acl), GFP_KERNEL); in ft_add_acl()
[all …]
Dtfc_sess.c200 struct ft_node_acl *acl) in ft_sess_create() argument
221 sess->se_sess->se_node_acl = &acl->se_node_acl; in ft_sess_create()
230 transport_register_session(&tport->tpg->se_tpg, &acl->se_node_acl, in ft_sess_create()
352 struct ft_node_acl *acl; in ft_prli_locked() local
359 acl = ft_acl_get(tport->tpg, rdata); in ft_prli_locked()
360 if (!acl) in ft_prli_locked()
384 sess = ft_sess_create(tport, rdata->ids.port_id, acl); in ft_prli_locked()
/linux-4.1.27/fs/nfs/
Dnfs3acl.c117 static int __nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in __nfs3_proc_setacls() argument
126 .acl_access = acl, in __nfs3_proc_setacls()
135 if (acl == NULL && (!S_ISDIR(inode->i_mode) || dfacl == NULL)) in __nfs3_proc_setacls()
145 if (acl != NULL && acl->a_count > NFS_ACL_MAX_ENTRIES) in __nfs3_proc_setacls()
152 args.len = nfsacl_size(acl, dfacl); in __nfs3_proc_setacls()
154 args.len = nfsacl_size(acl, NULL); in __nfs3_proc_setacls()
184 set_cached_acl(inode, ACL_TYPE_ACCESS, acl); in __nfs3_proc_setacls()
205 int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in nfs3_proc_setacls() argument
209 ret = __nfs3_proc_setacls(inode, acl, dfacl); in nfs3_proc_setacls()
214 int nfs3_set_acl(struct inode *inode, struct posix_acl *acl, int type) in nfs3_set_acl() argument
[all …]
Dnfs3_fs.h14 extern int nfs3_set_acl(struct inode *inode, struct posix_acl *acl, int type);
15 extern int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl,
20 static inline int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in nfs3_proc_setacls() argument
Dnfs3proc.c322 struct posix_acl *default_acl, *acl; in nfs3_proc_create() local
345 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_create()
395 status = nfs3_proc_setacls(d_inode(dentry), acl, default_acl); in nfs3_proc_create()
398 posix_acl_release(acl); in nfs3_proc_create()
549 struct posix_acl *default_acl, *acl; in nfs3_proc_mkdir() local
559 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_mkdir()
573 status = nfs3_proc_setacls(d_inode(dentry), acl, default_acl); in nfs3_proc_mkdir()
576 posix_acl_release(acl); in nfs3_proc_mkdir()
674 struct posix_acl *default_acl, *acl; in nfs3_proc_mknod() local
685 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_mknod()
[all …]
Dnfs3xdr.c2348 struct posix_acl **acl; in decode_getacl3resok() local
2365 acl = NULL; in decode_getacl3resok()
2367 acl = &result->acl_access; in decode_getacl3resok()
2371 error = nfsacl_decode(xdr->buf, hdrlen, aclcnt, acl); in decode_getacl3resok()
2375 acl = NULL; in decode_getacl3resok()
2377 acl = &result->acl_default; in decode_getacl3resok()
2381 error = nfsacl_decode(xdr->buf, hdrlen + error, aclcnt, acl); in decode_getacl3resok()
Dnfs4proc.c4486 static void nfs4_set_cached_acl(struct inode *inode, struct nfs4_cached_acl *acl) in nfs4_set_cached_acl() argument
4492 nfsi->nfs4_acl = acl; in nfs4_set_cached_acl()
4504 struct nfs4_cached_acl *acl; in nfs4_read_cached_acl() local
4508 acl = nfsi->nfs4_acl; in nfs4_read_cached_acl()
4509 if (acl == NULL) in nfs4_read_cached_acl()
4513 if (acl->cached == 0) in nfs4_read_cached_acl()
4516 if (acl->len > buflen) in nfs4_read_cached_acl()
4518 memcpy(buf, acl->data, acl->len); in nfs4_read_cached_acl()
4520 ret = acl->len; in nfs4_read_cached_acl()
4528 struct nfs4_cached_acl *acl; in nfs4_write_cached_acl() local
[all …]
/linux-4.1.27/security/tomoyo/
Dgc.c50 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer()
152 struct tomoyo_acl_info *acl = in tomoyo_del_acl() local
153 container_of(element, typeof(*acl), list); in tomoyo_del_acl()
154 tomoyo_put_condition(acl->cond); in tomoyo_del_acl()
155 switch (acl->type) { in tomoyo_del_acl()
159 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
166 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
174 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
182 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
192 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
[all …]
Dfile.c253 const struct tomoyo_path_acl *acl = container_of(ptr, typeof(*acl), in tomoyo_check_path_acl() local
255 if (acl->perm & (1 << r->param.path.operation)) { in tomoyo_check_path_acl()
258 &acl->name); in tomoyo_check_path_acl()
275 const struct tomoyo_path_number_acl *acl = in tomoyo_check_path_number_acl() local
276 container_of(ptr, typeof(*acl), head); in tomoyo_check_path_number_acl()
277 return (acl->perm & (1 << r->param.path_number.operation)) && in tomoyo_check_path_number_acl()
279 &acl->number) && in tomoyo_check_path_number_acl()
281 &acl->name); in tomoyo_check_path_number_acl()
295 const struct tomoyo_path2_acl *acl = in tomoyo_check_path2_acl() local
296 container_of(ptr, typeof(*acl), head); in tomoyo_check_path2_acl()
[all …]
Dmount.c48 const struct tomoyo_mount_acl *acl = in tomoyo_check_mount_acl() local
49 container_of(ptr, typeof(*acl), head); in tomoyo_check_mount_acl()
51 &acl->flags) && in tomoyo_check_mount_acl()
53 &acl->fs_type) && in tomoyo_check_mount_acl()
55 &acl->dir_name) && in tomoyo_check_mount_acl()
58 &acl->dev_name)); in tomoyo_check_mount_acl()
Dnetwork.c421 const struct tomoyo_inet_acl *acl = in tomoyo_check_inet_acl() local
422 container_of(ptr, typeof(*acl), head); in tomoyo_check_inet_acl()
425 if (!(acl->perm & (1 << r->param.inet_network.operation)) || in tomoyo_check_inet_acl()
427 &acl->port)) in tomoyo_check_inet_acl()
429 if (acl->address.group) in tomoyo_check_inet_acl()
432 r->param.inet_network.address, acl->address.group); in tomoyo_check_inet_acl()
433 return acl->address.is_ipv6 == r->param.inet_network.is_ipv6 && in tomoyo_check_inet_acl()
434 memcmp(&acl->address.ip[0], in tomoyo_check_inet_acl()
437 &acl->address.ip[1], size) <= 0; in tomoyo_check_inet_acl()
451 const struct tomoyo_unix_acl *acl = in tomoyo_check_unix_acl() local
[all …]
Denviron.c20 const struct tomoyo_env_acl *acl = in tomoyo_check_env_acl() local
21 container_of(ptr, typeof(*acl), head); in tomoyo_check_env_acl()
23 return tomoyo_path_matches_pattern(r->param.environ.name, acl->env); in tomoyo_check_env_acl()
Dcommon.c896 list_for_each_cookie(head->r.acl, &tomoyo_kernel_namespace. in tomoyo_read_manager()
899 list_entry(head->r.acl, typeof(*ptr), head.list); in tomoyo_read_manager()
1361 struct tomoyo_acl_info *acl) in tomoyo_print_entry() argument
1363 const u8 acl_type = acl->type; in tomoyo_print_entry()
1369 if (acl->is_deleted) in tomoyo_print_entry()
1375 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry()
1396 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry()
1404 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry()
1424 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry()
1444 container_of(acl, typeof(*ptr), head); in tomoyo_print_entry()
[all …]
Dsecurityfs_if.c21 const struct tomoyo_task_acl *acl = container_of(ptr, typeof(*acl), in tomoyo_check_task_acl() local
23 return !tomoyo_pathcmp(r->param.task.domainname, acl->domainname); in tomoyo_check_task_acl()
Dcommon.h800 struct list_head *acl; member
/linux-4.1.27/fs/nfsd/
Dnfs4acl.c140 struct nfs4_acl **acl) in nfsd4_get_nfs4_acl() argument
170 *acl = kmalloc(nfs4_acl_bytes(size), GFP_KERNEL); in nfsd4_get_nfs4_acl()
171 if (*acl == NULL) { in nfsd4_get_nfs4_acl()
175 (*acl)->naces = 0; in nfsd4_get_nfs4_acl()
177 _posix_to_nfsv4_one(pacl, *acl, flags & ~NFS4_ACL_TYPE_DEFAULT); in nfsd4_get_nfs4_acl()
180 _posix_to_nfsv4_one(dpacl, *acl, flags | NFS4_ACL_TYPE_DEFAULT); in nfsd4_get_nfs4_acl()
199 summarize_posix_acl(struct posix_acl *acl, struct posix_acl_summary *pas) in summarize_posix_acl() argument
211 pe = acl->a_entries + acl->a_count; in summarize_posix_acl()
213 FOREACH_ACL_ENTRY(pa, acl, pe) { in summarize_posix_acl()
243 _posix_to_nfsv4_one(struct posix_acl *pacl, struct nfs4_acl *acl, in _posix_to_nfsv4_one() argument
[all …]
Dnfs3acl.c32 struct posix_acl *acl; in nfsd3_proc_getacl() local
49 acl = get_acl(inode, ACL_TYPE_ACCESS); in nfsd3_proc_getacl()
50 if (acl == NULL) { in nfsd3_proc_getacl()
52 acl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); in nfsd3_proc_getacl()
54 if (IS_ERR(acl)) { in nfsd3_proc_getacl()
55 nfserr = nfserrno(PTR_ERR(acl)); in nfsd3_proc_getacl()
58 resp->acl_access = acl; in nfsd3_proc_getacl()
63 acl = get_acl(inode, ACL_TYPE_DEFAULT); in nfsd3_proc_getacl()
64 if (IS_ERR(acl)) { in nfsd3_proc_getacl()
65 nfserr = nfserrno(PTR_ERR(acl)); in nfsd3_proc_getacl()
[all …]
Dnfs2acl.c33 struct posix_acl *acl; in nfsacld_proc_getacl() local
56 acl = get_acl(inode, ACL_TYPE_ACCESS); in nfsacld_proc_getacl()
57 if (acl == NULL) { in nfsacld_proc_getacl()
59 acl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); in nfsacld_proc_getacl()
61 if (IS_ERR(acl)) { in nfsacld_proc_getacl()
62 nfserr = nfserrno(PTR_ERR(acl)); in nfsacld_proc_getacl()
65 resp->acl_access = acl; in nfsacld_proc_getacl()
70 acl = get_acl(inode, ACL_TYPE_DEFAULT); in nfsacld_proc_getacl()
71 if (IS_ERR(acl)) { in nfsacld_proc_getacl()
72 nfserr = nfserrno(PTR_ERR(acl)); in nfsacld_proc_getacl()
[all …]
Dacl.h55 struct nfs4_acl **acl);
57 struct nfs4_acl *acl);
Dnfs4xdr.c286 struct iattr *iattr, struct nfs4_acl **acl, in nfsd4_decode_fattr() argument
317 *acl = svcxdr_tmpalloc(argp, nfs4_acl_bytes(nace)); in nfsd4_decode_fattr()
318 if (*acl == NULL) in nfsd4_decode_fattr()
321 (*acl)->naces = nace; in nfsd4_decode_fattr()
322 for (ace = (*acl)->aces; ace < (*acl)->aces + nace; ace++) { in nfsd4_decode_fattr()
345 *acl = NULL; in nfsd4_decode_fattr()
2257 struct nfs4_acl *acl = NULL; in nfsd4_encode_fattr() local
2304 err = nfsd4_get_nfs4_acl(rqstp, dentry, &acl); in nfsd4_encode_fattr()
2483 if (acl == NULL) { in nfsd4_encode_fattr()
2494 *p++ = cpu_to_be32(acl->naces); in nfsd4_encode_fattr()
[all …]
Dnfs4proc.c163 struct nfs4_acl *acl, u32 *bmval) in do_set_nfs4_acl() argument
167 status = nfsd4_set_nfs4_acl(rqstp, fhp, acl); in do_set_nfs4_acl()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dxattr.c118 ext_acl_xattr_header *acl = NULL; in ll_setxattr_common() local
164 acl = lustre_acl_xattr_merge2ext( in ll_setxattr_common()
167 if (IS_ERR(acl)) { in ll_setxattr_common()
169 return PTR_ERR(acl); in ll_setxattr_common()
172 le32_to_cpu(acl->a_count), \ in ll_setxattr_common()
174 pv = (const char *)acl; in ll_setxattr_common()
199 if (acl != NULL) in ll_setxattr_common()
200 lustre_ext_acl_xattr_free(acl); in ll_setxattr_common()
343 struct posix_acl *acl; in ll_getxattr_common() local
346 acl = posix_acl_dup(lli->lli_posix_acl); in ll_getxattr_common()
[all …]
Dfile.c3094 struct posix_acl *acl = NULL; in ll_get_acl() local
3098 acl = posix_acl_dup(lli->lli_posix_acl); in ll_get_acl()
3101 return acl; in ll_get_acl()
/linux-4.1.27/net/bluetooth/
Dhci_conn.c531 struct hci_conn *acl = conn->link; in hci_conn_del() local
532 if (acl) { in hci_conn_del()
533 acl->link = NULL; in hci_conn_del()
534 hci_conn_drop(acl); in hci_conn_del()
865 struct hci_conn *acl; in hci_connect_acl() local
874 acl = hci_conn_hash_lookup_ba(hdev, ACL_LINK, dst); in hci_connect_acl()
875 if (!acl) { in hci_connect_acl()
876 acl = hci_conn_add(hdev, ACL_LINK, dst, HCI_ROLE_MASTER); in hci_connect_acl()
877 if (!acl) in hci_connect_acl()
881 hci_conn_hold(acl); in hci_connect_acl()
[all …]
Dhci_event.c1547 struct hci_conn *acl, *sco; in hci_cs_add_sco() local
1565 acl = hci_conn_hash_lookup_handle(hdev, handle); in hci_cs_add_sco()
1566 if (acl) { in hci_cs_add_sco()
1567 sco = acl->link; in hci_cs_add_sco()
1839 struct hci_conn *acl, *sco; in hci_cs_setup_sync_conn() local
1857 acl = hci_conn_hash_lookup_handle(hdev, handle); in hci_cs_setup_sync_conn()
1858 if (acl) { in hci_cs_setup_sync_conn()
1859 sco = acl->link; in hci_cs_setup_sync_conn()
/linux-4.1.27/drivers/net/wireless/prism54/
Disl_ioctl.c350 if ((*uwrq == IW_MODE_MASTER) && (priv->acl.policy != MAC_POLICY_OPEN)) in prism54_set_mode()
1783 prism54_acl_init(struct islpci_acl *acl) in prism54_acl_init() argument
1785 mutex_init(&acl->lock); in prism54_acl_init()
1786 INIT_LIST_HEAD(&acl->mac_list); in prism54_acl_init()
1787 acl->size = 0; in prism54_acl_init()
1788 acl->policy = MAC_POLICY_OPEN; in prism54_acl_init()
1792 prism54_clear_mac(struct islpci_acl *acl) in prism54_clear_mac() argument
1797 mutex_lock(&acl->lock); in prism54_clear_mac()
1799 if (acl->size == 0) { in prism54_clear_mac()
1800 mutex_unlock(&acl->lock); in prism54_clear_mac()
[all …]
Dislpci_dev.h106 struct islpci_acl acl; member
Dislpci_dev.c718 prism54_acl_init(&priv->acl); in islpci_alloc_memory()
777 prism54_acl_clean(&priv->acl); in islpci_free_memory()
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_mrmw.h54 int acl,
82 int acl,
94 int acl,
Dehca_mrmw.c530 new_acl = e_mr->acl; in ehca_rereg_phys_mr()
628 ehca_mrmw_reverse_map_acl(&hipzout.acl, &mr_attr->mr_access_flags); in ehca_query_mr()
904 e_fmr->acl, e_pd, &pginfo, &tmp_lkey, &tmp_rkey); in ehca_map_phys_fmr()
1025 int acl, in ehca_reg_mr() argument
1037 ehca_mrmw_map_acl(acl, &hipz_acl); in ehca_reg_mr()
1070 e_mr->acl = acl; in ehca_reg_mr()
1081 h_ret, shca, e_mr, iova_start, size, acl, e_pd, in ehca_reg_mr()
1092 ret, shca, e_mr, iova_start, size, acl, e_pd, pginfo, in ehca_reg_mr()
1201 u32 acl, in ehca_rereg_mr_rereg1() argument
1215 ehca_mrmw_map_acl(acl, &hipz_acl); in ehca_rereg_mr_rereg1()
[all …]
Dehca_classes.h278 int acl; /* ACL (stored here for usage in reregister) */ member
343 u32 acl; member
Dhcp_if.c809 outparms->acl = outs[4] >> 32; in hipz_h_query_mr()
/linux-4.1.27/drivers/net/ethernet/rocker/
Drocker.c112 } acl; member
1936 entry->key.acl.in_pport)) in rocker_cmd_flow_tbl_add_acl()
1939 entry->key.acl.in_pport_mask)) in rocker_cmd_flow_tbl_add_acl()
1942 ETH_ALEN, entry->key.acl.eth_src)) in rocker_cmd_flow_tbl_add_acl()
1945 ETH_ALEN, entry->key.acl.eth_src_mask)) in rocker_cmd_flow_tbl_add_acl()
1948 ETH_ALEN, entry->key.acl.eth_dst)) in rocker_cmd_flow_tbl_add_acl()
1951 ETH_ALEN, entry->key.acl.eth_dst_mask)) in rocker_cmd_flow_tbl_add_acl()
1954 entry->key.acl.eth_type)) in rocker_cmd_flow_tbl_add_acl()
1957 entry->key.acl.vlan_id)) in rocker_cmd_flow_tbl_add_acl()
1960 entry->key.acl.vlan_id_mask)) in rocker_cmd_flow_tbl_add_acl()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
DMakefile9 cl_page.o cl_lock.o cl_io.o lu_ref.o acl.o
/linux-4.1.27/Documentation/filesystems/
Dext3.txt80 attr(5) manual page and http://acl.bestbits.at/ to
85 acl Enables POSIX Access Control Lists support.
88 See the acl(5) manual page and http://acl.bestbits.at/
Dbtrfs.txt144 acl(*)
147 acl(5) manual page for more information about ACLs.
Docfs2.txt87 acl Enables POSIX Access Control Lists support.
Dext4.txt205 attr(5) manual page and http://acl.bestbits.at/
211 enabled by default on mount. See the acl(5) manual
212 page and http://acl.bestbits.at/ for more information
213 about acl.
Dext2.txt52 See also http://acl.bestbits.at
55 acl Enable POSIX Access Control Lists support
57 See also http://acl.bestbits.at
Df2fs.txt117 noacl Disable POSIX Access Control List. Note: acl is enabled
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c471 struct posix_acl *acl; in mdc_unpack_acl() local
483 acl = posix_acl_from_xattr(&init_user_ns, buf, body->aclsize); in mdc_unpack_acl()
484 if (acl == NULL) in mdc_unpack_acl()
487 if (IS_ERR(acl)) { in mdc_unpack_acl()
488 rc = PTR_ERR(acl); in mdc_unpack_acl()
493 rc = posix_acl_valid(acl); in mdc_unpack_acl()
496 posix_acl_release(acl); in mdc_unpack_acl()
500 md->posix_acl = acl; in mdc_unpack_acl()
/linux-4.1.27/include/uapi/linux/
Dnvme.h57 __u8 acl; member
/linux-4.1.27/net/wireless/
Dnl80211.c3116 struct cfg80211_acl_data *acl; in parse_acl_data() local
3140 acl = kzalloc(sizeof(*acl) + (sizeof(struct mac_address) * n_entries), in parse_acl_data()
3142 if (!acl) in parse_acl_data()
3146 memcpy(acl->mac_addrs[i].addr, nla_data(attr), ETH_ALEN); in parse_acl_data()
3150 acl->n_acl_entries = n_entries; in parse_acl_data()
3151 acl->acl_policy = acl_policy; in parse_acl_data()
3153 return acl; in parse_acl_data()
3160 struct cfg80211_acl_data *acl; in nl80211_set_mac_acl() local
3170 acl = parse_acl_data(&rdev->wiphy, info); in nl80211_set_mac_acl()
3171 if (IS_ERR(acl)) in nl80211_set_mac_acl()
[all …]
/linux-4.1.27/fs/cifs/
DKconfig102 <http://acl.bestbits.at/> for details). CIFS maps the name of
/linux-4.1.27/Documentation/filesystems/cifs/
DCHANGES110 Fix endian problems in acl (mode from/to cifs acl) on bigendian
459 the server (add also acl and noacl mount options).
DREADME463 acl Allow setfacl and getfacl to manage posix ACLs if server
/linux-4.1.27/include/net/
Dcfg80211.h731 const struct cfg80211_acl_data *acl; member
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h2937 } acl; member
/linux-4.1.27/drivers/block/
Dnvme-core.c2311 dev->abort_limit = ctrl->acl + 1; in nvme_dev_add()