/linux-6.6.21/drivers/target/iscsi/ |
D | iscsi_target_tpg.c | 25 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() 231 " while not in TPG_STATE_FREE state.\n", tpg->tpgt); in iscsit_tpg_add_portal_group() 249 tiqn->tiqn, tpg->tpgt); in iscsit_tpg_add_portal_group() 275 tpg->tpgt); in iscsit_tpg_del_portal_group() 297 tiqn->tiqn, tpg->tpgt); in iscsit_tpg_del_portal_group() 311 " active, ignoring request.\n", tpg->tpgt); in iscsit_tpg_enable_portal_group() 342 tpg->tpgt); in iscsit_tpg_enable_portal_group() 359 " inactive, ignoring request.\n", tpg->tpgt); in iscsit_tpg_disable_portal_group() 374 tpg->tpgt); in iscsit_tpg_disable_portal_group() [all …]
|
D | iscsi_target_configfs.c | 221 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()
|
D | iscsi_target_login.c | 397 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()
|
D | iscsi_target_erl1.c | 1120 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()
|
D | iscsi_target_nego.c | 1260 pr_debug("Located Portal Group Object: %hu\n", conn->tpg->tpgt); in iscsi_target_locate_portal() 1309 i_buf, conn->tpg->tpgt); in iscsi_target_locate_portal()
|
D | iscsi_target_util.c | 913 sess->tpg->tpg_tiqn->tiqn, (u32)sess->tpg->tpgt); in iscsit_handle_nopin_response_timeout()
|
/linux-6.6.21/drivers/target/tcm_remote/ |
D | tcm_remote.c | 94 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-6.6.21/drivers/target/loopback/ |
D | tcm_loop.c | 920 unsigned long tpgt; in tcm_loop_make_naa_tpg() local 926 if (kstrtoul(name+5, 10, &tpgt)) in tcm_loop_make_naa_tpg() 929 if (tpgt >= TL_TPGS_PER_HBA) { in tcm_loop_make_naa_tpg() 931 tpgt, TL_TPGS_PER_HBA); in tcm_loop_make_naa_tpg() 934 tl_tpg = &tl_hba->tl_hba_tpgs[tpgt]; in tcm_loop_make_naa_tpg() 936 tl_tpg->tl_tpgt = tpgt; in tcm_loop_make_naa_tpg() 946 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_make_naa_tpg() 957 unsigned short tpgt; in tcm_loop_drop_naa_tpg() local 960 tpgt = tl_tpg->tl_tpgt; in tcm_loop_drop_naa_tpg() 975 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_drop_naa_tpg()
|
/linux-6.6.21/drivers/scsi/elx/efct/ |
D | efct_lio.c | 114 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 …]
|
D | efct_lio.h | 170 unsigned short tpgt; member
|
/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 989 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()
|
/linux-6.6.21/include/scsi/ |
D | libiscsi.h | 316 int tpgt; member
|
D | scsi_transport_iscsi.h | 392 int tpgt; member
|
/linux-6.6.21/drivers/target/sbp/ |
D | sbp_target.c | 1964 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()
|
/linux-6.6.21/drivers/target/ |
D | target_core_pr.c | 828 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()
|
D | target_core_spc.c | 293 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()
|
D | target_core_configfs.c | 2033 u16 tpgt = 0; in target_pr_res_aptpl_metadata_store() local 2162 tpgt = (u16)arg; in target_pr_res_aptpl_metadata_store() 2194 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_pr_res_aptpl_metadata_store()
|
/linux-6.6.21/drivers/scsi/csiostor/ |
D | t4fw_api_stor.h | 164 __be16 tpgt; member
|
/linux-6.6.21/drivers/xen/ |
D | xen-scsiback.c | 1752 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-6.6.21/drivers/vhost/ |
D | scsi.c | 2434 u16 tpgt; in vhost_scsi_make_tpg() local 2439 if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET) in vhost_scsi_make_tpg() 2450 tpg->tport_tpgt = tpgt; in vhost_scsi_make_tpg()
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | f_tcm.c | 1318 unsigned long tpgt; in usbg_make_tpg() local 1325 if (kstrtoul(name + 5, 0, &tpgt) || tpgt > UINT_MAX) in usbg_make_tpg() 1363 tpg->tport_tpgt = tpgt; in usbg_make_tpg()
|
/linux-6.6.21/include/target/iscsi/ |
D | iscsi_target_core.h | 824 u16 tpgt; member
|
/linux-6.6.21/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 3579 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_from_fwddb_param() 3706 fw_ddb_entry->tgt_portal_grp = cpu_to_le16(sess->tpgt); in qla4xxx_copy_to_fwddb_param() 3815 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_copy_to_sess_conn_params() 6292 tddb->tpgt = sess->tpgt; in qla4xxx_get_param_ddb() 6304 tddb->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); in qla4xxx_convert_param_ddb() 6355 old_tddb->port, old_tddb->tpgt, old_tddb->ip_addr, in qla4xxx_compare_tuple_ddb() 6356 old_tddb->iscsi_name, new_tddb->port, new_tddb->tpgt, in qla4xxx_compare_tuple_ddb() 7802 flash_tddb->tpgt = fnode_sess->tpgt; in qla4xxx_sysfs_ddb_logout() 8041 rc = sprintf(buf, "%u\n", fnode_sess->tpgt); in qla4xxx_sysfs_ddb_get_param() 8279 fnode_sess->tpgt = *(uint16_t *)fnode_param->value; in qla4xxx_sysfs_ddb_set_param()
|
D | ql4_def.h | 338 int tpgt; member
|
/linux-6.6.21/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.c | 3873 u16 tpgt; in ibmvscsis_make_tpg() local 3878 rc = kstrtou16(name + 5, 0, &tpgt); in ibmvscsis_make_tpg() 3881 tport->tport_tpgt = tpgt; in ibmvscsis_make_tpg()
|