Lines Matching defs:vhost
35 #include <linux/vhost.h>
40 #include "vhost.h"
93 /* Pointer to vhost nexus memory */
101 /* Completed commands list, serviced from vhost worker thread */
149 /* event list, serviced from vhost worker thread */
171 MODULE_PARM_DESC(max_io_vqs, "Set the max number of IO virtqueues a vhost scsi device can support. The default is 128. The max is 1024.");
213 struct vhost_scsi *vhost;
238 * Global mutex to protect vhost_scsi TPG list for vhost IOCTLs and LIO
541 * This is scheduled in the vhost work queue so we are called with the owner
688 "vhost-scsi detected misaligned IO. Performance may be degraded.");
1184 * hardcoded max for vhost-scsi, then get a pre-allocated
1281 ctl_vq = &tmf->vhost->vqs[VHOST_SCSI_VQ_CTL].vq;
1282 for (i = VHOST_SCSI_VQ_IO; i < tmf->vhost->dev.nvqs; i++) {
1283 vq = &tmf->vhost->vqs[i].vq;
1295 vhost_scsi_send_tmf_resp(tmf->vhost, &tmf->svq->vq, tmf->in_iovs,
1324 tmf->vhost = vs;
1557 /* Flush both the vhost poll and vhost work */
1711 * In order to ensure individual vhost-scsi configfs
1712 * groups cannot be removed while in use by vhost ioctl,
2097 "vhost-scsi",
2301 " active TPG vhost count: %d\n",
2311 * Release the SCSI I_T Nexus to the emulated vhost Target Port
2473 * Release the virtual I_T Nexus for this vhost TPG
2573 .fabric_name = "vhost",