Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/target/
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()
345 int target_get_pr_transport_id_len(struct se_node_acl *nacl, in target_get_pr_transport_id_len() argument
348 switch (nacl->se_tpg->proto_id) { in target_get_pr_transport_id_len()
355 return iscsi_get_pr_transport_id_len(nacl, pr_reg, format_code); in target_get_pr_transport_id_len()
357 pr_err("Unknown proto_id: 0x%02x\n", nacl->se_tpg->proto_id); in target_get_pr_transport_id_len()
[all …]
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()
40 deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in target_scsi3_ua_check()
156 void target_ua_allocate_lun(struct se_node_acl *nacl, in target_ua_allocate_lun() argument
161 if (!nacl) in target_ua_allocate_lun()
165 deve = target_nacl_find_deve(nacl, unpacked_lun); 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()
[all …]
Dtarget_core_device.c52 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_cmd_lun() local
57 deve = target_nacl_find_deve(nacl, se_cmd->orig_fe_lun); in transport_lookup_cmd_lun()
104 nacl->initiatorname); in transport_lookup_cmd_lun()
148 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_tmr_lun() local
153 deve = target_nacl_find_deve(nacl, se_cmd->orig_fe_lun); in transport_lookup_tmr_lun()
175 nacl->initiatorname); in transport_lookup_tmr_lun()
210 struct se_node_acl *nacl, in core_get_se_deve_from_rtpi() argument
215 struct se_portal_group *tpg = nacl->se_tpg; in core_get_se_deve_from_rtpi()
218 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in core_get_se_deve_from_rtpi()
240 struct se_node_acl *nacl, in core_free_device_list_for_node() argument
[all …]
Dtarget_core_stat.c855 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_inst_show() local
861 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_inst_show()
866 tpg = nacl->se_tpg; in target_stat_auth_inst_show()
878 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_dev_show() local
883 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show()
899 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_port_show() local
905 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show()
910 tpg = nacl->se_tpg; in target_stat_auth_port_show()
921 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_indx_show() local
926 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_indx_show()
[all …]
Dtarget_core_pr.c316 struct se_node_acl *nacl = se_sess->se_node_acl; in core_scsi3_pr_seq_non_holder() local
330 se_deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in core_scsi3_pr_seq_non_holder()
617 struct se_node_acl *nacl, in __core_scsi3_do_alloc_registration() argument
640 pr_reg->pr_reg_nacl = nacl; in __core_scsi3_do_alloc_registration()
653 pr_reg->pr_reg_deve = target_nacl_find_deve(nacl, mapped_lun); in __core_scsi3_do_alloc_registration()
657 nacl->initiatorname, mapped_lun); in __core_scsi3_do_alloc_registration()
692 struct se_node_acl *nacl, in __core_scsi3_alloc_registration() argument
705 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_alloc_registration()
712 pr_reg = __core_scsi3_do_alloc_registration(dev, nacl, lun, deve, mapped_lun, in __core_scsi3_alloc_registration()
748 if (nacl == nacl_tmp) in __core_scsi3_alloc_registration()
[all …]
Dtarget_core_tpg.c84 struct se_node_acl *nacl) in core_allocate_nexus_loss_ua() argument
88 if (!nacl) in core_allocate_nexus_loss_ua()
92 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) in core_allocate_nexus_loss_ua()
282 void core_tpg_wait_for_nacl_pr_ref(struct se_node_acl *nacl) in core_tpg_wait_for_nacl_pr_ref() argument
284 while (atomic_read(&nacl->acl_pr_ref_count) != 0) in core_tpg_wait_for_nacl_pr_ref()
506 struct se_node_acl *nacl, *nacl_tmp; in core_tpg_deregister() local
525 list_for_each_entry_safe(nacl, nacl_tmp, &node_list, acl_list) { in core_tpg_deregister()
526 list_del_init(&nacl->acl_list); in core_tpg_deregister()
528 core_tpg_wait_for_nacl_pr_ref(nacl); in core_tpg_deregister()
529 core_free_device_list_for_node(nacl, se_tpg); in core_tpg_deregister()
[all …]
Dtarget_core_internal.h102 int target_get_pr_transport_id_len(struct se_node_acl *nacl,
104 int target_get_pr_transport_id(struct se_node_acl *nacl,
Dtarget_core_transport.c510 struct se_node_acl *nacl = container_of(kref, in target_complete_nacl() local
512 struct se_portal_group *se_tpg = nacl->se_tpg; in target_complete_nacl()
514 if (!nacl->dynamic_stop) { in target_complete_nacl()
515 complete(&nacl->acl_free_comp); in target_complete_nacl()
520 list_del_init(&nacl->acl_list); in target_complete_nacl()
523 core_tpg_wait_for_nacl_pr_ref(nacl); in target_complete_nacl()
524 core_free_device_list_for_node(nacl, se_tpg); in target_complete_nacl()
525 kfree(nacl); in target_complete_nacl()
528 void target_put_nacl(struct se_node_acl *nacl) in target_put_nacl() argument
530 kref_put(&nacl->acl_kref, target_complete_nacl); in target_put_nacl()
Dtarget_core_xcopy.c74 struct se_node_acl *nacl; in target_xcopy_locate_se_dev_e4() local
85 nacl = sess->se_node_acl; in target_xcopy_locate_se_dev_e4()
87 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in target_xcopy_locate_se_dev_e4()
Dtarget_core_spc.c1246 struct se_node_acl *nacl; in spc_emulate_report_luns() local
1264 nacl = sess->se_node_acl; in spc_emulate_report_luns()
1267 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in spc_emulate_report_luns()
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-6.1.9/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c424 static void tcm_qla2xxx_set_default_node_attrs(struct se_node_acl *nacl) in tcm_qla2xxx_set_default_node_attrs() argument
800 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, in tcm_qla2xxx_clear_nacl_from_fcport_map() local
804 pr_debug("fc_rport domain: port_id 0x%06x\n", nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
806 node = btree_remove32(&lport->lport_fcport_map, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
814 btree_insert32(&lport->lport_fcport_map, nacl->nport_id, in tcm_qla2xxx_clear_nacl_from_fcport_map()
819 se_nacl, nacl->nport_wwnn, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
829 tcm_qla2xxx_clear_sess_lookup(lport, nacl, sess); in tcm_qla2xxx_clear_nacl_from_fcport_map()
840 struct tcm_qla2xxx_nacl *nacl = in tcm_qla2xxx_init_nodeacl() local
847 nacl->nport_wwnn = wwnn; in tcm_qla2xxx_init_nodeacl()
848 tcm_qla2xxx_format_wwn(&nacl->nport_name[0], TCM_QLA2XXX_NAMELEN, wwnn); in tcm_qla2xxx_init_nodeacl()
[all …]
/linux-6.1.9/drivers/target/iscsi/
Discsi_target_configfs.c284 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); \
285 return sprintf(page, "%u\n", nacl->node_attrib.name); \
292 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); \
299 ret = iscsit_na_##name(nacl, val); \
321 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); in iscsi_nacl_attrib_authentication_show() local
323 return sprintf(page, "%d\n", nacl->node_attrib.authentication); in iscsi_nacl_attrib_authentication_show()
330 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); in iscsi_nacl_attrib_authentication_store() local
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; \
[all …]
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()
Discsi_target_nego.c103 struct iscsi_node_acl *nacl; in iscsi_get_node_auth() local
120 nacl = to_iscsi_nacl(se_nacl); in iscsi_get_node_auth()
122 return &nacl->node_auth; in iscsi_get_node_auth()
819 struct iscsi_node_acl *nacl; in iscsi_conn_auth_required() local
846 nacl = to_iscsi_nacl(se_nacl); in iscsi_conn_auth_required()
847 if (nacl->node_attrib.authentication == NA_AUTHENTICATION_INHERITED) in iscsi_conn_auth_required()
850 return nacl->node_attrib.authentication; in iscsi_conn_auth_required()
/linux-6.1.9/drivers/target/tcm_fc/
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-6.1.9/drivers/scsi/elx/efct/
Defct_lio.c363 static void efct_lio_set_default_node_attrs(struct se_node_acl *nacl) in efct_lio_set_default_node_attrs() argument
1016 struct efct_lio_nacl *nacl; in efct_lio_init_nodeacl() local
1022 nacl = container_of(se_nacl, struct efct_lio_nacl, se_node_acl); in efct_lio_init_nodeacl()
1023 nacl->nport_wwnn = wwnn; in efct_lio_init_nodeacl()
1025 efct_format_wwn(nacl->nport_name, sizeof(nacl->nport_name), "", wwnn); in efct_lio_init_nodeacl()
/linux-6.1.9/include/target/
Dtarget_core_fabric.h146 void target_spc2_release(struct se_node_acl *nacl);
/linux-6.1.9/include/target/iscsi/
Discsi_target_core.h730 struct iscsi_node_acl *nacl; member
/linux-6.1.9/drivers/xen/
Dxen-scsiback.c1439 static void scsiback_set_default_node_attrs(struct se_node_acl *nacl) in scsiback_set_default_node_attrs() argument
/linux-6.1.9/drivers/target/sbp/
Dsbp_target.c1736 static void sbp_set_default_node_attrs(struct se_node_acl *nacl) in sbp_set_default_node_attrs() argument
/linux-6.1.9/drivers/vhost/
Dscsi.c393 static void vhost_scsi_set_default_node_attrs(struct se_node_acl *nacl) in vhost_scsi_set_default_node_attrs() argument
/linux-6.1.9/drivers/usb/gadget/function/
Df_tcm.c1297 static void usbg_set_default_node_attrs(struct se_node_acl *nacl) in usbg_set_default_node_attrs() argument
/linux-6.1.9/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c3768 static void ibmvscsis_set_default_node_attrs(struct se_node_acl *nacl) in ibmvscsis_set_default_node_attrs() argument
/linux-6.1.9/drivers/infiniband/ulp/srpt/
Dib_srpt.c3395 static void srpt_set_default_node_attrs(struct se_node_acl *nacl) in srpt_set_default_node_attrs() argument