Lines Matching refs:nr_maps
3210 for (i = 0; i < set->nr_maps; i++) { in hctx_idx_to_type()
3218 if (i >= set->nr_maps) in hctx_idx_to_type()
3680 for (j = 0; j < set->nr_maps; j++) { in blk_mq_init_cpu_queues()
3764 for (j = 0; j < set->nr_maps; j++) { in blk_mq_map_swqueue()
4140 if (set->nr_maps > HCTX_TYPE_POLL && in blk_mq_update_poll_flag()
4297 if (set->nr_maps == 1) in blk_mq_update_queue_map()
4317 for (i = 0; i < set->nr_maps; i++) in blk_mq_update_queue_map()
4322 BUG_ON(set->nr_maps > 1); in blk_mq_update_queue_map()
4387 if (!set->nr_maps) in blk_mq_alloc_tag_set()
4388 set->nr_maps = 1; in blk_mq_alloc_tag_set()
4389 else if (set->nr_maps > HCTX_MAX_TYPES) in blk_mq_alloc_tag_set()
4399 set->nr_maps = 1; in blk_mq_alloc_tag_set()
4406 if (set->nr_maps == 1 && set->nr_hw_queues > nr_cpu_ids) in blk_mq_alloc_tag_set()
4413 for (i = 0; i < set->nr_maps; i++) { in blk_mq_alloc_tag_set()
4434 for (i = 0; i < set->nr_maps; i++) { in blk_mq_alloc_tag_set()
4452 set->nr_maps = 1; in blk_mq_alloc_sq_tag_set()
4472 for (j = 0; j < set->nr_maps; j++) { in blk_mq_free_tag_set()
4622 if (set->nr_maps == 1 && nr_hw_queues > nr_cpu_ids) in __blk_mq_update_nr_hw_queues()
4626 if (set->nr_maps == 1 && nr_hw_queues == set->nr_hw_queues) in __blk_mq_update_nr_hw_queues()