Lines Matching refs:tport
150 /* SCSI protocol the tport is providing */
174 struct scsiback_tport *tport;
226 tpg->tport->tport_name, pending_req->v2p->lun,
890 if (!strcmp(phy, tpg_entry->tport->tport_name) ||
1254 static char *scsiback_dump_proto_id(struct scsiback_tport *tport)
1256 switch (tport->tport_proto_id) {
1274 struct scsiback_tport *tport = tpg->tport;
1276 return &tport->tport_name[0];
1291 struct scsiback_tport *tport;
1296 tport = kzalloc(sizeof(struct scsiback_tport), GFP_KERNEL);
1297 if (!tport)
1300 tport->tport_wwpn = wwpn;
1307 tport->tport_proto_id = SCSI_PROTOCOL_SAS;
1312 tport->tport_proto_id = SCSI_PROTOCOL_FCP;
1318 tport->tport_proto_id = SCSI_PROTOCOL_ISCSI;
1323 kfree(tport);
1329 scsiback_dump_proto_id(tport), VSCSI_NAMELEN);
1330 kfree(tport);
1333 snprintf(&tport->tport_name[0], VSCSI_NAMELEN, "%s", &name[off]);
1336 scsiback_dump_proto_id(tport), name);
1338 return &tport->tport_wwn;
1343 struct scsiback_tport *tport = container_of(wwn,
1347 scsiback_dump_proto_id(tport), tport->tport_name);
1349 kfree(tport);
1551 scsiback_dump_proto_id(tpg->tport),
1592 struct scsiback_tport *tport_wwn = tpg->tport;
1710 struct scsiback_tport *tport = container_of(wwn,
1730 tpg->tport = tport;
1733 ret = core_tpg_register(wwn, &tpg->se_tpg, tport->tport_proto_id);