Lines Matching refs:i_port
1649 unsigned char i_port[VSCSI_NAMELEN], *ptr, *port_ptr; in scsiback_tpg_nexus_store() local
1668 snprintf(&i_port[0], VSCSI_NAMELEN, "%s", page); in scsiback_tpg_nexus_store()
1670 ptr = strstr(i_port, "naa."); in scsiback_tpg_nexus_store()
1674 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1677 port_ptr = &i_port[0]; in scsiback_tpg_nexus_store()
1680 ptr = strstr(i_port, "fc."); in scsiback_tpg_nexus_store()
1684 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1687 port_ptr = &i_port[3]; /* Skip over "fc." */ in scsiback_tpg_nexus_store()
1690 ptr = strstr(i_port, "iqn."); in scsiback_tpg_nexus_store()
1694 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1697 port_ptr = &i_port[0]; in scsiback_tpg_nexus_store()
1701 i_port); in scsiback_tpg_nexus_store()
1707 if (i_port[strlen(i_port) - 1] == '\n') in scsiback_tpg_nexus_store()
1708 i_port[strlen(i_port) - 1] = '\0'; in scsiback_tpg_nexus_store()