Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/target/iscsi/
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()
232 " while not in TPG_STATE_FREE state.\n", tpg->tpgt); in iscsit_tpg_add_portal_group()
250 tiqn->tiqn, tpg->tpgt); in iscsit_tpg_add_portal_group()
276 tpg->tpgt); in iscsit_tpg_del_portal_group()
298 tiqn->tiqn, tpg->tpgt); in iscsit_tpg_del_portal_group()
312 " active, ignoring request.\n", tpg->tpgt); in iscsit_tpg_enable_portal_group()
343 tpg->tpgt); in iscsit_tpg_enable_portal_group()
360 " inactive, ignoring request.\n", tpg->tpgt); in iscsit_tpg_disable_portal_group()
375 tpg->tpgt); in iscsit_tpg_disable_portal_group()
[all …]
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()
1049 u16 tpgt; in lio_target_tiqn_addtpg() local
1063 ret = kstrtou16(tpgt_str, 0, &tpgt); in lio_target_tiqn_addtpg()
1067 tpg = iscsit_alloc_portal_group(tiqn, tpgt); in lio_target_tiqn_addtpg()
1442 return to_iscsi_tpg(se_tpg)->tpgt; in lio_tpg_get_tag()
Discsi_target_login.c397 if (iscsi_change_param_sprintf(conn, "TargetPortalGroupTag=%hu", sess->tpg->tpgt)) in iscsi_login_zero_tsih_s2()
555 if (iscsi_change_param_sprintf(conn, "TargetPortalGroupTag=%hu", sess->tpg->tpgt)) in iscsi_login_non_zero_tsih_s2()
727 &conn->local_sockaddr, tpg->tpgt); in iscsi_post_login_handler()
774 tpg->tpgt); in iscsi_post_login_handler()
795 " iSCSI Target Portal Group: %hu\n", tpg->nsessions, tpg->tpgt); in iscsi_post_login_handler()
Discsi_target_erl1.c1120 sess->tpg->tpg_tiqn->tiqn, (u32)sess->tpg->tpgt); in iscsit_handle_dataout_timeout()
1130 sess->tpg->tpg_tiqn->tiqn, (u32)sess->tpg->tpgt); in iscsit_handle_dataout_timeout()
Discsi_target_nego.c1264 pr_debug("Located Portal Group Object: %hu\n", conn->tpg->tpgt); in iscsi_target_locate_portal()
1313 i_buf, conn->tpg->tpgt); in iscsi_target_locate_portal()
Discsi_target_util.c913 sess->tpg->tpg_tiqn->tiqn, (u32)sess->tpg->tpgt); in iscsit_handle_nopin_response_timeout()
Discsi_target.c3487 tpg->tpgt); in iscsit_build_sendtargets_response()
4558 " iSCSI TPG: %hu to %u\n", tpg->tpgt, tpg->nsessions); in iscsit_close_session()
4820 " Group: %hu\n", session_count, tpg->tpgt); in iscsit_release_sessions_for_tpg()
/linux-6.1.9/drivers/target/loopback/
Dtcm_loop.c961 unsigned long tpgt; in tcm_loop_make_naa_tpg() local
967 if (kstrtoul(name+5, 10, &tpgt)) in tcm_loop_make_naa_tpg()
970 if (tpgt >= TL_TPGS_PER_HBA) { in tcm_loop_make_naa_tpg()
972 tpgt, TL_TPGS_PER_HBA); in tcm_loop_make_naa_tpg()
975 tl_tpg = &tl_hba->tl_hba_tpgs[tpgt]; in tcm_loop_make_naa_tpg()
977 tl_tpg->tl_tpgt = tpgt; in tcm_loop_make_naa_tpg()
987 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_make_naa_tpg()
998 unsigned short tpgt; in tcm_loop_drop_naa_tpg() local
1001 tpgt = tl_tpg->tl_tpgt; in tcm_loop_drop_naa_tpg()
1016 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_drop_naa_tpg()
/linux-6.1.9/drivers/scsi/elx/efct/
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()
917 tpg->tpgt = n; in efct_lio_make_tpg()
933 efc_log_debug(efct, "create portal group %d\n", tpg->tpgt); in efct_lio_make_tpg()
947 efc_log_debug(efct, "drop portal group %d\n", tpg->tpgt); in efct_lio_drop_tpg()
980 tpg->tpgt = n; in efct_lio_npiv_make_tpg()
[all …]
Defct_lio.h170 unsigned short tpgt; member
/linux-6.1.9/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c999 unsigned long tpgt; in tcm_qla2xxx_make_tpg() local
1004 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) in tcm_qla2xxx_make_tpg()
1007 if ((tpgt != 1)) { in tcm_qla2xxx_make_tpg()
1018 tpg->lport_tpgt = tpgt; in tcm_qla2xxx_make_tpg()
1095 unsigned long tpgt; in tcm_qla2xxx_npiv_make_tpg() local
1100 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) in tcm_qla2xxx_npiv_make_tpg()
1109 tpg->lport_tpgt = tpgt; in tcm_qla2xxx_npiv_make_tpg()
/linux-6.1.9/drivers/target/
Dtarget_core_spc.c302 u16 tpgt; in spc_emulate_evpd_83() local
405 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg); in spc_emulate_evpd_83()
407 tpg->se_tpg_tfo->tpg_get_wwn(tpg), tpgt); in spc_emulate_evpd_83()
Dtarget_core_pr.c828 u16 tpgt, in core_scsi3_alloc_aptpl_registration() argument
876 pr_reg->pr_reg_tpgt = tpgt; in core_scsi3_alloc_aptpl_registration()
930 u16 tpgt; in __core_scsi3_check_aptpl_registration() local
938 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg); in __core_scsi3_check_aptpl_registration()
952 (pr_reg->pr_reg_tpgt == tpgt) && in __core_scsi3_check_aptpl_registration()
Dtarget_core_configfs.c1986 u16 tpgt = 0; in target_pr_res_aptpl_metadata_store() local
2115 tpgt = (u16)arg; in target_pr_res_aptpl_metadata_store()
2147 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_pr_res_aptpl_metadata_store()
/linux-6.1.9/include/scsi/
Dlibiscsi.h316 int tpgt; member
Dscsi_transport_iscsi.h392 int tpgt; member
/linux-6.1.9/drivers/target/sbp/
Dsbp_target.c1989 unsigned long tpgt; in sbp_make_tpg() local
1994 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX) in sbp_make_tpg()
2007 tpg->tport_tpgt = tpgt; in sbp_make_tpg()
/linux-6.1.9/drivers/scsi/csiostor/
Dt4fw_api_stor.h164 __be16 tpgt; member
/linux-6.1.9/drivers/xen/
Dxen-scsiback.c1772 u16 tpgt; in scsiback_make_tpg() local
1777 ret = kstrtou16(name + 5, 10, &tpgt); in scsiback_make_tpg()
1789 tpg->tport_tpgt = tpgt; in scsiback_make_tpg()
/linux-6.1.9/drivers/vhost/
Dscsi.c2304 u16 tpgt; in vhost_scsi_make_tpg() local
2309 if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET) in vhost_scsi_make_tpg()
2321 tpg->tport_tpgt = tpgt; in vhost_scsi_make_tpg()
/linux-6.1.9/drivers/usb/gadget/function/
Df_tcm.c1342 unsigned long tpgt; in usbg_make_tpg() local
1349 if (kstrtoul(name + 5, 0, &tpgt) || tpgt > UINT_MAX) in usbg_make_tpg()
1387 tpg->tport_tpgt = tpgt; in usbg_make_tpg()
/linux-6.1.9/include/target/iscsi/
Discsi_target_core.h826 u16 tpgt; member
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_os.c3569 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_from_fwddb_param()
3696 fw_ddb_entry->tgt_portal_grp = cpu_to_le16(sess->tpgt); in qla4xxx_copy_to_fwddb_param()
3805 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_to_sess_conn_params()
6282 tddb->tpgt = sess->tpgt; in qla4xxx_get_param_ddb()
6294 tddb->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_convert_param_ddb()
6345 old_tddb->port, old_tddb->tpgt, old_tddb->ip_addr, in qla4xxx_compare_tuple_ddb()
6346 old_tddb->iscsi_name, new_tddb->port, new_tddb->tpgt, in qla4xxx_compare_tuple_ddb()
7792 flash_tddb->tpgt = fnode_sess->tpgt; in qla4xxx_sysfs_ddb_logout()
8031 rc = sprintf(buf, "%u\n", fnode_sess->tpgt); in qla4xxx_sysfs_ddb_get_param()
8264 fnode_sess->tpgt = *(uint16_t *)fnode_param->value; in qla4xxx_sysfs_ddb_set_param()
Dql4_def.h339 int tpgt; member
/linux-6.1.9/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c3897 u16 tpgt; in ibmvscsis_make_tpg() local
3902 rc = kstrtou16(name + 5, 0, &tpgt); in ibmvscsis_make_tpg()
3905 tport->tport_tpgt = tpgt; in ibmvscsis_make_tpg()

12