Lines Matching refs:queue_depth
3071 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument
3082 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping()
3106 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
3305 set->queue_depth); in __blk_mq_alloc_map_and_rqs()
3749 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
3792 set->queue_depth); in __blk_mq_alloc_rq_maps()
3827 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs()
3833 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs()
3834 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_set_map_and_rqs()
3838 } while (set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
3840 if (!set->queue_depth || err) { in blk_mq_alloc_set_map_and_rqs()
3845 if (depth != set->queue_depth) in blk_mq_alloc_set_map_and_rqs()
3847 depth, set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
3932 if (!set->queue_depth) in blk_mq_alloc_tag_set()
3934 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) in blk_mq_alloc_tag_set()
3943 if (set->queue_depth > BLK_MQ_MAX_DEPTH) { in blk_mq_alloc_tag_set()
3946 set->queue_depth = BLK_MQ_MAX_DEPTH; in blk_mq_alloc_tag_set()
3962 set->queue_depth = min(64U, set->queue_depth); in blk_mq_alloc_tag_set()
4010 const struct blk_mq_ops *ops, unsigned int queue_depth, in blk_mq_alloc_sq_tag_set() argument
4017 set->queue_depth = queue_depth; in blk_mq_alloc_sq_tag_set()