Searched refs:cpus_per_queue (Results 1 – 1 of 1) sorted by relevance
/drivers/block/ |
D | nvme-core.c | 1989 const cpumask_t *new_mask, struct nvme_queue *nvmeq, int cpus_per_queue) in nvme_add_cpus() argument 1996 nvme_set_queue_cpus(mask, nvmeq, cpus_per_queue); in nvme_add_cpus() 2023 unsigned cpu, cpus_per_queue, queues, remainder, i; in nvme_assign_io_queues() local 2032 cpus_per_queue = num_online_cpus() / queues; in nvme_assign_io_queues() 2033 remainder = queues - (num_online_cpus() - queues * cpus_per_queue); in nvme_assign_io_queues() 2051 nvme_set_queue_cpus(&mask, nvmeq, cpus_per_queue); in nvme_assign_io_queues() 2052 if (cpus_weight(mask) < cpus_per_queue) in nvme_assign_io_queues() 2055 nvmeq, cpus_per_queue); in nvme_assign_io_queues() 2056 if (cpus_weight(mask) < cpus_per_queue) in nvme_assign_io_queues() 2059 nvmeq, cpus_per_queue); in nvme_assign_io_queues() [all …]
|