Lines Matching refs:queue_depth
3491 unsigned int queue_depth, struct request *flush_rq) in blk_mq_clear_flush_rq_mapping() argument
3502 for (i = 0; i < queue_depth; i++) in blk_mq_clear_flush_rq_mapping()
3527 set->queue_depth, flush_rq); in blk_mq_exit_hctx()
3718 set->queue_depth); in __blk_mq_alloc_map_and_rqs()
4189 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
4230 set->queue_depth); in __blk_mq_alloc_rq_maps()
4265 depth = set->queue_depth; in blk_mq_alloc_set_map_and_rqs()
4271 set->queue_depth >>= 1; in blk_mq_alloc_set_map_and_rqs()
4272 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) { in blk_mq_alloc_set_map_and_rqs()
4276 } while (set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4278 if (!set->queue_depth || err) { in blk_mq_alloc_set_map_and_rqs()
4283 if (depth != set->queue_depth) in blk_mq_alloc_set_map_and_rqs()
4285 depth, set->queue_depth); in blk_mq_alloc_set_map_and_rqs()
4370 if (!set->queue_depth) in blk_mq_alloc_tag_set()
4372 if (set->queue_depth < set->reserved_tags + BLK_MQ_TAG_MIN) in blk_mq_alloc_tag_set()
4381 if (set->queue_depth > BLK_MQ_MAX_DEPTH) { in blk_mq_alloc_tag_set()
4384 set->queue_depth = BLK_MQ_MAX_DEPTH; in blk_mq_alloc_tag_set()
4400 set->queue_depth = min(64U, set->queue_depth); in blk_mq_alloc_tag_set()
4446 const struct blk_mq_ops *ops, unsigned int queue_depth, in blk_mq_alloc_sq_tag_set() argument
4453 set->queue_depth = queue_depth; in blk_mq_alloc_sq_tag_set()