Lines Matching refs:queue_depth
3643 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument
3654 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping()
3679 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
3870 set->queue_depth); in __blk_mq_alloc_map_and_rqs()
4344 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
4377 set->queue_depth); in __blk_mq_alloc_rq_maps()
4412 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs()
4418 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs()
4419 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_set_map_and_rqs()
4423 } while (set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4425 if (!set->queue_depth || err) { in blk_mq_alloc_set_map_and_rqs()
4430 if (depth != set->queue_depth) in blk_mq_alloc_set_map_and_rqs()
4432 depth, set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4522 if (!set->queue_depth) in blk_mq_alloc_tag_set()
4524 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) in blk_mq_alloc_tag_set()
4533 if (set->queue_depth > BLK_MQ_MAX_DEPTH) { in blk_mq_alloc_tag_set()
4536 set->queue_depth = BLK_MQ_MAX_DEPTH; in blk_mq_alloc_tag_set()
4550 set->queue_depth = min(64U, set->queue_depth); in blk_mq_alloc_tag_set()
4614 const struct blk_mq_ops *ops, unsigned int queue_depth, in blk_mq_alloc_sq_tag_set() argument
4621 set->queue_depth = queue_depth; in blk_mq_alloc_sq_tag_set()