Home
last modified time | relevance | path

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

/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.c1248 struct se_node_acl *acl; in core_dev_add_lun() local
1250 list_for_each_entry(acl, &tpg->acl_node_list, acl_list) { in core_dev_add_lun()
1251 if (acl->dynamic_node_acl && in core_dev_add_lun()
1255 core_tpg_add_node_to_devs(acl, tpg); in core_dev_add_lun()
/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.c872 struct iscsi_node_acl *acl; in lio_tpg_alloc_fabric_acl() local
874 acl = kzalloc(sizeof(struct iscsi_node_acl), GFP_KERNEL); in lio_tpg_alloc_fabric_acl()
875 if (!acl) { in lio_tpg_alloc_fabric_acl()
880 return &acl->se_node_acl; in lio_tpg_alloc_fabric_acl()
889 struct iscsi_node_acl *acl; in lio_target_make_nodeacl() local
909 acl = container_of(se_nacl, struct iscsi_node_acl, se_node_acl); in lio_target_make_nodeacl()
918 kfree(acl); in lio_target_make_nodeacl()
922 stats_cg->default_groups[0] = &acl->node_stat_grps.iscsi_sess_stats_group; in lio_target_make_nodeacl()
924 config_group_init_type_name(&acl->node_stat_grps.iscsi_sess_stats_group, in lio_target_make_nodeacl()
934 struct iscsi_node_acl *acl = container_of(se_nacl, in lio_target_drop_nodeacl() local
[all …]
Discsi_target_tpg.c409 struct iscsi_node_acl *acl = container_of(se_nacl, struct iscsi_node_acl, in iscsit_tpg_get_node_attrib() local
412 return &acl->node_attrib; in iscsit_tpg_get_node_attrib()
/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()
/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()
344 struct posix_acl *acl; in ll_getxattr_common() local
347 acl = posix_acl_dup(lli->lli_posix_acl); in ll_getxattr_common()
[all …]
Dfile.c3099 struct posix_acl *acl = NULL; in ll_get_acl() local
3103 acl = posix_acl_dup(lli->lli_posix_acl); in ll_get_acl()
3106 return acl; in ll_get_acl()
/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()
/drivers/infiniband/hw/ehca/
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_mrmw.h54 int acl,
82 int acl,
94 int acl,
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()
/drivers/staging/lustre/lustre/obdclass/
DMakefile9 cl_page.o cl_lock.o cl_io.o lu_ref.o acl.o
/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 (IS_ERR(acl)) { in mdc_unpack_acl()
485 rc = PTR_ERR(acl); in mdc_unpack_acl()
490 rc = posix_acl_valid(acl); in mdc_unpack_acl()
493 posix_acl_release(acl); in mdc_unpack_acl()
497 md->posix_acl = acl; in mdc_unpack_acl()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h2193 } acl; member
/drivers/block/
Dnvme-core.c2246 dev->abort_limit = ctrl->acl + 1; in nvme_dev_add()