Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/target/
Dtarget_core_tpg.c44 const char *initiatorname) in __core_tpg_get_initiator_node_acl() argument
49 if (!strcmp(acl->initiatorname, initiatorname)) in __core_tpg_get_initiator_node_acl()
62 unsigned char *initiatorname) in core_tpg_get_initiator_node_acl() argument
75 acl = __core_tpg_get_initiator_node_acl(tpg, initiatorname); in core_tpg_get_initiator_node_acl()
167 acl->initiatorname); in target_set_nacl_queue_depth()
173 const unsigned char *initiatorname) in target_alloc_node_acl() argument
198 snprintf(acl->initiatorname, TRANSPORT_IQN_LEN, "%s", initiatorname); in target_alloc_node_acl()
222 acl->initiatorname); in target_add_node_acl()
226 const char *initiatorname) in target_tpg_has_node_acl() argument
233 if (!strcmp(acl->initiatorname, initiatorname)) { in target_tpg_has_node_acl()
[all …]
Dtarget_core_fabric_lib.c43 ret = hex2bin(&buf[4], &nacl->initiatorname[4], 8); in sas_get_pr_transport_id()
65 ptr = &se_nacl->initiatorname[0]; in fc_get_pr_transport_id()
91 ret = hex2bin(&buf[8], nacl->initiatorname, 8); in sbp_get_pr_transport_id()
109 p = nacl->initiatorname; in srp_get_pr_transport_id()
149 len = sprintf(&buf[off], "%s", se_nacl->initiatorname); in iscsi_get_pr_transport_id()
225 len = strlen(se_nacl->initiatorname); in iscsi_get_pr_transport_id_len()
Dtarget_core_pr.c232 sess->se_node_acl->initiatorname); in target_scsi2_reservation_release()
276 dev->reservation_holder->se_node_acl->initiatorname); in target_scsi2_reservation_reserve()
280 sess->se_node_acl->initiatorname); in target_scsi2_reservation_reserve()
294 sess->se_node_acl->initiatorname); in target_scsi2_reservation_reserve()
504 se_sess->se_node_acl->initiatorname, cdb[0], in core_scsi3_pr_seq_non_holder()
556 se_sess->se_node_acl->initiatorname, cdb[0], in core_scsi3_pr_seq_non_holder()
656 nacl->initiatorname, mapped_lun); in __core_scsi3_do_alloc_registration()
760 if (strcmp(nacl->initiatorname, nacl_tmp->initiatorname)) in __core_scsi3_alloc_registration()
913 tpg->se_tpg_tfo->fabric_name, node_acl->initiatorname, in core_scsi3_aptpl_reserve()
939 snprintf(i_port, PR_APTPL_MAX_IPORT_LEN, "%s", nacl->initiatorname); in __core_scsi3_check_aptpl_registration()
[all …]
Dtarget_core_device.c347 " %s\n", nacl->initiatorname); in core_enable_device_list_for_node()
356 nacl->initiatorname, mapped_lun); in core_enable_device_list_for_node()
609 if (strlen(nacl->initiatorname) >= TRANSPORT_IQN_LEN) { in core_dev_init_initiator_node_lun_acl()
657 nacl->initiatorname); in core_dev_add_initiator_node_lun_acl()
689 nacl->initiatorname, lacl->mapped_lun); in core_dev_del_initiator_node_lun_acl()
702 lacl->se_lun_nacl->initiatorname, lacl->mapped_lun); in core_dev_free_initiator_node_lun_acl()
Dtarget_core_internal.h131 const char *initiatorname);
Dtarget_core_tmr.c362 tmr_nacl->initiatorname); in core_tmr_lun_reset()
Dtarget_core_transport.c420 const char *initiatorname, void *private, in target_setup_session() argument
439 (unsigned char *)initiatorname); in target_setup_session()
472 if (strlen(se_sess->se_node_acl->initiatorname) + 1 + len > PAGE_SIZE) in target_show_dynamic_sessions()
476 se_sess->se_node_acl->initiatorname); in target_show_dynamic_sessions()
1410 cmd->se_sess->se_node_acl->initiatorname, in target_setup_cmd_from_cdb()
Dtarget_core_stat.c976 ret = snprintf(page, PAGE_SIZE, "%s\n", nacl->initiatorname); in target_stat_auth_intr_name_show()
1328 ret = snprintf(page, PAGE_SIZE, "%s+i+%s\n", nacl->initiatorname, buf); in target_stat_iport_port_ident_show()
Dtarget_core_configfs.c1613 se_nacl->initiatorname, i_buf); in target_core_dev_pr_show_spc3_res()
1628 se_nacl->initiatorname); in target_core_dev_pr_show_spc2_res()
1743 pr_reg->pr_reg_nacl->initiatorname, i_buf, pr_reg->pr_res_key, in target_pr_res_pr_registered_i_pts_show()
Dtarget_core_fabric_configfs.c199 se_nacl->initiatorname, lacl->mapped_lun, (wp) ? "ON" : "OFF"); in target_fabric_mappedlun_write_protect_store()
/Linux-v5.4/include/trace/events/
Dtarget.h144 __string( initiator, cmd->se_sess->se_node_acl->initiatorname )
153 __assign_str(initiator, cmd->se_sess->se_node_acl->initiatorname);
182 __string(initiator, cmd->se_sess->se_node_acl->initiatorname)
195 __assign_str(initiator, cmd->se_sess->se_node_acl->initiatorname);
/Linux-v5.4/drivers/target/tcm_fc/
Dtfc_sess.c213 unsigned char initiatorname[TRANSPORT_IQN_LEN]; in ft_sess_create() local
215 ft_format_wwn(&initiatorname[0], TRANSPORT_IQN_LEN, rdata->ids.port_name); in ft_sess_create()
232 TARGET_PROT_NORMAL, &initiatorname[0], in ft_sess_create()
/Linux-v5.4/include/scsi/
Dlibiscsi.h302 char *initiatorname; member
352 char *initiatorname; member
/Linux-v5.4/drivers/target/iscsi/
Discsi_target_nodeattrib.c24 return &se_nacl->initiatorname[0]; in iscsit_na_get_initiatorname()
Discsi_target_tmr.c76 sess->se_sess->se_node_acl->initiatorname); in iscsit_tmr_task_warm_reset()
96 sess->se_sess->se_node_acl->initiatorname); in iscsit_tmr_task_cold_reset()
Discsi_target_nego.c309 se_nacl->initiatorname)) { in iscsi_target_check_first_request()
Discsi_target_configfs.c512 " Endpoint: %s\n", se_nacl->initiatorname); in lio_target_nacl_info_show()
/Linux-v5.4/drivers/target/loopback/
Dtcm_loop.c779 tl_nexus->se_sess->se_node_acl->initiatorname); in tcm_loop_drop_nexus()
804 tl_nexus->se_sess->se_node_acl->initiatorname); in tcm_loop_tpg_nexus_show()
/Linux-v5.4/drivers/scsi/
Dlibiscsi.c2686 kfree(ihost->initiatorname); in iscsi_host_free()
2863 kfree(session->initiatorname); in iscsi_session_teardown()
3293 return iscsi_switch_str_param(&session->initiatorname, buf); in iscsi_set_param()
3390 len = sprintf(buf, "%s\n", session->initiatorname); in iscsi_session_get_param()
3610 len = sprintf(buf, "%s\n", ihost->initiatorname); in iscsi_host_get_param()
3631 return iscsi_switch_str_param(&ihost->initiatorname, buf); in iscsi_host_set_param()
Dscsi_transport_iscsi.c3967 iscsi_session_attr(initiatorname, ISCSI_PARAM_INITIATOR_NAME, 0);
4241 iscsi_host_attr(initiatorname, ISCSI_HOST_PARAM_INITIATOR_NAME);
/Linux-v5.4/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c1167 se_nacl, se_nacl->initiatorname); in tcm_qla2xxx_find_sess_by_s_id()
1241 nacl->fc_port, new_se_nacl, new_se_nacl->initiatorname); in tcm_qla2xxx_set_sess_by_s_id()
1344 nacl->fc_port, new_se_nacl, new_se_nacl->initiatorname); in tcm_qla2xxx_set_sess_by_loop_id()
/Linux-v5.4/include/target/
Dtarget_core_base.h548 char initiatorname[TRANSPORT_IQN_LEN]; member
/Linux-v5.4/drivers/xen/
Dxen-scsiback.c1579 tv_nexus->tvn_se_sess->se_node_acl->initiatorname); in scsiback_drop_nexus()
1607 tv_nexus->tvn_se_sess->se_node_acl->initiatorname); in scsiback_tpg_nexus_show()
/Linux-v5.4/drivers/vhost/
Dscsi.c2026 tv_nexus->tvn_se_sess->se_node_acl->initiatorname); in vhost_scsi_drop_nexus()
2055 tv_nexus->tvn_se_sess->se_node_acl->initiatorname); in vhost_scsi_tpg_nexus_show()
/Linux-v5.4/drivers/usb/gadget/function/
Df_tcm.c1548 tv_nexus->tvn_se_sess->se_node_acl->initiatorname); in tcm_usbg_tpg_nexus_show()
1624 tv_nexus->tvn_se_sess->se_node_acl->initiatorname); in tcm_usbg_drop_nexus()

12