Lines Matching refs:queue_depth
1441 tags = blk_mq_init_tags(set->queue_depth, set->reserved_tags, in blk_mq_init_rq_map()
1449 tags->rqs = kzalloc_node(set->queue_depth * sizeof(struct request *), in blk_mq_init_rq_map()
1463 left = rq_size * set->queue_depth; in blk_mq_init_rq_map()
1465 for (i = 0; i < set->queue_depth; ) { in blk_mq_init_rq_map()
1494 to_do = min(entries_per_page, set->queue_depth - i); in blk_mq_init_rq_map()
1608 unsigned flush_start_tag = set->queue_depth; in blk_mq_exit_hctx()
1653 unsigned flush_start_tag = set->queue_depth; in blk_mq_init_hctx()
2000 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
2151 depth = set->queue_depth; in blk_mq_alloc_rq_maps()
2157 set->queue_depth >>= 1; in blk_mq_alloc_rq_maps()
2158 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_rq_maps()
2162 } while (set->queue_depth); in blk_mq_alloc_rq_maps()
2164 if (!set->queue_depth || err) { in blk_mq_alloc_rq_maps()
2169 if (depth != set->queue_depth) in blk_mq_alloc_rq_maps()
2171 depth, set->queue_depth); in blk_mq_alloc_rq_maps()
2188 if (!set->queue_depth) in blk_mq_alloc_tag_set()
2190 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) in blk_mq_alloc_tag_set()
2196 if (set->queue_depth > BLK_MQ_MAX_DEPTH) { in blk_mq_alloc_tag_set()
2199 set->queue_depth = BLK_MQ_MAX_DEPTH; in blk_mq_alloc_tag_set()
2209 set->queue_depth = min(64U, set->queue_depth); in blk_mq_alloc_tag_set()
2252 if (!set || nr > set->queue_depth) in blk_mq_update_nr_requests()