Lines Matching defs:cpus_per_queue
1989 const cpumask_t *new_mask, struct nvme_queue *nvmeq, int cpus_per_queue)
1996 nvme_set_queue_cpus(mask, nvmeq, cpus_per_queue);
2023 unsigned cpu, cpus_per_queue, queues, remainder, i;
2032 cpus_per_queue = num_online_cpus() / queues;
2033 remainder = queues - (num_online_cpus() - queues * cpus_per_queue);
2051 nvme_set_queue_cpus(&mask, nvmeq, cpus_per_queue);
2052 if (cpus_weight(mask) < cpus_per_queue)
2055 nvmeq, cpus_per_queue);
2056 if (cpus_weight(mask) < cpus_per_queue)
2059 nvmeq, cpus_per_queue);
2060 if (cpus_weight(mask) < cpus_per_queue)
2063 nvmeq, cpus_per_queue);
2064 if (cpus_weight(mask) < cpus_per_queue)
2069 nvmeq, cpus_per_queue);
2070 if (cpus_weight(mask) < cpus_per_queue)
2073 nvmeq, cpus_per_queue);
2075 WARN(cpumask_weight(nvmeq->cpu_mask) != cpus_per_queue,
2085 cpus_per_queue++;