Searched refs:nr_io_queues (Results 1 – 1 of 1) sorted by relevance
1470 static int nvme_cmb_qdepth(struct nvme_dev *dev, int nr_io_queues, in nvme_cmb_qdepth() argument1476 if (q_size_aligned * nr_io_queues > dev->cmb_size) { in nvme_cmb_qdepth()1477 u64 mem_per_q = div_u64(dev->cmb_size, nr_io_queues); in nvme_cmb_qdepth()2430 static size_t db_bar_size(struct nvme_dev *dev, unsigned nr_io_queues) in db_bar_size() argument2432 return 4096 + ((nr_io_queues + 1) * 8 * dev->db_stride); in db_bar_size()2439 int result, i, vecs, nr_io_queues, size; in nvme_setup_io_queues() local2441 nr_io_queues = num_possible_cpus(); in nvme_setup_io_queues()2442 result = set_queue_count(dev, nr_io_queues); in nvme_setup_io_queues()2445 if (result < nr_io_queues) in nvme_setup_io_queues()2446 nr_io_queues = result; in nvme_setup_io_queues()[all …]