Lines Matching refs:queue_depth
3843 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument
3854 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping()
3879 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
4065 set->queue_depth); in __blk_mq_alloc_map_and_rqs()
4563 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
4596 set->queue_depth); in __blk_mq_alloc_rq_maps()
4631 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs()
4637 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs()
4638 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_set_map_and_rqs()
4642 } while (set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4644 if (!set->queue_depth || err) { in blk_mq_alloc_set_map_and_rqs()
4649 if (depth != set->queue_depth) in blk_mq_alloc_set_map_and_rqs()
4651 depth, set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4741 if (!set->queue_depth) in blk_mq_alloc_tag_set()
4743 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) in blk_mq_alloc_tag_set()
4752 if (set->queue_depth > BLK_MQ_MAX_DEPTH) { in blk_mq_alloc_tag_set()
4755 set->queue_depth = BLK_MQ_MAX_DEPTH; in blk_mq_alloc_tag_set()
4769 set->queue_depth = min(64U, set->queue_depth); in blk_mq_alloc_tag_set()
4833 const struct blk_mq_ops *ops, unsigned int queue_depth, in blk_mq_alloc_sq_tag_set() argument
4840 set->queue_depth = queue_depth; in blk_mq_alloc_sq_tag_set()