Searched refs:VHOST_SCSI_NAMELEN (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/vhost/ |
H A D | scsi.c | 43 #define VHOST_SCSI_NAMELEN 256 macro 141 char tport_name[VHOST_SCSI_NAMELEN]; 2356 unsigned char i_port[VHOST_SCSI_NAMELEN], *ptr, *port_ptr; in vhost_scsi_tpg_nexus_store() 2370 if (strlen(page) >= VHOST_SCSI_NAMELEN) { in vhost_scsi_tpg_nexus_store() 2372 " max: %d\n", page, VHOST_SCSI_NAMELEN); in vhost_scsi_tpg_nexus_store() 2375 snprintf(&i_port[0], VHOST_SCSI_NAMELEN, "%s", page); in vhost_scsi_tpg_nexus_store() 2536 if (strlen(name) >= VHOST_SCSI_NAMELEN) { in vhost_scsi_make_tport() 2539 VHOST_SCSI_NAMELEN); in vhost_scsi_make_tport() 2543 snprintf(&tport->tport_name[0], VHOST_SCSI_NAMELEN, "%s", &name[off]); in vhost_scsi_make_tport()
|