Searched refs:VIRTIO_SCSI_VQ_NUM_FIXED (Results 1 – 6 of 6) sorted by relevance
61 virtio_pci_optimal_num_queues(VIRTIO_SCSI_VQ_NUM_FIXED); in vhost_user_scsi_pci_realize()65 vpci_dev->nvectors = conf->num_queues + VIRTIO_SCSI_VQ_NUM_FIXED + 1; in vhost_user_scsi_pci_realize()
55 virtio_pci_optimal_num_queues(VIRTIO_SCSI_VQ_NUM_FIXED); in vhost_scsi_pci_realize()59 vpci_dev->nvectors = conf->num_queues + VIRTIO_SCSI_VQ_NUM_FIXED + 1; in vhost_scsi_pci_realize()
56 virtio_pci_optimal_num_queues(VIRTIO_SCSI_VQ_NUM_FIXED); in virtio_scsi_pci_realize()60 vpci_dev->nvectors = conf->num_queues + VIRTIO_SCSI_VQ_NUM_FIXED + 1; in virtio_scsi_pci_realize()
38 #define VIRTIO_SCSI_VQ_NUM_FIXED 2 macro
155 vsc->dev.nvqs = VIRTIO_SCSI_VQ_NUM_FIXED + vs->conf.num_queues; in vhost_user_scsi_connect()282 VIRTIO_SCSI_VQ_NUM_FIXED + vs->conf.num_queues); in vhost_user_scsi_realize()
256 uint32_t n = virtio_get_queue_index(req->vq) - VIRTIO_SCSI_VQ_NUM_FIXED; in virtio_scsi_save_request()1126 uint32_t total_queues = VIRTIO_SCSI_VQ_NUM_FIXED + in virtio_scsi_drained_begin()1154 uint32_t total_queues = VIRTIO_SCSI_VQ_NUM_FIXED + in virtio_scsi_drained_end()1212 s->conf.num_queues > VIRTIO_QUEUE_MAX - VIRTIO_SCSI_VQ_NUM_FIXED) { in virtio_scsi_common_realize()1216 VIRTIO_QUEUE_MAX - VIRTIO_SCSI_VQ_NUM_FIXED); in virtio_scsi_common_realize()