Lines Matching refs:i_port
2186 unsigned char i_port[VHOST_SCSI_NAMELEN], *ptr, *port_ptr; in vhost_scsi_tpg_nexus_store() local
2205 snprintf(&i_port[0], VHOST_SCSI_NAMELEN, "%s", page); in vhost_scsi_tpg_nexus_store()
2207 ptr = strstr(i_port, "naa."); in vhost_scsi_tpg_nexus_store()
2211 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2215 port_ptr = &i_port[0]; in vhost_scsi_tpg_nexus_store()
2218 ptr = strstr(i_port, "fc."); in vhost_scsi_tpg_nexus_store()
2222 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2226 port_ptr = &i_port[3]; /* Skip over "fc." */ in vhost_scsi_tpg_nexus_store()
2229 ptr = strstr(i_port, "iqn."); in vhost_scsi_tpg_nexus_store()
2233 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2237 port_ptr = &i_port[0]; in vhost_scsi_tpg_nexus_store()
2241 " %s\n", i_port); in vhost_scsi_tpg_nexus_store()
2247 if (i_port[strlen(i_port)-1] == '\n') in vhost_scsi_tpg_nexus_store()
2248 i_port[strlen(i_port)-1] = '\0'; in vhost_scsi_tpg_nexus_store()