Lines Matching refs:i_port
2232 unsigned char i_port[VHOST_SCSI_NAMELEN], *ptr, *port_ptr; in vhost_scsi_tpg_nexus_store() local
2251 snprintf(&i_port[0], VHOST_SCSI_NAMELEN, "%s", page); in vhost_scsi_tpg_nexus_store()
2253 ptr = strstr(i_port, "naa."); in vhost_scsi_tpg_nexus_store()
2257 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2261 port_ptr = &i_port[0]; in vhost_scsi_tpg_nexus_store()
2264 ptr = strstr(i_port, "fc."); in vhost_scsi_tpg_nexus_store()
2268 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2272 port_ptr = &i_port[3]; /* Skip over "fc." */ in vhost_scsi_tpg_nexus_store()
2275 ptr = strstr(i_port, "iqn."); in vhost_scsi_tpg_nexus_store()
2279 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2283 port_ptr = &i_port[0]; in vhost_scsi_tpg_nexus_store()
2287 " %s\n", i_port); in vhost_scsi_tpg_nexus_store()
2293 if (i_port[strlen(i_port)-1] == '\n') in vhost_scsi_tpg_nexus_store()
2294 i_port[strlen(i_port)-1] = '\0'; in vhost_scsi_tpg_nexus_store()