Home
last modified time | relevance | path

Searched refs:nr_requests (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/drivers/s390/block/
Dscm_blk.c29 static unsigned int nr_requests = 64; variable
32 module_param(nr_requests, uint, S_IRUGO);
33 MODULE_PARM_DESC(nr_requests, "Number of parallel requests.");
455 bdev->tag_set.nr_hw_queues = nr_requests; in scm_blk_dev_setup()
456 bdev->tag_set.queue_depth = nr_requests_per_io * nr_requests; in scm_blk_dev_setup()
555 ret = scm_alloc_rqs(nr_requests); in scm_blk_init()
/linux-4.19.296/block/
Dblk-mq-sched.c452 hctx->sched_tags = blk_mq_alloc_rq_map(set, hctx_idx, q->nr_requests, in blk_mq_sched_alloc_tags()
457 ret = blk_mq_alloc_rqs(set, hctx->sched_tags, hctx_idx, q->nr_requests); in blk_mq_sched_alloc_tags()
483 q->nr_requests = q->tag_set->queue_depth; in blk_mq_init_sched()
492 q->nr_requests = 2 * min_t(unsigned int, q->tag_set->queue_depth, in blk_mq_init_sched()
Dblk-tag.c96 if (q && depth > q->nr_requests * 2) { in init_tag_map()
97 depth = q->nr_requests * 2; in init_tag_map()
Dblk-core.c175 nr = q->nr_requests - (q->nr_requests / 8) + 1; in blk_queue_congestion_threshold()
176 if (nr > q->nr_requests) in blk_queue_congestion_threshold()
177 nr = q->nr_requests; in blk_queue_congestion_threshold()
180 nr = q->nr_requests - (q->nr_requests / 8) - (q->nr_requests / 16) - 1; in blk_queue_congestion_threshold()
1271 if (rl->count[sync] + 1 <= q->nr_requests) { in __freed_request()
1307 q->nr_requests = nr; in blk_update_nr_requests()
1323 if (rl->count[BLK_RW_SYNC] >= q->nr_requests) { in blk_update_nr_requests()
1330 if (rl->count[BLK_RW_ASYNC] >= q->nr_requests) { in blk_update_nr_requests()
1379 if (rl->count[is_sync]+1 >= q->nr_requests) { in __get_request()
1409 if (rl->count[is_sync] >= (3 * q->nr_requests / 2)) in __get_request()
Dblk-settings.c168 q->nr_requests = BLKDEV_MAX_RQ; in blk_queue_make_request()
Dblk-sysfs.c62 return queue_var_show(q->nr_requests, (page)); in queue_requests_show()
Dblk-mq.c2639 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
2908 q->nr_requests = nr; in blk_mq_update_nr_requests()
/linux-4.19.296/include/linux/
Dblkdev.h564 unsigned long nr_requests; /* Max # of requests */ member
892 return q->nr_requests; in blk_queue_depth()