Home
last modified time | relevance | path

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

/drivers/target/iscsi/
Discsi_target_tpg.c34 struct iscsi_portal_group *iscsit_alloc_portal_group(struct iscsi_tiqn *tiqn, u16 tpgt) in iscsit_alloc_portal_group() argument
44 tpg->tpgt = tpgt; in iscsit_alloc_portal_group()
227 " while not in TPG_STATE_FREE state.\n", tpg->tpgt); in iscsit_tpg_add_portal_group()
245 tiqn->tiqn, tpg->tpgt); in iscsit_tpg_add_portal_group()
272 tpg->tpgt); in iscsit_tpg_del_portal_group()
296 tiqn->tiqn, tpg->tpgt); in iscsit_tpg_del_portal_group()
310 " active, ignoring request.\n", tpg->tpgt); in iscsit_tpg_enable_portal_group()
343 tpg->tpgt); in iscsit_tpg_enable_portal_group()
357 " inactive, ignoring request.\n", tpg->tpgt); in iscsit_tpg_disable_portal_group()
372 tpg->tpgt); in iscsit_tpg_disable_portal_group()
[all …]
Discsi_target_login.c336 sprintf(buf, "TargetPortalGroupTag=%hu", ISCSI_TPG_S(sess)->tpgt); in iscsi_login_zero_tsih_s2()
495 sprintf(buf, "TargetPortalGroupTag=%hu", ISCSI_TPG_S(sess)->tpgt); in iscsi_login_non_zero_tsih_s2()
623 conn->local_ip, conn->local_port, tpg->tpgt); in iscsi_post_login_handler()
666 tpg->tpgt); in iscsi_post_login_handler()
687 " iSCSI Target Portal Group: %hu\n", tpg->nsessions, tpg->tpgt); in iscsi_post_login_handler()
Discsi_target_configfs.c250 tpg->tpgt, name); in lio_target_call_addnptotpg()
293 tpg->tpgt, tpg_np->tpg_np->np_ip, tpg_np->tpg_np->np_port); in lio_target_call_delnpfromtpg()
1200 unsigned short int tpgt; in lio_target_tiqn_addtpg() local
1214 tpgt = (unsigned short int) simple_strtoul(tpgt_str, &end_ptr, 0); in lio_target_tiqn_addtpg()
1216 tpg = iscsit_alloc_portal_group(tiqn, tpgt); in lio_target_tiqn_addtpg()
1610 return tpg->tpgt; in lio_tpg_get_tag()
Discsi_target_nego.c905 pr_debug("Located Portal Group Object: %hu\n", conn->tpg->tpgt); in iscsi_target_locate_portal()
950 i_buf, conn->tpg->tpgt); in iscsi_target_locate_portal()
Discsi_target_core.h782 u16 tpgt; member
Discsi_target.c3230 tpg->tpgt); in iscsit_build_sendtargets_response()
4240 " iSCSI TPG: %hu to %u\n", tpg->tpgt, tpg->nsessions); in iscsit_close_session()
4522 " Group: %hu\n", session_count, tpg->tpgt); in iscsit_release_sessions_for_tpg()
/drivers/target/loopback/
Dtcm_loop.c1140 unsigned short int tpgt; in tcm_loop_make_naa_tpg() local
1149 tpgt = (unsigned short int) simple_strtoul(tpgt_str, &end_ptr, 0); in tcm_loop_make_naa_tpg()
1151 if (tpgt >= TL_TPGS_PER_HBA) { in tcm_loop_make_naa_tpg()
1153 " %u\n", tpgt, TL_TPGS_PER_HBA); in tcm_loop_make_naa_tpg()
1156 tl_tpg = &tl_hba->tl_hba_tpgs[tpgt]; in tcm_loop_make_naa_tpg()
1158 tl_tpg->tl_tpgt = tpgt; in tcm_loop_make_naa_tpg()
1170 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_make_naa_tpg()
1182 unsigned short tpgt; in tcm_loop_drop_naa_tpg() local
1185 tpgt = tl_tpg->tl_tpgt; in tcm_loop_drop_naa_tpg()
1200 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_drop_naa_tpg()
/drivers/target/
Dtarget_core_cdb.c270 u16 tpgt; in target_emulate_evpd_83() local
394 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg); in target_emulate_evpd_83()
396 tpg->se_tpg_tfo->tpg_get_wwn(tpg), tpgt); in target_emulate_evpd_83()
Dtarget_core_pr.c833 u16 tpgt, in core_scsi3_alloc_aptpl_registration() argument
883 pr_reg->pr_reg_tpgt = tpgt; in core_scsi3_alloc_aptpl_registration()
940 u16 tpgt; in __core_scsi3_check_aptpl_registration() local
950 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg); in __core_scsi3_check_aptpl_registration()
963 (pr_reg->pr_reg_tpgt == tpgt) && in __core_scsi3_check_aptpl_registration()
Dtarget_core_configfs.c1420 u16 port_rpti = 0, tpgt = 0; in target_core_dev_pr_store_attr_res_aptpl_metadata() local
1545 tpgt = (u16)arg; in target_core_dev_pr_store_attr_res_aptpl_metadata()
1574 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_core_dev_pr_store_attr_res_aptpl_metadata()
/drivers/scsi/qla4xxx/
Dql4_def.h288 int tpgt; member
Dql4_os.c1908 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_fwddb_param()
2034 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_update_session_conn_param()
4231 tddb->tpgt = sess->tpgt; in qla4xxx_get_param_ddb()
4242 tddb->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_convert_param_ddb()
4292 old_tddb->port, old_tddb->tpgt, old_tddb->ip_addr, in qla4xxx_compare_tuple_ddb()
4293 old_tddb->iscsi_name, new_tddb->port, new_tddb->tpgt, in qla4xxx_compare_tuple_ddb()
/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.c2473 iscsi_session_attr(tpgt, ISCSI_PARAM_TPGT, 0);