Home
last modified time | relevance | path

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

/linux-4.4.14/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
DMakefile16 9p-$(CONFIG_9P_FS_POSIX_ACL) += acl.o
DKconfig29 Linux website <http://acl.bestbits.at/>.
/linux-4.4.14/drivers/target/
Dtarget_core_tpg.c59 struct se_node_acl *acl; in __core_tpg_get_initiator_node_acl() local
61 list_for_each_entry(acl, &tpg->acl_node_list, acl_list) { in __core_tpg_get_initiator_node_acl()
62 if (!strcmp(acl->initiatorname, initiatorname)) in __core_tpg_get_initiator_node_acl()
63 return acl; in __core_tpg_get_initiator_node_acl()
77 struct se_node_acl *acl; in core_tpg_get_initiator_node_acl() local
80 acl = __core_tpg_get_initiator_node_acl(tpg, initiatorname); in core_tpg_get_initiator_node_acl()
83 return acl; in core_tpg_get_initiator_node_acl()
108 struct se_node_acl *acl, in core_tpg_add_node_to_devs() argument
148 lun_access, acl, tpg); in core_tpg_add_node_to_devs()
154 core_scsi3_check_aptpl_registration(dev, tpg, lun, acl, in core_tpg_add_node_to_devs()
[all …]
Dtarget_core_device.c575 struct se_node_acl *acl; in core_dev_add_lun() local
578 list_for_each_entry(acl, &tpg->acl_node_list, acl_list) { in core_dev_add_lun()
579 if (acl->dynamic_node_acl && in core_dev_add_lun()
582 core_tpg_add_node_to_devs(acl, tpg, lun); in core_dev_add_lun()
Dtarget_core_internal.h126 void core_tpg_del_initiator_node_acl(struct se_node_acl *acl);
/linux-4.4.14/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 …]
DKconfig147 Linux website <http://acl.bestbits.at/>.
156 <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.4.14/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.4.14/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.4.14/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.4.14/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.h4301 int btrfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.4.14/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 …]
Dacl.h40 extern int f2fs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
DMakefile8 f2fs-$(CONFIG_F2FS_FS_POSIX_ACL) += acl.o
DKconfig37 <http://acl.bestbits.at/> for details).
51 Linux website <http://acl.bestbits.at/>.
/linux-4.4.14/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
DKconfig85 Linux website <http://acl.bestbits.at/>.
/linux-4.4.14/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.h813 void *acl; member
820 int ceph_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.4.14/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.c423 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) { in jfs_rmdir()
425 txEA(tid, ip, &JFS_IP(ip)->acl, NULL); in jfs_rmdir()
427 JFS_IP(ip)->acl.flag = 0; in jfs_rmdir()
677 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) in commitZeroLink()
679 txEA(tid, ip, &JFS_IP(ip)->acl, NULL); in commitZeroLink()
751 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) { in jfs_free_zero_link()
752 s64 xaddr = addressDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link()
753 int xlen = lengthDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link()
757 invalidate_dxd_metapages(ip, JFS_IP(ip)->acl); in jfs_free_zero_link()
DMakefile14 jfs-$(CONFIG_JFS_POSIX_ACL) += acl.o
Djfs_inode.c141 memset(&jfs_inode->acl, 0, sizeof(dxd_t)); in ialloc()
DKconfig20 Linux website <http://acl.bestbits.at/>.
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.4.14/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.4.14/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.4.14/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.c599 struct iscsi_node_acl *acl = iscsi_stat_nacl(item); in iscsi_stat_sess_inst_show() local
600 struct se_wwn *wwn = acl->se_node_acl.se_tpg->se_tpg_wwn; in iscsi_stat_sess_inst_show()
609 struct iscsi_node_acl *acl = iscsi_stat_nacl(item); in iscsi_stat_sess_node_show() local
610 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_node_show()
630 struct iscsi_node_acl *acl = iscsi_stat_nacl(item); in iscsi_stat_sess_indx_show() local
631 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_indx_show()
652 struct iscsi_node_acl *acl = iscsi_stat_nacl(item); in iscsi_stat_sess_cmd_pdus_show() local
653 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_cmd_pdus_show()
674 struct iscsi_node_acl *acl = iscsi_stat_nacl(item); in iscsi_stat_sess_rsp_pdus_show() local
675 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_rsp_pdus_show()
[all …]
Discsi_target_configfs.c775 struct iscsi_node_acl *acl = in lio_target_init_nodeacl() local
787 stats_cg->default_groups[0] = &acl->node_stat_grps.iscsi_sess_stats_group; in lio_target_init_nodeacl()
789 config_group_init_type_name(&acl->node_stat_grps.iscsi_sess_stats_group, in lio_target_init_nodeacl()
797 struct iscsi_node_acl *acl = container_of(se_nacl, in lio_target_cleanup_nodeacl() local
803 stats_cg = &acl->se_node_acl.acl_fabric_stat_group; in lio_target_cleanup_nodeacl()
1656 struct iscsi_node_acl *acl = container_of(se_acl, struct iscsi_node_acl, in lio_set_default_node_attributes() local
1662 acl->node_attrib.nacl = acl; in lio_set_default_node_attributes()
1663 iscsit_set_default_node_attribues(acl, tpg); in lio_set_default_node_attributes()
Discsi_target_tpg.c406 struct iscsi_node_acl *acl = container_of(se_nacl, struct iscsi_node_acl, in iscsit_tpg_get_node_attrib() local
409 return &acl->node_attrib; in iscsit_tpg_get_node_attrib()
/linux-4.4.14/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.4.14/fs/xfs/
Dxfs_acl.c45 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()
88 return acl; in xfs_acl_from_disk()
91 posix_acl_release(acl); in xfs_acl_from_disk()
96 xfs_acl_to_disk(struct xfs_acl *aclp, const struct posix_acl *acl) in xfs_acl_to_disk() argument
102 aclp->acl_cnt = cpu_to_be32(acl->a_count); in xfs_acl_to_disk()
103 for (i = 0; i < acl->a_count; i++) { in xfs_acl_to_disk()
105 acl_e = &acl->a_entries[i]; in xfs_acl_to_disk()
[all …]
Dxfs_acl.h26 extern int xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
Dxfs_iops.c136 struct posix_acl *default_acl, *acl; in xfs_generic_create() local
152 error = posix_acl_create(dir, &mode, &default_acl, &acl); in xfs_generic_create()
177 if (acl) { in xfs_generic_create()
178 error = xfs_set_acl(inode, acl, ACL_TYPE_ACCESS); in xfs_generic_create()
194 if (acl) in xfs_generic_create()
195 posix_acl_release(acl); in xfs_generic_create()
DKconfig51 Linux website <http://acl.bestbits.at/>.
/linux-4.4.14/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);
Dnvme.h113 __u8 acl; member
/linux-4.4.14/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.4.14/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.c2349 struct posix_acl **acl; in decode_getacl3resok() local
2366 acl = NULL; in decode_getacl3resok()
2368 acl = &result->acl_access; in decode_getacl3resok()
2372 error = nfsacl_decode(xdr->buf, hdrlen, aclcnt, acl); in decode_getacl3resok()
2376 acl = NULL; in decode_getacl3resok()
2378 acl = &result->acl_default; in decode_getacl3resok()
2382 error = nfsacl_decode(xdr->buf, hdrlen + error, aclcnt, acl); in decode_getacl3resok()
Dnfs4proc.c4640 static void nfs4_set_cached_acl(struct inode *inode, struct nfs4_cached_acl *acl) in nfs4_set_cached_acl() argument
4646 nfsi->nfs4_acl = acl; in nfs4_set_cached_acl()
4658 struct nfs4_cached_acl *acl; in nfs4_read_cached_acl() local
4662 acl = nfsi->nfs4_acl; in nfs4_read_cached_acl()
4663 if (acl == NULL) in nfs4_read_cached_acl()
4667 if (acl->cached == 0) in nfs4_read_cached_acl()
4670 if (acl->len > buflen) in nfs4_read_cached_acl()
4672 memcpy(buf, acl->data, acl->len); in nfs4_read_cached_acl()
4674 ret = acl->len; in nfs4_read_cached_acl()
4682 struct nfs4_cached_acl *acl; in nfs4_write_cached_acl() local
[all …]
/linux-4.4.14/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.4.14/drivers/target/tcm_fc/
Dtfc_conf.c135 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_port_name_show() local
138 return ft_wwn_show(&acl->node_auth.port_name, page); in ft_nacl_port_name_show()
145 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_port_name_store() local
148 return ft_wwn_store(&acl->node_auth.port_name, page, count); in ft_nacl_port_name_store()
155 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_node_name_show() local
158 return ft_wwn_show(&acl->node_auth.node_name, page); in ft_nacl_node_name_show()
165 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_node_name_store() local
168 return ft_wwn_store(&acl->node_auth.node_name, page, count); in ft_nacl_node_name_store()
190 struct ft_node_acl *acl = in ft_init_nodeacl() local
197 acl->node_auth.port_name = wwpn; in ft_init_nodeacl()
[all …]
Dtfc_sess.c194 struct ft_node_acl *acl) in ft_sess_create() argument
215 sess->se_sess->se_node_acl = &acl->se_node_acl; in ft_sess_create()
224 transport_register_session(&tport->tpg->se_tpg, &acl->se_node_acl, in ft_sess_create()
346 struct ft_node_acl *acl; in ft_prli_locked() local
353 acl = ft_acl_get(tport->tpg, rdata); in ft_prli_locked()
354 if (!acl) in ft_prli_locked()
378 sess = ft_sess_create(tport, rdata->ids.port_id, acl); in ft_prli_locked()
/linux-4.4.14/fs/nfsd/
Dnfs4acl.c130 struct nfs4_acl **acl) in nfsd4_get_nfs4_acl() argument
160 *acl = kmalloc(nfs4_acl_bytes(size), GFP_KERNEL); in nfsd4_get_nfs4_acl()
161 if (*acl == NULL) { in nfsd4_get_nfs4_acl()
165 (*acl)->naces = 0; in nfsd4_get_nfs4_acl()
167 _posix_to_nfsv4_one(pacl, *acl, flags & ~NFS4_ACL_TYPE_DEFAULT); in nfsd4_get_nfs4_acl()
170 _posix_to_nfsv4_one(dpacl, *acl, flags | NFS4_ACL_TYPE_DEFAULT); in nfsd4_get_nfs4_acl()
189 summarize_posix_acl(struct posix_acl *acl, struct posix_acl_summary *pas) in summarize_posix_acl() argument
201 pe = acl->a_entries + acl->a_count; in summarize_posix_acl()
203 FOREACH_ACL_ENTRY(pa, acl, pe) { in summarize_posix_acl()
233 _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.c287 struct iattr *iattr, struct nfs4_acl **acl, in nfsd4_decode_fattr() argument
318 *acl = svcxdr_tmpalloc(argp, nfs4_acl_bytes(nace)); in nfsd4_decode_fattr()
319 if (*acl == NULL) in nfsd4_decode_fattr()
322 (*acl)->naces = nace; in nfsd4_decode_fattr()
323 for (ace = (*acl)->aces; ace < (*acl)->aces + nace; ace++) { in nfsd4_decode_fattr()
346 *acl = NULL; in nfsd4_decode_fattr()
2290 struct nfs4_acl *acl = NULL; in nfsd4_encode_fattr() local
2336 err = nfsd4_get_nfs4_acl(rqstp, dentry, &acl); in nfsd4_encode_fattr()
2493 if (acl == NULL) { in nfsd4_encode_fattr()
2504 *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.4.14/drivers/staging/lustre/lustre/llite/
Dxattr.c117 ext_acl_xattr_header *acl = NULL; in ll_setxattr_common() local
163 acl = lustre_acl_xattr_merge2ext( in ll_setxattr_common()
166 if (IS_ERR(acl)) { in ll_setxattr_common()
168 return PTR_ERR(acl); in ll_setxattr_common()
171 le32_to_cpu(acl->a_count), \ in ll_setxattr_common()
173 pv = (const char *)acl; in ll_setxattr_common()
197 if (acl != NULL) in ll_setxattr_common()
198 lustre_ext_acl_xattr_free(acl); in ll_setxattr_common()
340 struct posix_acl *acl; in ll_getxattr_common() local
343 acl = posix_acl_dup(lli->lli_posix_acl); in ll_getxattr_common()
[all …]
Dfile.c3056 struct posix_acl *acl = NULL; in ll_get_acl() local
3060 acl = posix_acl_dup(lli->lli_posix_acl); in ll_get_acl()
3063 return acl; in ll_get_acl()
/linux-4.4.14/net/bluetooth/
Dhci_conn.c590 struct hci_conn *acl = conn->link; in hci_conn_del() local
591 if (acl) { in hci_conn_del()
592 acl->link = NULL; in hci_conn_del()
593 hci_conn_drop(acl); in hci_conn_del()
1076 struct hci_conn *acl; in hci_connect_acl() local
1085 acl = hci_conn_hash_lookup_ba(hdev, ACL_LINK, dst); in hci_connect_acl()
1086 if (!acl) { in hci_connect_acl()
1087 acl = hci_conn_add(hdev, ACL_LINK, dst, HCI_ROLE_MASTER); in hci_connect_acl()
1088 if (!acl) in hci_connect_acl()
1092 hci_conn_hold(acl); in hci_connect_acl()
[all …]
Dhci_event.c1498 struct hci_conn *acl, *sco; in hci_cs_add_sco() local
1516 acl = hci_conn_hash_lookup_handle(hdev, handle); in hci_cs_add_sco()
1517 if (acl) { in hci_cs_add_sco()
1518 sco = acl->link; in hci_cs_add_sco()
1790 struct hci_conn *acl, *sco; in hci_cs_setup_sync_conn() local
1808 acl = hci_conn_hash_lookup_handle(hdev, handle); in hci_cs_setup_sync_conn()
1809 if (acl) { in hci_cs_setup_sync_conn()
1810 sco = acl->link; in hci_cs_setup_sync_conn()
/linux-4.4.14/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.4.14/drivers/staging/rdma/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.4.14/drivers/net/ethernet/rocker/
Drocker.c112 } acl; member
2055 entry->key.acl.in_pport)) in rocker_cmd_flow_tbl_add_acl()
2058 entry->key.acl.in_pport_mask)) in rocker_cmd_flow_tbl_add_acl()
2061 ETH_ALEN, entry->key.acl.eth_src)) in rocker_cmd_flow_tbl_add_acl()
2064 ETH_ALEN, entry->key.acl.eth_src_mask)) in rocker_cmd_flow_tbl_add_acl()
2067 ETH_ALEN, entry->key.acl.eth_dst)) in rocker_cmd_flow_tbl_add_acl()
2070 ETH_ALEN, entry->key.acl.eth_dst_mask)) in rocker_cmd_flow_tbl_add_acl()
2073 entry->key.acl.eth_type)) in rocker_cmd_flow_tbl_add_acl()
2076 entry->key.acl.vlan_id)) in rocker_cmd_flow_tbl_add_acl()
2079 entry->key.acl.vlan_id_mask)) in rocker_cmd_flow_tbl_add_acl()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
DMakefile9 cl_page.o cl_lock.o cl_io.o lu_ref.o acl.o lprocfs_counters.o
/linux-4.4.14/include/target/
Dtarget_core_fabric.h168 void core_allocate_nexus_loss_ua(struct se_node_acl *acl);
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c414 struct posix_acl *acl; in mdc_unpack_acl() local
426 acl = posix_acl_from_xattr(&init_user_ns, buf, body->aclsize); in mdc_unpack_acl()
427 if (acl == NULL) in mdc_unpack_acl()
430 if (IS_ERR(acl)) { in mdc_unpack_acl()
431 rc = PTR_ERR(acl); in mdc_unpack_acl()
436 rc = posix_acl_valid(acl); in mdc_unpack_acl()
439 posix_acl_release(acl); in mdc_unpack_acl()
443 md->posix_acl = acl; in mdc_unpack_acl()
/linux-4.4.14/Documentation/filesystems/
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.txt118 noacl Disable POSIX Access Control List. Note: acl is enabled
/linux-4.4.14/net/wireless/
Dnl80211.c3141 struct cfg80211_acl_data *acl; in parse_acl_data() local
3165 acl = kzalloc(sizeof(*acl) + (sizeof(struct mac_address) * n_entries), in parse_acl_data()
3167 if (!acl) in parse_acl_data()
3171 memcpy(acl->mac_addrs[i].addr, nla_data(attr), ETH_ALEN); in parse_acl_data()
3175 acl->n_acl_entries = n_entries; in parse_acl_data()
3176 acl->acl_policy = acl_policy; in parse_acl_data()
3178 return acl; in parse_acl_data()
3185 struct cfg80211_acl_data *acl; in nl80211_set_mac_acl() local
3195 acl = parse_acl_data(&rdev->wiphy, info); in nl80211_set_mac_acl()
3196 if (IS_ERR(acl)) in nl80211_set_mac_acl()
[all …]
/linux-4.4.14/fs/cifs/
DKconfig102 <http://acl.bestbits.at/> for details). CIFS maps the name of
/linux-4.4.14/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.4.14/include/net/
Dcfg80211.h732 const struct cfg80211_acl_data *acl; member
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h2993 } acl; member
/linux-4.4.14/drivers/nvme/host/
Dpci.c2634 dev->abort_limit = ctrl->acl + 1; in nvme_dev_add()