Home
last modified time | relevance | path

Searched refs:num_poll_vqs (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/scsi/
Dvirtio_scsi.c843 u32 num_vqs, num_poll_vqs, num_req_vqs; in virtscsi_init() local
858 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()
/linux-6.12.1/drivers/block/
Dvirtio_blk.c970 unsigned short num_poll_vqs; in init_vq() local
989 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()