Searched refs:nr_read_queues (Results 1 – 1 of 1) sorted by relevance
2224 unsigned int nr_read_queues, nr_write_queues = dev->nr_write_queues; in nvme_calc_irq_sets() local2239 nr_read_queues = 0; in nvme_calc_irq_sets()2241 nr_read_queues = 0; in nvme_calc_irq_sets()2243 nr_read_queues = 1; in nvme_calc_irq_sets()2245 nr_read_queues = nrirqs - nr_write_queues; in nvme_calc_irq_sets()2248 dev->io_queues[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets()2249 affd->set_size[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets()2250 dev->io_queues[HCTX_TYPE_READ] = nr_read_queues; in nvme_calc_irq_sets()2251 affd->set_size[HCTX_TYPE_READ] = nr_read_queues; in nvme_calc_irq_sets()2252 affd->nr_sets = nr_read_queues ? 2 : 1; in nvme_calc_irq_sets()