Lines Matching refs:i_port
1651 unsigned char i_port[VSCSI_NAMELEN], *ptr, *port_ptr; in scsiback_tpg_nexus_store() local
1670 snprintf(&i_port[0], VSCSI_NAMELEN, "%s", page); in scsiback_tpg_nexus_store()
1672 ptr = strstr(i_port, "naa."); in scsiback_tpg_nexus_store()
1676 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1679 port_ptr = &i_port[0]; in scsiback_tpg_nexus_store()
1682 ptr = strstr(i_port, "fc."); in scsiback_tpg_nexus_store()
1686 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1689 port_ptr = &i_port[3]; /* Skip over "fc." */ in scsiback_tpg_nexus_store()
1692 ptr = strstr(i_port, "iqn."); in scsiback_tpg_nexus_store()
1696 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1699 port_ptr = &i_port[0]; in scsiback_tpg_nexus_store()
1703 i_port); in scsiback_tpg_nexus_store()
1709 if (i_port[strlen(i_port) - 1] == '\n') in scsiback_tpg_nexus_store()
1710 i_port[strlen(i_port) - 1] = '\0'; in scsiback_tpg_nexus_store()