Home
last modified time | relevance | path

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

12

/drivers/target/iscsi/
A Discsi_target_tpg.c35 tpg->tpgt = tpgt; in iscsit_alloc_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()
337 tpg->tpgt); in iscsit_tpg_enable_portal_group()
369 tpg->tpgt); in iscsit_tpg_disable_portal_group()
380 tpg->tpgt); in iscsit_tpg_disable_portal_group()
658 " %hu\n", a->login_timeout, tpg->tpgt); in iscsit_ta_login_timeout()
707 tpg->tpgt, a->default_cmdsn_depth); in iscsit_ta_default_cmdsn_depth()
823 " %s\n", tpg->tpgt, (a->t10_pi) ? in iscsit_ta_t10_pi()
[all …]
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()
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()
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()
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()
A Discsi_target_util.c870 sess->tpg->tpg_tiqn->tiqn, (u32)sess->tpg->tpgt); in iscsit_handle_nopin_response_timeout()
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()
/drivers/target/tcm_remote/
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()
/drivers/target/loopback/
A Dtcm_loop.c921 unsigned long tpgt; in tcm_loop_make_naa_tpg() local
927 if (kstrtoul(name+5, 10, &tpgt)) in tcm_loop_make_naa_tpg()
930 if (tpgt >= TL_TPGS_PER_HBA) { in tcm_loop_make_naa_tpg()
932 tpgt, TL_TPGS_PER_HBA); in tcm_loop_make_naa_tpg()
935 tl_tpg = &tl_hba->tl_hba_tpgs[tpgt]; in tcm_loop_make_naa_tpg()
937 tl_tpg->tl_tpgt = tpgt; in tcm_loop_make_naa_tpg()
947 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_make_naa_tpg()
958 unsigned short tpgt; in tcm_loop_drop_naa_tpg() local
961 tpgt = tl_tpg->tl_tpgt; in tcm_loop_drop_naa_tpg()
976 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_drop_naa_tpg()
/drivers/scsi/elx/efct/
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 …]
A Defct_lio.h170 unsigned short tpgt; member
/drivers/scsi/qla2xxx/
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()
/drivers/target/sbp/
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()
/drivers/target/
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()
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()
A Dtarget_core_configfs.c2069 u16 tpgt = 0; in target_pr_res_aptpl_metadata_store() local
2198 tpgt = (u16)arg; in target_pr_res_aptpl_metadata_store()
2230 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_pr_res_aptpl_metadata_store()
/drivers/xen/
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()
/drivers/scsi/csiostor/
A Dt4fw_api_stor.h164 __be16 tpgt; member
/drivers/vhost/
A Dscsi.c2790 u16 tpgt; in vhost_scsi_make_tpg() local
2795 if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET) in vhost_scsi_make_tpg()
2806 tpg->tport_tpgt = tpgt; in vhost_scsi_make_tpg()
/drivers/scsi/qla4xxx/
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()
7805 flash_tddb->tpgt = fnode_sess->tpgt; in qla4xxx_sysfs_ddb_logout()
8044 rc = sprintf(buf, "%u\n", fnode_sess->tpgt); in qla4xxx_sysfs_ddb_get_param()
8282 fnode_sess->tpgt = *(uint16_t *)fnode_param->value; in qla4xxx_sysfs_ddb_set_param()
A Dql4_def.h338 int tpgt; member
/drivers/usb/gadget/function/
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()
/drivers/scsi/ibmvscsi_tgt/
A Dibmvscsi_tgt.c3864 u16 tpgt; in ibmvscsis_make_tpg() local
3869 rc = kstrtou16(name + 5, 0, &tpgt); in ibmvscsis_make_tpg()
3872 tport->tport_tpgt = tpgt; in ibmvscsis_make_tpg()
/drivers/scsi/
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()
A Dscsi_transport_iscsi.c857 iscsi_flashnode_sess_attr(fnode, tpgt, ISCSI_FLASHNODE_TPGT);
4366 iscsi_session_attr(tpgt, ISCSI_PARAM_TPGT, 0);

Completed in 126 milliseconds

12