Lines Matching refs:queue_depth
3583 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument
3594 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping()
3619 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
3810 set->queue_depth); in __blk_mq_alloc_map_and_rqs()
4272 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
4305 set->queue_depth); in __blk_mq_alloc_rq_maps()
4340 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs()
4346 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs()
4347 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_set_map_and_rqs()
4351 } while (set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4353 if (!set->queue_depth || err) { in blk_mq_alloc_set_map_and_rqs()
4358 if (depth != set->queue_depth) in blk_mq_alloc_set_map_and_rqs()
4360 depth, set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4450 if (!set->queue_depth) in blk_mq_alloc_tag_set()
4452 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) in blk_mq_alloc_tag_set()
4461 if (set->queue_depth > BLK_MQ_MAX_DEPTH) { in blk_mq_alloc_tag_set()
4464 set->queue_depth = BLK_MQ_MAX_DEPTH; in blk_mq_alloc_tag_set()
4480 set->queue_depth = min(64U, set->queue_depth); in blk_mq_alloc_tag_set()
4544 const struct blk_mq_ops *ops, unsigned int queue_depth, in blk_mq_alloc_sq_tag_set() argument
4551 set->queue_depth = queue_depth; in blk_mq_alloc_sq_tag_set()