Home
last modified time | relevance | path

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

/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_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.c870 sess->tpg->tpg_tiqn->tiqn, (u32)sess->tpg->tpgt); in iscsit_handle_nopin_response_timeout()
H A Discsi_target.c3430 tpg->tpgt); in iscsit_build_sendtargets_response()
4512 " iSCSI TPG: %hu to %u\n", tpg->tpgt, tpg->nsessions); in iscsit_close_session()
4759 " Group: %hu\n", session_count, tpg->tpgt); in iscsit_release_sessions_for_tpg()
/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/scsi/qla2xxx/
H A Dtcm_qla2xxx.c1004 unsigned long tpgt; in tcm_qla2xxx_make_tpg() local
1009 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) in tcm_qla2xxx_make_tpg()
1012 if ((tpgt != 1)) { in tcm_qla2xxx_make_tpg()
1023 tpg->lport_tpgt = tpgt; in tcm_qla2xxx_make_tpg()
1100 unsigned long tpgt; in tcm_qla2xxx_npiv_make_tpg() local
1105 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) in tcm_qla2xxx_npiv_make_tpg()
1114 tpg->lport_tpgt = tpgt; in tcm_qla2xxx_npiv_make_tpg()
/linux/drivers/scsi/elx/efct/
H A Defct_lio.h170 unsigned short tpgt; member
/linux/include/scsi/
H A Dlibiscsi.h316 int tpgt; member
/linux/drivers/target/sbp/
H A Dsbp_target.c1963 unsigned long tpgt; in sbp_make_tpg() local
1968 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX) in sbp_make_tpg()
1981 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.c2084 u16 tpgt = 0; in target_pr_res_aptpl_metadata_store() local
2213 tpgt = (u16)arg; in target_pr_res_aptpl_metadata_store()
2245 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_pr_res_aptpl_metadata_store()
/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.c2793 u16 tpgt; in vhost_scsi_make_tpg() local
2798 if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET) in vhost_scsi_make_tpg()
2809 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.c3581 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_from_fwddb_param()
3708 fw_ddb_entry->tgt_portal_grp = cpu_to_le16(sess->tpgt); in qla4xxx_copy_to_fwddb_param()
3817 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_to_sess_conn_params()
6294 tddb->tpgt = sess->tpgt; in qla4xxx_get_param_ddb()
6306 tddb->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_convert_param_ddb()
6357 old_tddb->port, old_tddb->tpgt, old_tddb->ip_addr, in qla4xxx_compare_tuple_ddb()
6358 old_tddb->iscsi_name, new_tddb->port, new_tddb->tpgt, in qla4xxx_compare_tuple_ddb()
7807 flash_tddb->tpgt = fnode_sess->tpgt; in qla4xxx_sysfs_ddb_logout()
8046 rc = sprintf(buf, "%u\n", fnode_sess->tpgt); in qla4xxx_sysfs_ddb_get_param()
8284 fnode_sess->tpgt = *(uint16_t *)fnode_param->value; in qla4xxx_sysfs_ddb_set_param()
H A Dql4_def.h338 int tpgt; member
/linux/drivers/usb/gadget/function/
H A Df_tcm.c1644 u16 tpgt; in usbg_make_tpg() local
1651 if (kstrtou16(name + 5, 0, &tpgt)) in usbg_make_tpg()
1690 tpg->tport_tpgt = tpgt; in usbg_make_tpg()
/linux/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c3865 u16 tpgt; in ibmvscsis_make_tpg() local
3870 rc = kstrtou16(name + 5, 0, &tpgt); in ibmvscsis_make_tpg()
3873 tport->tport_tpgt = tpgt; in ibmvscsis_make_tpg()
/linux/drivers/scsi/
H A Dlibiscsi.c3577 sscanf(buf, "%d", &session->tpgt); in iscsi_set_param()
3666 len = sysfs_emit(buf, "%d\n", session->tpgt); in iscsi_session_get_param()
H A Dscsi_transport_iscsi.c857 iscsi_flashnode_sess_attr(fnode, tpgt, ISCSI_FLASHNODE_TPGT);
4366 iscsi_session_attr(tpgt, ISCSI_PARAM_TPGT, 0);
/linux/drivers/scsi/qedi/
H A Dqedi_main.c1027 iscsi->boot_taget_portal = sess->tpgt; in qedi_find_boot_info()