Lines Matching refs:queue_depth
3918 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument
3928 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping()
3952 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
4137 set->queue_depth); in __blk_mq_alloc_map_and_rqs()
4652 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
4685 set->queue_depth); in __blk_mq_alloc_rq_maps()
4720 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs()
4726 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs()
4727 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_set_map_and_rqs()
4731 } while (set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4733 if (!set->queue_depth || err) { in blk_mq_alloc_set_map_and_rqs()
4738 if (depth != set->queue_depth) in blk_mq_alloc_set_map_and_rqs()
4740 depth, set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4830 if (!set->queue_depth) in blk_mq_alloc_tag_set()
4832 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) in blk_mq_alloc_tag_set()
4841 if (set->queue_depth > BLK_MQ_MAX_DEPTH) { in blk_mq_alloc_tag_set()
4844 set->queue_depth = BLK_MQ_MAX_DEPTH; in blk_mq_alloc_tag_set()
4858 set->queue_depth = min(64U, set->queue_depth); in blk_mq_alloc_tag_set()
4929 const struct blk_mq_ops *ops, unsigned int queue_depth, in blk_mq_alloc_sq_tag_set() argument
4936 set->queue_depth = queue_depth; in blk_mq_alloc_sq_tag_set()