Searched refs:num_poll_vqs (Results 1 – 2 of 2) sorted by relevance
843 u32 num_vqs, num_poll_vqs, num_req_vqs; in virtscsi_init() local858 num_poll_vqs = min_t(unsigned int, virtscsi_poll_queues, in virtscsi_init()860 vscsi->io_queues[HCTX_TYPE_DEFAULT] = num_req_vqs - num_poll_vqs; in virtscsi_init()862 vscsi->io_queues[HCTX_TYPE_POLL] = num_poll_vqs; in virtscsi_init()873 for (i = VIRTIO_SCSI_VQ_BASE; i < num_vqs - num_poll_vqs; i++) { in virtscsi_init()
970 unsigned short num_poll_vqs; in init_vq() local989 num_poll_vqs = min_t(unsigned int, poll_queues, num_vqs - 1); in init_vq()991 vblk->io_queues[HCTX_TYPE_DEFAULT] = num_vqs - num_poll_vqs; in init_vq()993 vblk->io_queues[HCTX_TYPE_POLL] = num_poll_vqs; in init_vq()1011 for (i = 0; i < num_vqs - num_poll_vqs; i++) { in init_vq()