nr_queues          19 block/blk-mq-cpumap.c 		       unsigned int nr_queues, const int q)
nr_queues          21 block/blk-mq-cpumap.c 	return qmap->queue_offset + (q % nr_queues);
nr_queues          38 block/blk-mq-cpumap.c 	unsigned int nr_queues = qmap->nr_queues;
nr_queues          49 block/blk-mq-cpumap.c 		if (q >= nr_queues)
nr_queues          51 block/blk-mq-cpumap.c 		map[cpu] = queue_index(qmap, nr_queues, q++);
nr_queues          63 block/blk-mq-cpumap.c 		if (q < nr_queues) {
nr_queues          64 block/blk-mq-cpumap.c 			map[cpu] = queue_index(qmap, nr_queues, q++);
nr_queues          68 block/blk-mq-cpumap.c 				map[cpu] = queue_index(qmap, nr_queues, q++);
nr_queues          32 block/blk-mq-pci.c 	for (queue = 0; queue < qmap->nr_queues; queue++) {
nr_queues          44 block/blk-mq-pci.c 	WARN_ON_ONCE(qmap->nr_queues > 1);
nr_queues          30 block/blk-mq-rdma.c 	for (queue = 0; queue < map->nr_queues; queue++) {
nr_queues          33 block/blk-mq-virtio.c 	for (queue = 0; queue < qmap->nr_queues; queue++) {
nr_queues        2511 block/blk-mq.c 			if (!set->map[j].nr_queues) {
nr_queues        2885 block/blk-mq.c 	q->nr_queues = nr_hw_queues(set);
nr_queues        2886 block/blk-mq.c 	q->queue_hw_ctx = kcalloc_node(q->nr_queues, sizeof(*(q->queue_hw_ctx)),
nr_queues        2905 block/blk-mq.c 	    set->map[HCTX_TYPE_POLL].nr_queues)
nr_queues        3018 block/blk-mq.c 		set->map[HCTX_TYPE_DEFAULT].nr_queues = set->nr_hw_queues;
nr_queues        3112 block/blk-mq.c 		set->map[i].nr_queues = is_kdump_kernel() ? 1 : set->nr_hw_queues;
nr_queues         405 block/blk-sysfs.c 	    !q->tag_set->map[HCTX_TYPE_POLL].nr_queues)
nr_queues          87 drivers/block/null_blk.h 	unsigned int nr_queues;
nr_queues        1278 drivers/block/null_blk_main.c 	if (nullb->nr_queues != 1)
nr_queues        1279 drivers/block/null_blk_main.c 		index = raw_smp_processor_id() / ((nr_cpu_ids + nullb->nr_queues - 1) / nullb->nr_queues);
nr_queues        1379 drivers/block/null_blk_main.c 	for (i = 0; i < nullb->nr_queues; i++)
nr_queues        1467 drivers/block/null_blk_main.c 		nullb->nr_queues++;
nr_queues        1523 drivers/block/null_blk_main.c 		nullb->nr_queues++;
nr_queues        1850 drivers/char/virtio_console.c 	u32 i, j, nr_ports, nr_queues;
nr_queues        1854 drivers/char/virtio_console.c 	nr_queues = use_multiport(portdev) ? (nr_ports + 1) * 2 : 2;
nr_queues        1856 drivers/char/virtio_console.c 	vqs = kmalloc_array(nr_queues, sizeof(struct virtqueue *), GFP_KERNEL);
nr_queues        1857 drivers/char/virtio_console.c 	io_callbacks = kmalloc_array(nr_queues, sizeof(vq_callback_t *),
nr_queues        1859 drivers/char/virtio_console.c 	io_names = kmalloc_array(nr_queues, sizeof(char *), GFP_KERNEL);
nr_queues        1897 drivers/char/virtio_console.c 	err = virtio_find_vqs(portdev->vdev, nr_queues, vqs,
nr_queues          85 drivers/crypto/cavium/cpt/cptvf.h 	u32 nr_queues;	/* Number of queues supported */
nr_queues          91 drivers/crypto/cavium/cpt/cptvf.h 	for (i = 0, q = &qinfo->queue[i]; i < qinfo->nr_queues; i++, \
nr_queues         110 drivers/crypto/cavium/cpt/cptvf.h 	u32 nr_queues;
nr_queues          42 drivers/crypto/cavium/cpt/cptvf_main.c 	if (cptvf->nr_queues) {
nr_queues          44 drivers/crypto/cavium/cpt/cptvf_main.c 			 cptvf->nr_queues);
nr_queues          47 drivers/crypto/cavium/cpt/cptvf_main.c 	for (i = 0; i < cptvf->nr_queues; i++) {
nr_queues          69 drivers/crypto/cavium/cpt/cptvf_main.c 	if (cptvf->nr_queues) {
nr_queues          71 drivers/crypto/cavium/cpt/cptvf_main.c 			 cptvf->nr_queues);
nr_queues          74 drivers/crypto/cavium/cpt/cptvf_main.c 	for (i = 0; i < cptvf->nr_queues; i++)
nr_queues         100 drivers/crypto/cavium/cpt/cptvf_main.c 	pqinfo->nr_queues = 0;
nr_queues         104 drivers/crypto/cavium/cpt/cptvf_main.c 				u32 nr_queues)
nr_queues         111 drivers/crypto/cavium/cpt/cptvf_main.c 	pqinfo->nr_queues = nr_queues;
nr_queues         139 drivers/crypto/cavium/cpt/cptvf_main.c static int init_pending_queues(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues)
nr_queues         144 drivers/crypto/cavium/cpt/cptvf_main.c 	if (!nr_queues)
nr_queues         147 drivers/crypto/cavium/cpt/cptvf_main.c 	ret = alloc_pending_queues(&cptvf->pqinfo, qlen, nr_queues);
nr_queues         150 drivers/crypto/cavium/cpt/cptvf_main.c 			nr_queues);
nr_queues         161 drivers/crypto/cavium/cpt/cptvf_main.c 	if (!cptvf->nr_queues)
nr_queues         165 drivers/crypto/cavium/cpt/cptvf_main.c 		 cptvf->nr_queues);
nr_queues         179 drivers/crypto/cavium/cpt/cptvf_main.c 	for (i = 0; i < cptvf->nr_queues; i++) {
nr_queues         221 drivers/crypto/cavium/cpt/cptvf_main.c 	for (i = 0; i < cptvf->nr_queues; i++) {
nr_queues         289 drivers/crypto/cavium/cpt/cptvf_main.c 			cptvf->nr_queues);
nr_queues         300 drivers/crypto/cavium/cpt/cptvf_main.c 	if (!cptvf->nr_queues)
nr_queues         304 drivers/crypto/cavium/cpt/cptvf_main.c 		 cptvf->nr_queues);
nr_queues         315 drivers/crypto/cavium/cpt/cptvf_main.c static int cptvf_sw_init(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues)
nr_queues         323 drivers/crypto/cavium/cpt/cptvf_main.c 	nr_queues = min_t(u32, nr_queues, max_dev_queues);
nr_queues         324 drivers/crypto/cavium/cpt/cptvf_main.c 	cptvf->nr_queues = nr_queues;
nr_queues         329 drivers/crypto/cavium/cpt/cptvf_main.c 			nr_queues);
nr_queues         333 drivers/crypto/cavium/cpt/cptvf_main.c 	ret = init_pending_queues(cptvf, qlen, nr_queues);
nr_queues         336 drivers/crypto/cavium/cpt/cptvf_main.c 			nr_queues);
nr_queues         561 drivers/crypto/cavium/cpt/cptvf_main.c 	if (unlikely(qno >= cptvf->nr_queues))
nr_queues         233 drivers/crypto/cavium/cpt/cptvf_reqmanager.c 	if (unlikely(qno >= cptvf->nr_queues)) {
nr_queues         235 drivers/crypto/cavium/cpt/cptvf_reqmanager.c 			qno, cptvf->nr_queues);
nr_queues         551 drivers/crypto/cavium/cpt/cptvf_reqmanager.c 	if (unlikely(qno > cptvf->nr_queues)) {
nr_queues         145 drivers/crypto/cavium/nitrox/nitrox_dev.h 	int nr_queues;
nr_queues         235 drivers/crypto/cavium/nitrox/nitrox_dev.h 	u16 nr_queues;
nr_queues         123 drivers/crypto/cavium/nitrox/nitrox_hal.c 	for (i = 0; i < ndev->nr_queues; i++) {
nr_queues         239 drivers/crypto/cavium/nitrox/nitrox_hal.c 	for (i = 0; i < ndev->nr_queues; i++)
nr_queues         355 drivers/crypto/cavium/nitrox/nitrox_hal.c 	for (ring = 0; ring < ndev->nr_queues; ring++) {
nr_queues         329 drivers/crypto/cavium/nitrox/nitrox_isr.c 		if (qvec->ring >= ndev->nr_queues)
nr_queues          91 drivers/crypto/cavium/nitrox/nitrox_lib.c 	for (i = 0; i < ndev->nr_queues; i++) {
nr_queues         102 drivers/crypto/cavium/nitrox/nitrox_lib.c 	for (i = 0; i < ndev->nr_queues; i++) {
nr_queues         142 drivers/crypto/cavium/nitrox/nitrox_lib.c 	for (i = 0; i < ndev->nr_queues; i++) {
nr_queues         155 drivers/crypto/cavium/nitrox/nitrox_lib.c 	ndev->pkt_inq = kcalloc_node(ndev->nr_queues,
nr_queues         161 drivers/crypto/cavium/nitrox/nitrox_lib.c 	for (i = 0; i < ndev->nr_queues; i++) {
nr_queues         486 drivers/crypto/cavium/nitrox/nitrox_main.c 	ndev->nr_queues = min_t(u32, MAX_PF_QUEUES, num_online_cpus());
nr_queues          65 drivers/crypto/cavium/nitrox/nitrox_mbx.c 		vfdev->nr_queues = vfdev->msg.data;
nr_queues          73 drivers/crypto/cavium/nitrox/nitrox_mbx.c 		vfdev->nr_queues = 0;
nr_queues         420 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c 	qno = smp_processor_id() % ndev->nr_queues;
nr_queues          58 drivers/crypto/cavium/nitrox/nitrox_sriov.c 	int nr_queues = 0;
nr_queues          62 drivers/crypto/cavium/nitrox/nitrox_sriov.c 		nr_queues = MAX_PF_QUEUES;
nr_queues          65 drivers/crypto/cavium/nitrox/nitrox_sriov.c 		nr_queues = 8;
nr_queues          68 drivers/crypto/cavium/nitrox/nitrox_sriov.c 		nr_queues = 4;
nr_queues          71 drivers/crypto/cavium/nitrox/nitrox_sriov.c 		nr_queues = 2;
nr_queues          74 drivers/crypto/cavium/nitrox/nitrox_sriov.c 		nr_queues = 1;
nr_queues          78 drivers/crypto/cavium/nitrox/nitrox_sriov.c 	return nr_queues;
nr_queues         428 drivers/nvme/host/pci.c 		map->nr_queues = dev->io_queues[i];
nr_queues         429 drivers/nvme/host/pci.c 		if (!map->nr_queues) {
nr_queues         443 drivers/nvme/host/pci.c 		qoff += map->nr_queues;
nr_queues         444 drivers/nvme/host/pci.c 		offset += map->nr_queues;
nr_queues        2242 drivers/nvme/host/pci.c 	int nr_queues = dev->online_queues - 1, sent = 0;
nr_queues        2247 drivers/nvme/host/pci.c 	while (nr_queues > 0) {
nr_queues        2248 drivers/nvme/host/pci.c 		if (nvme_delete_queue(&dev->queues[nr_queues], opcode))
nr_queues        2250 drivers/nvme/host/pci.c 		nr_queues--;
nr_queues        2254 drivers/nvme/host/pci.c 		struct nvme_queue *nvmeq = &dev->queues[nr_queues + sent];
nr_queues        2262 drivers/nvme/host/pci.c 		if (nr_queues)
nr_queues        1828 drivers/nvme/host/rdma.c 		set->map[HCTX_TYPE_DEFAULT].nr_queues =
nr_queues        1831 drivers/nvme/host/rdma.c 		set->map[HCTX_TYPE_READ].nr_queues =
nr_queues        1837 drivers/nvme/host/rdma.c 		set->map[HCTX_TYPE_DEFAULT].nr_queues =
nr_queues        1840 drivers/nvme/host/rdma.c 		set->map[HCTX_TYPE_READ].nr_queues =
nr_queues        1851 drivers/nvme/host/rdma.c 		set->map[HCTX_TYPE_POLL].nr_queues =
nr_queues        2185 drivers/nvme/host/tcp.c 		set->map[HCTX_TYPE_DEFAULT].nr_queues =
nr_queues        2188 drivers/nvme/host/tcp.c 		set->map[HCTX_TYPE_READ].nr_queues =
nr_queues        2194 drivers/nvme/host/tcp.c 		set->map[HCTX_TYPE_DEFAULT].nr_queues =
nr_queues        2197 drivers/nvme/host/tcp.c 		set->map[HCTX_TYPE_READ].nr_queues =
nr_queues        2206 drivers/nvme/host/tcp.c 		set->map[HCTX_TYPE_POLL].nr_queues =
nr_queues         138 drivers/s390/cio/qdio_setup.c static int __qdio_allocate_qs(struct qdio_q **irq_ptr_qs, int nr_queues)
nr_queues         143 drivers/s390/cio/qdio_setup.c 	for (i = 0; i < nr_queues; i++) {
nr_queues          81 include/linux/blk-mq.h 	unsigned int nr_queues;
nr_queues         414 include/linux/blkdev.h 	unsigned int		nr_queues;
nr_queues         252 net/sunrpc/sched.c static void __rpc_init_priority_wait_queue(struct rpc_wait_queue *queue, const char *qname, unsigned char nr_queues)
nr_queues         259 net/sunrpc/sched.c 	queue->maxpriority = nr_queues - 1;
nr_queues         161 tools/perf/util/arm-spe.c 	for (i = 0; i < queues->nr_queues; i++) {
nr_queues         149 tools/perf/util/auxtrace.c static struct auxtrace_queue *auxtrace_alloc_queue_array(unsigned int nr_queues)
nr_queues         155 tools/perf/util/auxtrace.c 	if (nr_queues > max_nr_queues)
nr_queues         158 tools/perf/util/auxtrace.c 	queue_array = calloc(nr_queues, sizeof(struct auxtrace_queue));
nr_queues         162 tools/perf/util/auxtrace.c 	for (i = 0; i < nr_queues; i++) {
nr_queues         172 tools/perf/util/auxtrace.c 	queues->nr_queues = AUXTRACE_INIT_NR_QUEUES;
nr_queues         173 tools/perf/util/auxtrace.c 	queues->queue_array = auxtrace_alloc_queue_array(queues->nr_queues);
nr_queues         182 tools/perf/util/auxtrace.c 	unsigned int nr_queues = queues->nr_queues;
nr_queues         186 tools/perf/util/auxtrace.c 	if (!nr_queues)
nr_queues         187 tools/perf/util/auxtrace.c 		nr_queues = AUXTRACE_INIT_NR_QUEUES;
nr_queues         189 tools/perf/util/auxtrace.c 	while (nr_queues && nr_queues < new_nr_queues)
nr_queues         190 tools/perf/util/auxtrace.c 		nr_queues <<= 1;
nr_queues         192 tools/perf/util/auxtrace.c 	if (nr_queues < queues->nr_queues || nr_queues < new_nr_queues)
nr_queues         195 tools/perf/util/auxtrace.c 	queue_array = auxtrace_alloc_queue_array(nr_queues);
nr_queues         199 tools/perf/util/auxtrace.c 	for (i = 0; i < queues->nr_queues; i++) {
nr_queues         208 tools/perf/util/auxtrace.c 	queues->nr_queues = nr_queues;
nr_queues         243 tools/perf/util/auxtrace.c 	if (idx >= queues->nr_queues) {
nr_queues         408 tools/perf/util/auxtrace.c 	for (i = 0; i < queues->nr_queues; i++) {
nr_queues         420 tools/perf/util/auxtrace.c 	queues->nr_queues = 0;
nr_queues         230 tools/perf/util/auxtrace.h 	unsigned int		nr_queues;
nr_queues         585 tools/perf/util/cs-etm.c 	for (i = 0; i < queues->nr_queues; i++) {
nr_queues         836 tools/perf/util/cs-etm.c 	for (i = 0; i < etm->queues.nr_queues; i++) {
nr_queues        2067 tools/perf/util/cs-etm.c 	for (i = 0; i < queues->nr_queues; i++) {
nr_queues         211 tools/perf/util/intel-bts.c 	for (i = 0; i < bts->queues.nr_queues; i++) {
nr_queues         542 tools/perf/util/intel-bts.c 	for (i = 0; i < queues->nr_queues; i++) {
nr_queues         713 tools/perf/util/intel-bts.c 	for (i = 0; i < queues->nr_queues; i++) {
nr_queues        1125 tools/perf/util/intel-pt.c 	for (i = 0; i < pt->queues.nr_queues; i++) {
nr_queues        2075 tools/perf/util/intel-pt.c 	for (i = 0; i < pt->queues.nr_queues; i++) {
nr_queues        2310 tools/perf/util/intel-pt.c 	for (i = 0; i < queues->nr_queues; i++) {
nr_queues        2333 tools/perf/util/intel-pt.c 	if (cpu < 0 || !pt->queues.nr_queues)
nr_queues        2336 tools/perf/util/intel-pt.c 	if ((unsigned)cpu >= pt->queues.nr_queues)
nr_queues        2337 tools/perf/util/intel-pt.c 		i = pt->queues.nr_queues - 1;
nr_queues        2349 tools/perf/util/intel-pt.c 	for (; j < pt->queues.nr_queues; j++) {
nr_queues        2617 tools/perf/util/intel-pt.c 	for (i = 0; i < queues->nr_queues; i++) {
nr_queues         202 tools/perf/util/s390-cpumsf.c 	if (!sf->use_logfile || sf->queues.nr_queues <= sample->cpu)
nr_queues         824 tools/perf/util/s390-cpumsf.c 	for (i = 0; i < sf->queues.nr_queues; i++) {
nr_queues        1018 tools/perf/util/s390-cpumsf.c 	for (i = 0; i < queues->nr_queues; i++) {