Lines Matching refs:nr_maps
3301 for (i = 0; i < set->nr_maps; i++) { in hctx_idx_to_type()
3309 if (i >= set->nr_maps) in hctx_idx_to_type()
3772 for (j = 0; j < set->nr_maps; j++) { in blk_mq_init_cpu_queues()
3856 for (j = 0; j < set->nr_maps; j++) { in blk_mq_map_swqueue()
4231 if (set->nr_maps > HCTX_TYPE_POLL && in blk_mq_update_poll_flag()
4372 if (set->nr_maps == 1) in blk_mq_update_queue_map()
4392 for (i = 0; i < set->nr_maps; i++) in blk_mq_update_queue_map()
4397 BUG_ON(set->nr_maps > 1); in blk_mq_update_queue_map()
4467 if (!set->nr_maps) in blk_mq_alloc_tag_set()
4468 set->nr_maps = 1; in blk_mq_alloc_tag_set()
4469 else if (set->nr_maps > HCTX_MAX_TYPES) in blk_mq_alloc_tag_set()
4479 set->nr_maps = 1; in blk_mq_alloc_tag_set()
4486 if (set->nr_maps == 1 && set->nr_hw_queues > nr_cpu_ids) in blk_mq_alloc_tag_set()
4505 for (i = 0; i < set->nr_maps; i++) { in blk_mq_alloc_tag_set()
4526 for (i = 0; i < set->nr_maps; i++) { in blk_mq_alloc_tag_set()
4550 set->nr_maps = 1; in blk_mq_alloc_sq_tag_set()
4570 for (j = 0; j < set->nr_maps; j++) { in blk_mq_free_tag_set()
4724 if (set->nr_maps == 1 && nr_hw_queues > nr_cpu_ids) in __blk_mq_update_nr_hw_queues()
4728 if (set->nr_maps == 1 && nr_hw_queues == set->nr_hw_queues) in __blk_mq_update_nr_hw_queues()