Lines Matching refs:i_port
1587 unsigned char i_port[VSCSI_NAMELEN], *ptr, *port_ptr; in scsiback_tpg_nexus_store() local
1606 snprintf(&i_port[0], VSCSI_NAMELEN, "%s", page); in scsiback_tpg_nexus_store()
1608 ptr = strstr(i_port, "naa."); in scsiback_tpg_nexus_store()
1612 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1615 port_ptr = &i_port[0]; in scsiback_tpg_nexus_store()
1618 ptr = strstr(i_port, "fc."); in scsiback_tpg_nexus_store()
1622 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1625 port_ptr = &i_port[3]; /* Skip over "fc." */ in scsiback_tpg_nexus_store()
1628 ptr = strstr(i_port, "iqn."); in scsiback_tpg_nexus_store()
1632 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1635 port_ptr = &i_port[0]; in scsiback_tpg_nexus_store()
1639 i_port); in scsiback_tpg_nexus_store()
1645 if (i_port[strlen(i_port) - 1] == '\n') in scsiback_tpg_nexus_store()
1646 i_port[strlen(i_port) - 1] = '\0'; in scsiback_tpg_nexus_store()