Searched refs:tpgt (Results 1 - 20 of 20) sorted by relevance

/drivers/target/iscsi/
H A Discsi_target_tpg.c34 struct iscsi_portal_group *iscsit_alloc_portal_group(struct iscsi_tiqn *tiqn, u16 tpgt) argument
44 tpg->tpgt = tpgt;
237 " while not in TPG_STATE_FREE state.\n", tpg->tpgt);
255 tiqn->tiqn, tpg->tpgt);
282 tpg->tpgt);
306 tiqn->tiqn, tpg->tpgt);
321 " active, ignoring request.\n", tpg->tpgt);
354 tpg->tpgt);
372 " inactive, ignoring request.\n", tpg->tpgt);
[all...]
H A Discsi_target_login.c404 if (iscsi_change_param_sprintf(conn, "TargetPortalGroupTag=%hu", sess->tpg->tpgt))
618 if (iscsi_change_param_sprintf(conn, "TargetPortalGroupTag=%hu", sess->tpg->tpgt))
747 conn->local_ip, conn->local_port, tpg->tpgt);
791 tpg->tpgt);
812 " iSCSI Target Portal Group: %hu\n", tpg->nsessions, tpg->tpgt);
H A Discsi_target_configfs.c309 tpg->tpgt, name);
352 tpg->tpgt, tpg_np->tpg_np->np_ip, tpg_np->tpg_np->np_port);
1434 u16 tpgt; local
1448 ret = kstrtou16(tpgt_str, 0, &tpgt);
1452 tpg = iscsit_alloc_portal_group(tiqn, tpgt);
1840 return tpg->tpgt;
H A Discsi_target_nego.c1134 pr_debug("Located Portal Group Object: %hu\n", conn->tpg->tpgt);
1183 i_buf, conn->tpg->tpgt);
H A Discsi_target_core.h814 u16 tpgt; member in struct:iscsi_portal_group
H A Discsi_target.c3495 tpg->tpgt);
4489 " iSCSI TPG: %hu to %u\n", tpg->tpgt, tpg->nsessions);
4774 " Group: %hu\n", session_count, tpg->tpgt);
/drivers/target/loopback/
H A Dtcm_loop.c1259 unsigned short int tpgt; local
1268 tpgt = (unsigned short int) simple_strtoul(tpgt_str, &end_ptr, 0);
1270 if (tpgt >= TL_TPGS_PER_HBA) {
1271 pr_err("Passed tpgt: %hu exceeds TL_TPGS_PER_HBA:"
1272 " %u\n", tpgt, TL_TPGS_PER_HBA);
1275 tl_tpg = &tl_hba->tl_hba_tpgs[tpgt];
1277 tl_tpg->tl_tpgt = tpgt;
1289 config_item_name(&wwn->wwn_group.cg_item), tpgt);
1301 unsigned short tpgt; local
1304 tpgt
[all...]
/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c1098 unsigned long tpgt; local
1103 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX)
1106 if ((tpgt != 1)) {
1117 tpg->lport_tpgt = tpgt;
1222 unsigned long tpgt; local
1227 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX)
1236 tpg->lport_tpgt = tpgt;
/drivers/target/
H A Dtarget_core_spc.c277 u16 tpgt; local
387 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg);
389 tpg->se_tpg_tfo->tpg_get_wwn(tpg), tpgt);
H A Dtarget_core_pr.c774 u16 tpgt,
823 pr_reg->pr_reg_tpgt = tpgt;
878 u16 tpgt; local
888 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg);
902 (pr_reg->pr_reg_tpgt == tpgt) &&
1871 "tpgt=%hu\nport_rtpi=%hu\ntarget_lun=%u\nPR_REG_END:"
767 core_scsi3_alloc_aptpl_registration( struct t10_reservation *pr_tmpl, u64 sa_res_key, unsigned char *i_port, unsigned char *isid, u32 mapped_lun, unsigned char *t_port, u16 tpgt, u32 target_lun, int res_holder, int all_tg_pt, u8 type) argument
H A Dtarget_core_configfs.c1257 {Opt_tpgt, "tpgt=%d"},
1276 u16 port_rpti = 0, tpgt = 0; local
1393 tpgt = (u16)arg;
1422 i_port, isid, mapped_lun, t_port, tpgt, target_lun,
/drivers/scsi/csiostor/
H A Dt4fw_api_stor.h164 __be16 tpgt; member in struct:fw_rdev_wr::rdev_entry::iscsi_rdev_entry
/drivers/xen/
H A Dxen-scsiback.c1888 u16 tpgt; local
1893 ret = kstrtou16(name + 5, 10, &tpgt);
1905 tpg->tport_tpgt = tpgt;
/drivers/target/sbp/
H A Dsbp_target.c2182 unsigned long tpgt; local
2187 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX)
2202 tpg->tport_tpgt = tpgt;
/drivers/usb/gadget/legacy/
H A Dtcm_usb_gadget.c1548 unsigned long tpgt; local
1553 if (kstrtoul(name + 5, 0, &tpgt) || tpgt > UINT_MAX)
1573 tpg->tport_tpgt = tpgt;
/drivers/vhost/
H A Dscsi.c2107 unsigned long tpgt; local
2112 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX)
2123 tpg->tport_tpgt = tpgt;
/drivers/scsi/qla4xxx/
H A Dql4_os.c3533 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp);
3661 fw_ddb_entry->tgt_portal_grp = cpu_to_le16(sess->tpgt);
3770 sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp);
6261 tddb->tpgt = sess->tpgt;
6273 tddb->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp);
6328 old_tddb->port, old_tddb->tpgt, old_tddb->ip_addr,
6329 old_tddb->iscsi_name, new_tddb->port, new_tddb->tpgt,
7777 flash_tddb->tpgt = fnode_sess->tpgt;
[all...]
H A Dql4_def.h327 int tpgt; member in struct:ql4_tuple_ddb
/drivers/scsi/
H A Dlibiscsi.c3309 sscanf(buf, "%d", &session->tpgt);
3398 len = sprintf(buf, "%d\n", session->tpgt);
H A Dscsi_transport_iscsi.c855 iscsi_flashnode_sess_attr(fnode, tpgt, ISCSI_FLASHNODE_TPGT);
3964 iscsi_session_attr(tpgt, ISCSI_PARAM_TPGT, 0);

Completed in 291 milliseconds