Home
last modified time | relevance | path

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

/drivers/target/iscsi/
Discsi_target_tpg.c36 struct iscsi_portal_group *iscsit_alloc_portal_group(struct iscsi_tiqn *tiqn, u16 tpgt) in iscsit_alloc_portal_group() argument
46 tpg->tpgt = tpgt; in iscsit_alloc_portal_group()
229 " while not in TPG_STATE_FREE state.\n", tpg->tpgt); in iscsit_tpg_add_portal_group()
247 tiqn->tiqn, tpg->tpgt); in iscsit_tpg_add_portal_group()
274 tpg->tpgt); in iscsit_tpg_del_portal_group()
298 tiqn->tiqn, tpg->tpgt); in iscsit_tpg_del_portal_group()
313 " active, ignoring request.\n", tpg->tpgt); in iscsit_tpg_enable_portal_group()
346 tpg->tpgt); in iscsit_tpg_enable_portal_group()
364 " inactive, ignoring request.\n", tpg->tpgt); in iscsit_tpg_disable_portal_group()
379 tpg->tpgt); in iscsit_tpg_disable_portal_group()
[all …]
Discsi_target_login.c384 sprintf(buf, "TargetPortalGroupTag=%hu", ISCSI_TPG_S(sess)->tpgt); in iscsi_login_zero_tsih_s2()
597 sprintf(buf, "TargetPortalGroupTag=%hu", ISCSI_TPG_S(sess)->tpgt); in iscsi_login_non_zero_tsih_s2()
730 conn->local_ip, conn->local_port, 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_configfs.c309 tpg->tpgt, name); in lio_target_call_addnptotpg()
352 tpg->tpgt, tpg_np->tpg_np->np_ip, tpg_np->tpg_np->np_port); in lio_target_call_delnpfromtpg()
1287 unsigned short int tpgt; in lio_target_tiqn_addtpg() local
1301 tpgt = (unsigned short int) simple_strtoul(tpgt_str, &end_ptr, 0); in lio_target_tiqn_addtpg()
1303 tpg = iscsit_alloc_portal_group(tiqn, tpgt); in lio_target_tiqn_addtpg()
1678 return tpg->tpgt; in lio_tpg_get_tag()
Discsi_target_nego.c824 pr_debug("Located Portal Group Object: %hu\n", conn->tpg->tpgt); in iscsi_target_locate_portal()
869 i_buf, conn->tpg->tpgt); in iscsi_target_locate_portal()
Discsi_target_core.h796 u16 tpgt; member
Discsi_target.c3423 tpg->tpgt); in iscsit_build_sendtargets_response()
4418 " iSCSI TPG: %hu to %u\n", tpg->tpgt, tpg->nsessions); in iscsit_close_session()
4701 " Group: %hu\n", session_count, tpg->tpgt); in iscsit_release_sessions_for_tpg()
/drivers/target/loopback/
Dtcm_loop.c1082 unsigned short int tpgt; in tcm_loop_make_naa_tpg() local
1091 tpgt = (unsigned short int) simple_strtoul(tpgt_str, &end_ptr, 0); in tcm_loop_make_naa_tpg()
1093 if (tpgt >= TL_TPGS_PER_HBA) { in tcm_loop_make_naa_tpg()
1095 " %u\n", tpgt, TL_TPGS_PER_HBA); in tcm_loop_make_naa_tpg()
1098 tl_tpg = &tl_hba->tl_hba_tpgs[tpgt]; in tcm_loop_make_naa_tpg()
1100 tl_tpg->tl_tpgt = tpgt; in tcm_loop_make_naa_tpg()
1112 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_make_naa_tpg()
1124 unsigned short tpgt; in tcm_loop_drop_naa_tpg() local
1127 tpgt = tl_tpg->tl_tpgt; in tcm_loop_drop_naa_tpg()
1142 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_drop_naa_tpg()
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c1018 unsigned long tpgt; in tcm_qla2xxx_make_tpg() local
1023 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) in tcm_qla2xxx_make_tpg()
1026 if (!lport->qla_npiv_vp && (tpgt != 1)) { in tcm_qla2xxx_make_tpg()
1037 tpg->lport_tpgt = tpgt; in tcm_qla2xxx_make_tpg()
1093 unsigned long tpgt; in tcm_qla2xxx_npiv_make_tpg() local
1098 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) in tcm_qla2xxx_npiv_make_tpg()
1107 tpg->lport_tpgt = tpgt; in tcm_qla2xxx_npiv_make_tpg()
/drivers/target/
Dtarget_core_spc.c264 u16 tpgt; in spc_emulate_evpd_83() local
384 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg); in spc_emulate_evpd_83()
386 tpg->se_tpg_tfo->tpg_get_wwn(tpg), tpgt); in spc_emulate_evpd_83()
Dtarget_core_pr.c779 u16 tpgt, in core_scsi3_alloc_aptpl_registration() argument
829 pr_reg->pr_reg_tpgt = tpgt; in core_scsi3_alloc_aptpl_registration()
886 u16 tpgt; in __core_scsi3_check_aptpl_registration() local
896 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg); in __core_scsi3_check_aptpl_registration()
909 (pr_reg->pr_reg_tpgt == tpgt) && in __core_scsi3_check_aptpl_registration()
Dtarget_core_configfs.c1250 u16 port_rpti = 0, tpgt = 0; in target_core_dev_pr_store_attr_res_aptpl_metadata() local
1373 tpgt = (u16)arg; in target_core_dev_pr_store_attr_res_aptpl_metadata()
1402 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_core_dev_pr_store_attr_res_aptpl_metadata()
/drivers/vhost/
Dscsi.c1856 unsigned long tpgt; in tcm_vhost_make_tpg() local
1861 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX) in tcm_vhost_make_tpg()
1872 tpg->tport_tpgt = tpgt; in tcm_vhost_make_tpg()
/drivers/scsi/qla4xxx/
Dql4_os.c2088 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_from_fwddb_param()
2217 fw_ddb_entry->tgt_portal_grp = cpu_to_le16(sess->tpgt); in qla4xxx_copy_to_fwddb_param()
2303 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_fwddb_param()
2429 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_update_session_conn_param()
4737 tddb->tpgt = sess->tpgt; in qla4xxx_get_param_ddb()
4749 tddb->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_convert_param_ddb()
4804 old_tddb->port, old_tddb->tpgt, old_tddb->ip_addr, in qla4xxx_compare_tuple_ddb()
4805 old_tddb->iscsi_name, new_tddb->port, new_tddb->tpgt, in qla4xxx_compare_tuple_ddb()
6057 flash_tddb->tpgt = fnode_sess->tpgt; in qla4xxx_sysfs_ddb_logout()
6304 rc = sprintf(buf, "%u\n", fnode_sess->tpgt); in qla4xxx_sysfs_ddb_get_param()
[all …]
Dql4_def.h312 int tpgt; member
/drivers/target/sbp/
Dsbp_target.c2178 unsigned long tpgt; in sbp_make_tpg() local
2183 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX) in sbp_make_tpg()
2198 tpg->tport_tpgt = tpgt; in sbp_make_tpg()
/drivers/scsi/csiostor/
Dt4fw_api_stor.h164 __be16 tpgt; member
/drivers/usb/gadget/
Dtcm_usb_gadget.c1546 unsigned long tpgt; in usbg_make_tpg() local
1551 if (kstrtoul(name + 5, 0, &tpgt) || tpgt > UINT_MAX) in usbg_make_tpg()
1573 tpg->tport_tpgt = tpgt; in usbg_make_tpg()
/drivers/scsi/
Dlibiscsi.c3240 sscanf(buf, "%d", &session->tpgt); in iscsi_set_param()
3309 len = sprintf(buf, "%d\n", session->tpgt); in iscsi_session_get_param()
Dscsi_transport_iscsi.c522 iscsi_flashnode_sess_attr(fnode, tpgt, ISCSI_FLASHNODE_TPGT);
3462 iscsi_session_attr(tpgt, ISCSI_PARAM_TPGT, 0);