Searched refs:nr_read_queues (Results 1 – 1 of 1) sorted by relevance
2179 unsigned int nr_read_queues, nr_write_queues = dev->nr_write_queues; in nvme_calc_irq_sets() local2194 nr_read_queues = 0; in nvme_calc_irq_sets()2196 nr_read_queues = 0; in nvme_calc_irq_sets()2198 nr_read_queues = 1; in nvme_calc_irq_sets()2200 nr_read_queues = nrirqs - nr_write_queues; in nvme_calc_irq_sets()2203 dev->io_queues[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets()2204 affd->set_size[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets()2205 dev->io_queues[HCTX_TYPE_READ] = nr_read_queues; in nvme_calc_irq_sets()2206 affd->set_size[HCTX_TYPE_READ] = nr_read_queues; in nvme_calc_irq_sets()2207 affd->nr_sets = nr_read_queues ? 2 : 1; in nvme_calc_irq_sets()