Home
last modified time | relevance | path

Searched refs:nacl (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/target/
A Dtarget_core_device.c103 nacl->initiatorname); in transport_lookup_cmd_lun()
173 nacl->initiatorname); in transport_lookup_tmr_lun()
204 struct se_node_acl *nacl, in core_get_se_deve_from_rtpi() argument
234 struct se_node_acl *nacl, in core_free_device_list_for_node() argument
248 struct se_node_acl *nacl) in core_update_device_list_access() argument
321 struct se_node_acl *nacl, in core_enable_device_list_for_node() argument
402 struct se_node_acl *nacl, in core_disable_device_list_for_node() argument
458 struct se_node_acl *nacl; in core_clear_lun_from_tpg() local
599 if (!nacl) in core_dev_add_initiator_node_lun_acl()
615 nacl->initiatorname); in core_dev_add_initiator_node_lun_acl()
[all …]
A Dtarget_core_fabric_lib.c36 struct se_node_acl *nacl, in sas_get_pr_transport_id() argument
43 ret = hex2bin(&buf[4], &nacl->initiatorname[4], 8); in sas_get_pr_transport_id()
85 struct se_node_acl *nacl, in sbp_get_pr_transport_id() argument
91 ret = hex2bin(&buf[8], nacl->initiatorname, 8); in sbp_get_pr_transport_id()
101 struct se_node_acl *nacl, in srp_get_pr_transport_id() argument
109 p = nacl->initiatorname; in srp_get_pr_transport_id()
348 switch (nacl->se_tpg->proto_id) { in target_get_pr_transport_id_len()
368 int target_get_pr_transport_id(struct se_node_acl *nacl, in target_get_pr_transport_id() argument
372 switch (nacl->se_tpg->proto_id) { in target_get_pr_transport_id()
374 return sas_get_pr_transport_id(nacl, format_code, buf); in target_get_pr_transport_id()
[all …]
A Dtarget_core_ua.c30 struct se_node_acl *nacl; in target_scsi3_ua_check() local
35 nacl = sess->se_node_acl; in target_scsi3_ua_check()
36 if (!nacl) in target_scsi3_ua_check()
161 if (!nacl) in target_ua_allocate_lun()
199 struct se_node_acl *nacl; in core_scsi3_ua_for_check_condition() local
208 nacl = sess->se_node_acl; in core_scsi3_ua_for_check_condition()
209 if (WARN_ON_ONCE(!nacl)) in core_scsi3_ua_for_check_condition()
258 nacl->se_tpg->se_tpg_tfo->fabric_name, in core_scsi3_ua_for_check_condition()
273 struct se_node_acl *nacl; in core_scsi3_ua_clear_for_request_sense() local
280 nacl = sess->se_node_acl; in core_scsi3_ua_clear_for_request_sense()
[all …]
A Dtarget_core_stat.c866 tpg = nacl->se_tpg; in target_stat_auth_inst_show()
910 tpg = nacl->se_tpg; in target_stat_auth_port_show()
1205 tpg = nacl->se_tpg; in target_stat_iport_inst_show()
1249 tpg = nacl->se_tpg; in target_stat_iport_port_show()
1265 spin_lock_irq(&nacl->nacl_sess_lock); in target_stat_iport_indx_show()
1266 se_sess = nacl->nacl_sess; in target_stat_iport_indx_show()
1272 tpg = nacl->se_tpg; in target_stat_iport_indx_show()
1276 spin_unlock_irq(&nacl->nacl_sess_lock); in target_stat_iport_indx_show()
1310 spin_lock_irq(&nacl->nacl_sess_lock); in target_stat_iport_port_ident_show()
1311 se_sess = nacl->nacl_sess; in target_stat_iport_port_ident_show()
[all …]
A Dtarget_core_pr.c618 struct se_node_acl *nacl, in __core_scsi3_do_alloc_registration() argument
693 struct se_node_acl *nacl, in __core_scsi3_alloc_registration() argument
749 if (nacl == nacl_tmp) in __core_scsi3_alloc_registration()
924 struct se_node_acl *nacl, in __core_scsi3_check_aptpl_registration() argument
985 nacl, pr_reg); in __core_scsi3_check_aptpl_registration()
1003 struct se_node_acl *nacl, in core_scsi3_check_aptpl_registration() argument
1017 struct se_node_acl *nacl, in __core_scsi3_dump_registration() argument
1046 struct se_node_acl *nacl, in __core_scsi3_add_registration() argument
1127 struct se_node_acl *nacl, in core_scsi3_alloc_registration() argument
1153 struct se_node_acl *nacl, in __core_scsi3_locate_pr_reg() argument
[all …]
A Dtarget_core_tpg.c85 struct se_node_acl *nacl) in core_allocate_nexus_loss_ua() argument
89 if (!nacl) in core_allocate_nexus_loss_ua()
93 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) in core_allocate_nexus_loss_ua()
283 void core_tpg_wait_for_nacl_pr_ref(struct se_node_acl *nacl) in core_tpg_wait_for_nacl_pr_ref() argument
285 while (atomic_read(&nacl->acl_pr_ref_count) != 0) in core_tpg_wait_for_nacl_pr_ref()
569 struct se_node_acl *nacl, *nacl_tmp; in core_tpg_deregister() local
588 list_for_each_entry_safe(nacl, nacl_tmp, &node_list, acl_list) { in core_tpg_deregister()
589 list_del_init(&nacl->acl_list); in core_tpg_deregister()
591 core_tpg_wait_for_nacl_pr_ref(nacl); in core_tpg_deregister()
592 core_free_device_list_for_node(nacl, se_tpg); in core_tpg_deregister()
[all …]
A Dtarget_core_internal.h101 int target_get_pr_transport_id_len(struct se_node_acl *nacl,
103 int target_get_pr_transport_id(struct se_node_acl *nacl,
A Dtarget_core_transport.c542 struct se_node_acl *nacl = container_of(kref, in target_complete_nacl() local
544 struct se_portal_group *se_tpg = nacl->se_tpg; in target_complete_nacl()
546 if (!nacl->dynamic_stop) { in target_complete_nacl()
547 complete(&nacl->acl_free_comp); in target_complete_nacl()
552 list_del_init(&nacl->acl_list); in target_complete_nacl()
555 core_tpg_wait_for_nacl_pr_ref(nacl); in target_complete_nacl()
556 core_free_device_list_for_node(nacl, se_tpg); in target_complete_nacl()
557 kfree(nacl); in target_complete_nacl()
560 void target_put_nacl(struct se_node_acl *nacl) in target_put_nacl() argument
562 kref_put(&nacl->acl_kref, target_complete_nacl); in target_put_nacl()
A Dtarget_core_xcopy.c75 struct se_node_acl *nacl; in target_xcopy_locate_se_dev_e4() local
86 nacl = sess->se_node_acl; in target_xcopy_locate_se_dev_e4()
88 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in target_xcopy_locate_se_dev_e4()
A Dtarget_core_spc.c1241 struct se_node_acl *nacl; in spc_emulate_report_luns() local
1259 nacl = sess->se_node_acl; in spc_emulate_report_luns()
1262 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in spc_emulate_report_luns()
A Dtarget_core_alua.c275 struct se_node_acl *nacl = cmd->se_sess->se_node_acl; in target_emulate_set_target_port_groups() local
377 dev, l_lun, nacl, in target_emulate_set_target_port_groups()
/linux/drivers/scsi/qla2xxx/
A Dtcm_qla2xxx.c809 se_nacl, nacl->nport_wwnn, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
1149 if (!nacl->fc_port) { in tcm_qla2xxx_find_sess_by_s_id()
1154 return nacl->fc_port; in tcm_qla2xxx_find_sess_by_s_id()
1179 nacl->nport_id = key; in tcm_qla2xxx_set_sess_by_s_id()
1194 if (nacl->fc_port) { in tcm_qla2xxx_set_sess_by_s_id()
1198 nacl->fc_port = NULL; in tcm_qla2xxx_set_sess_by_s_id()
1254 if (!nacl->fc_port) { in tcm_qla2xxx_find_sess_by_loop_id()
1259 return nacl->fc_port; in tcm_qla2xxx_find_sess_by_loop_id()
1292 if (nacl->fc_port) { in tcm_qla2xxx_set_sess_by_loop_id()
1296 nacl->fc_port = NULL; in tcm_qla2xxx_set_sess_by_loop_id()
[all …]
/linux/drivers/target/iscsi/
A Discsi_target_configfs.c299 ret = iscsit_na_##name(nacl, val); \
340 nacl->node_attrib.authentication = val; in iscsi_nacl_attrib_authentication_store()
366 struct iscsi_node_acl *nacl, \
369 struct iscsi_node_auth *auth = &nacl->node_auth; \
377 struct iscsi_node_acl *nacl, \
381 struct iscsi_node_auth *auth = &nacl->node_auth; \
407 struct se_node_acl *nacl = auth_to_nacl(item); \
413 struct se_node_acl *nacl = auth_to_nacl(item); \
430 struct iscsi_node_acl *nacl, \
446 struct se_node_acl *nacl = auth_to_nacl(item); \
[all …]
A Discsi_target_nodeattrib.c20 struct iscsi_node_acl *nacl) in iscsit_na_get_initiatorname() argument
22 struct se_node_acl *se_nacl = &nacl->se_node_acl; in iscsit_na_get_initiatorname()
102 struct se_node_acl *se_nacl = &a->nacl->se_node_acl; in iscsit_na_nopin_timeout()
A Discsi_target_nego.c104 struct iscsi_node_acl *nacl; in iscsi_get_node_auth() local
121 nacl = to_iscsi_nacl(se_nacl); in iscsi_get_node_auth()
123 return &nacl->node_auth; in iscsi_get_node_auth()
813 struct iscsi_node_acl *nacl; in iscsi_conn_auth_required() local
840 nacl = to_iscsi_nacl(se_nacl); in iscsi_conn_auth_required()
841 if (nacl->node_attrib.authentication == NA_AUTHENTICATION_INHERITED) in iscsi_conn_auth_required()
844 return nacl->node_attrib.authentication; in iscsi_conn_auth_required()
/linux/drivers/target/tcm_fc/
A Dtfc_conf.c202 static int ft_init_nodeacl(struct se_node_acl *nacl, const char *name) in ft_init_nodeacl() argument
205 container_of(nacl, struct ft_node_acl, se_node_acl); in ft_init_nodeacl()
/linux/include/target/
A Dtarget_core_fabric.h160 void target_spc2_release(struct se_node_acl *nacl);
/linux/drivers/scsi/elx/efct/
A Defct_lio.c1002 struct efct_lio_nacl *nacl; in efct_lio_init_nodeacl() local
1008 nacl = container_of(se_nacl, struct efct_lio_nacl, se_node_acl); in efct_lio_init_nodeacl()
1009 nacl->nport_wwnn = wwnn; in efct_lio_init_nodeacl()
1011 efct_format_wwn(nacl->nport_name, sizeof(nacl->nport_name), "", wwnn); in efct_lio_init_nodeacl()
/linux/include/target/iscsi/
A Discsi_target_core.h731 struct iscsi_node_acl *nacl; member

Completed in 58 milliseconds