Searched refs:nr_queues (Results 1 – 6 of 6) sorted by relevance
19 unsigned int nr_queues, const int q) in queue_index() argument21 return qmap->queue_offset + (q % nr_queues); in queue_index()38 unsigned int nr_queues = qmap->nr_queues; in blk_mq_map_queues() local49 if (q >= nr_queues) in blk_mq_map_queues()51 map[cpu] = queue_index(qmap, nr_queues, q++); in blk_mq_map_queues()63 if (q < nr_queues) { in blk_mq_map_queues()64 map[cpu] = queue_index(qmap, nr_queues, q++); in blk_mq_map_queues()68 map[cpu] = queue_index(qmap, nr_queues, q++); in blk_mq_map_queues()
32 for (queue = 0; queue < qmap->nr_queues; queue++) { in blk_mq_pci_map_queues()44 WARN_ON_ONCE(qmap->nr_queues > 1); in blk_mq_pci_map_queues()
30 for (queue = 0; queue < map->nr_queues; queue++) { in blk_mq_rdma_map_queues()
33 for (queue = 0; queue < qmap->nr_queues; queue++) { in blk_mq_virtio_map_queues()
2983 if (!set->map[j].nr_queues) { in blk_mq_map_swqueue()3394 set->map[HCTX_TYPE_POLL].nr_queues) in blk_mq_init_allocated_queue()3508 set->map[HCTX_TYPE_DEFAULT].nr_queues = set->nr_hw_queues; in blk_mq_update_queue_map()3623 set->map[i].nr_queues = is_kdump_kernel() ? 1 : set->nr_hw_queues; in blk_mq_alloc_tag_set()
424 !q->tag_set->map[HCTX_TYPE_POLL].nr_queues) in queue_poll_store()