Home
last modified time | relevance | path

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

12

/linux/drivers/target/iscsi/
H A Discsi_target_tpg.c25 struct iscsi_portal_group *iscsit_alloc_portal_group(struct iscsi_tiqn *tiqn, u16 tpgt) in iscsit_alloc_portal_group() argument
35 tpg->tpgt = tpgt; in iscsit_alloc_portal_group()
226 " while not in TPG_STATE_FREE state.\n", tpg->tpgt); in iscsit_tpg_add_portal_group()
244 tiqn->tiqn, tpg->tpgt); in iscsit_tpg_add_portal_group()
270 tpg->tpgt); in iscsit_tpg_del_portal_group()
292 tiqn->tiqn, tpg->tpgt); in iscsit_tpg_del_portal_group()
306 " active, ignoring request.\n", tpg->tpgt); in iscsit_tpg_enable_portal_group()
337 tpg->tpgt); in iscsit_tpg_enable_portal_group()
354 " inactive, ignoring request.\n", tpg->tpgt); in iscsit_tpg_disable_portal_group()
369 tpg->tpgt); in iscsit_tpg_disable_portal_group()
[all …]
H A Discsi_target_configfs.c221 tpg->tpgt, name); in lio_target_call_addnptotpg()
264 tpg->tpgt, &tpg_np->tpg_np->np_sockaddr); in lio_target_call_delnpfromtpg()
1047 u16 tpgt; in lio_target_tiqn_addtpg() local
1061 ret = kstrtou16(tpgt_str, 0, &tpgt); in lio_target_tiqn_addtpg()
1065 tpg = iscsit_alloc_portal_group(tiqn, tpgt); in lio_target_tiqn_addtpg()
1440 return to_iscsi_tpg(se_tpg)->tpgt; in lio_tpg_get_tag()
H A Discsi_target_login.c356 if (iscsi_change_param_sprintf(conn, "TargetPortalGroupTag=%hu", sess->tpg->tpgt)) in iscsi_login_zero_tsih_s2()
514 if (iscsi_change_param_sprintf(conn, "TargetPortalGroupTag=%hu", sess->tpg->tpgt)) in iscsi_login_non_zero_tsih_s2()
686 &conn->local_sockaddr, tpg->tpgt); in iscsi_post_login_handler()
733 tpg->tpgt); in iscsi_post_login_handler()
754 " iSCSI Target Portal Group: %hu\n", tpg->nsessions, tpg->tpgt); in iscsi_post_login_handler()
H A Discsi_target_erl1.c1119 sess->tpg->tpg_tiqn->tiqn, (u32)sess->tpg->tpgt); in iscsit_handle_dataout_timeout()
1129 sess->tpg->tpg_tiqn->tiqn, (u32)sess->tpg->tpgt); in iscsit_handle_dataout_timeout()
H A Discsi_target_nego.c1253 pr_debug("Located Portal Group Object: %hu\n", conn->tpg->tpgt); in iscsi_target_locate_portal()
1292 i_buf, conn->tpg->tpgt); in iscsi_target_locate_portal()
H A Discsi_target_util.c869 sess->tpg->tpg_tiqn->tiqn, (u32)sess->tpg->tpgt); in iscsit_handle_nopin_response_timeout()
/linux/drivers/target/tcm_remote/
H A Dtcm_remote.c94 unsigned long tpgt; in tcm_remote_make_tpg() local
101 if (kstrtoul(name + 5, 10, &tpgt)) in tcm_remote_make_tpg()
104 if (tpgt >= TL_TPGS_PER_HBA) { in tcm_remote_make_tpg()
106 tpgt, TL_TPGS_PER_HBA); in tcm_remote_make_tpg()
109 remote_tpg = &remote_hba->remote_hba_tpgs[tpgt]; in tcm_remote_make_tpg()
111 remote_tpg->remote_tpgt = tpgt; in tcm_remote_make_tpg()
122 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_remote_make_tpg()
132 unsigned short tpgt; in tcm_remote_drop_tpg() local
135 tpgt = remote_tpg->remote_tpgt; in tcm_remote_drop_tpg()
147 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_remote_drop_tpg()
/linux/drivers/target/loopback/
H A Dtcm_loop.c920 unsigned long tpgt; in tcm_loop_make_naa_tpg() local
926 if (kstrtoul(name+5, 10, &tpgt)) in tcm_loop_make_naa_tpg()
929 if (tpgt >= TL_TPGS_PER_HBA) { in tcm_loop_make_naa_tpg()
931 tpgt, TL_TPGS_PER_HBA); in tcm_loop_make_naa_tpg()
934 tl_tpg = &tl_hba->tl_hba_tpgs[tpgt]; in tcm_loop_make_naa_tpg()
936 tl_tpg->tl_tpgt = tpgt; in tcm_loop_make_naa_tpg()
946 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_make_naa_tpg()
957 unsigned short tpgt; in tcm_loop_drop_naa_tpg() local
960 tpgt = tl_tpg->tl_tpgt; in tcm_loop_drop_naa_tpg()
975 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_drop_naa_tpg()
/linux/drivers/scsi/elx/efct/
H A Defct_lio.c114 efc_log_debug(efct, "enable portal group %d\n", tpg->tpgt); in efct_lio_tpg_enable_store()
123 efc_log_debug(efct, "disable portal group %d\n", tpg->tpgt); in efct_lio_tpg_enable_store()
171 efc_log_debug(efct, "enable portal group %d\n", tpg->tpgt); in efct_lio_npiv_tpg_enable_store()
194 efc_log_debug(efct, "disable portal group %d\n", tpg->tpgt); in efct_lio_npiv_tpg_enable_store()
233 return tpg->tpgt; in efct_lio_get_tag()
241 return tpg->tpgt; in efct_lio_get_npiv_tag()
903 tpg->tpgt = n; in efct_lio_make_tpg()
919 efc_log_debug(efct, "create portal group %d\n", tpg->tpgt); in efct_lio_make_tpg()
933 efc_log_debug(efct, "drop portal group %d\n", tpg->tpgt); in efct_lio_drop_tpg()
966 tpg->tpgt = n; in efct_lio_npiv_make_tpg()
[all …]
H A Defct_lio.h170 unsigned short tpgt; member
/linux/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c989 unsigned long tpgt; in tcm_qla2xxx_make_tpg() local
994 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) in tcm_qla2xxx_make_tpg()
997 if ((tpgt != 1)) { in tcm_qla2xxx_make_tpg()
1008 tpg->lport_tpgt = tpgt; in tcm_qla2xxx_make_tpg()
1085 unsigned long tpgt; in tcm_qla2xxx_npiv_make_tpg() local
1090 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) in tcm_qla2xxx_npiv_make_tpg()
1099 tpg->lport_tpgt = tpgt; in tcm_qla2xxx_npiv_make_tpg()
/linux/include/scsi/
H A Dlibiscsi.h316 int tpgt; member
H A Dscsi_transport_iscsi.h392 int tpgt; member
/linux/drivers/target/sbp/
H A Dsbp_target.c1964 unsigned long tpgt; in sbp_make_tpg() local
1969 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX) in sbp_make_tpg()
1982 tpg->tport_tpgt = tpgt; in sbp_make_tpg()
/linux/drivers/target/
H A Dtarget_core_pr.c829 u16 tpgt, in core_scsi3_alloc_aptpl_registration() argument
877 pr_reg->pr_reg_tpgt = tpgt; in core_scsi3_alloc_aptpl_registration()
931 u16 tpgt; in __core_scsi3_check_aptpl_registration() local
939 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg); in __core_scsi3_check_aptpl_registration()
953 (pr_reg->pr_reg_tpgt == tpgt) && in __core_scsi3_check_aptpl_registration()
H A Dtarget_core_spc.c293 u16 tpgt; in spc_emulate_evpd_83() local
396 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg); in spc_emulate_evpd_83()
398 tpg->se_tpg_tfo->tpg_get_wwn(tpg), tpgt); in spc_emulate_evpd_83()
H A Dtarget_core_configfs.c2071 u16 tpgt = 0; in target_pr_res_aptpl_metadata_store() local
2200 tpgt = (u16)arg; in target_pr_res_aptpl_metadata_store()
2232 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_pr_res_aptpl_metadata_store()
/linux/drivers/usb/gadget/function/
H A Df_tcm.c1644 unsigned long tpgt; in usbg_port_link()
1651 if (kstrtoul(name + 5, 0, &tpgt) || tpgt > UINT_MAX) in usbg_port_unlink()
1690 tpg->tport_tpgt = tpgt;
1318 unsigned long tpgt; usbg_make_tpg() local
/linux/drivers/xen/
H A Dxen-scsiback.c1752 u16 tpgt; in scsiback_make_tpg() local
1757 ret = kstrtou16(name + 5, 10, &tpgt); in scsiback_make_tpg()
1769 tpg->tport_tpgt = tpgt; in scsiback_make_tpg()
/linux/drivers/scsi/csiostor/
H A Dt4fw_api_stor.h164 __be16 tpgt; member
/linux/drivers/vhost/
H A Dscsi.c2455 u16 tpgt; in vhost_scsi_make_tpg() local
2460 if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET) in vhost_scsi_make_tpg()
2471 tpg->tport_tpgt = tpgt; in vhost_scsi_make_tpg()
/linux/include/target/iscsi/
H A Discsi_target_core.h821 u16 tpgt; member
/linux/drivers/scsi/qla4xxx/
H A Dql4_os.c3579 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_from_fwddb_param()
3706 fw_ddb_entry->tgt_portal_grp = cpu_to_le16(sess->tpgt); in qla4xxx_copy_to_fwddb_param()
3815 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_to_sess_conn_params()
6292 tddb->tpgt = sess->tpgt; in qla4xxx_get_param_ddb()
6304 tddb->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_convert_param_ddb()
6355 old_tddb->port, old_tddb->tpgt, old_tddb->ip_addr, in qla4xxx_compare_tuple_ddb()
6356 old_tddb->iscsi_name, new_tddb->port, new_tddb->tpgt, in qla4xxx_compare_tuple_ddb()
7803 flash_tddb->tpgt = fnode_sess->tpgt; in qla4xxx_sysfs_ddb_logout()
[all...]
H A Dql4_def.h338 int tpgt; member
/linux/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c3866 u16 tpgt; in ibmvscsis_make_tpg() local
3871 rc = kstrtou16(name + 5, 0, &tpgt); in ibmvscsis_make_tpg()
3874 tport->tport_tpgt = tpgt; in ibmvscsis_make_tpg()

12