Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/block/
Dblk-mq-sched.c467 hctx->sched_tags = blk_mq_alloc_rq_map(set, hctx_idx, q->nr_requests, in blk_mq_sched_alloc_tags()
472 ret = blk_mq_alloc_rqs(set, hctx->sched_tags, hctx_idx, q->nr_requests); in blk_mq_sched_alloc_tags()
502 q->nr_requests = q->tag_set->queue_depth; in blk_mq_init_sched()
511 q->nr_requests = 2 * min_t(unsigned int, q->tag_set->queue_depth, in blk_mq_init_sched()
Dblk-iolatency.c327 unsigned long qd = blkiolat->rqos.q->nr_requests; in scale_cookie_change()
367 unsigned long qd = iolat->blkiolat->rqos.q->nr_requests; in scale_change()
978 iolat->rq_depth.queue_depth = blkg->q->nr_requests; in iolatency_pd_init()
Dblk-settings.c116 q->nr_requests = BLKDEV_MAX_RQ; in blk_queue_make_request()
Dblk-mq.c2913 q->nr_requests = set->queue_depth; in blk_mq_init_allocated_queue()
3151 if (q->nr_requests == nr) in blk_mq_update_nr_requests()
3179 q->nr_requests = nr; in blk_mq_update_nr_requests()
Dblk-sysfs.c62 return queue_var_show(q->nr_requests, (page)); in queue_requests_show()
/Linux-v5.4/drivers/dma/
Dstm32-mdma.c278 u32 nr_requests; member
1500 if (config.request >= dmadev->nr_requests) { in stm32_mdma_of_xlate()
1535 u32 nr_channels, nr_requests; in stm32_mdma_probe() local
1551 &nr_requests); in stm32_mdma_probe()
1553 nr_requests = STM32_MDMA_MAX_REQUESTS; in stm32_mdma_probe()
1555 nr_requests); in stm32_mdma_probe()
1568 dmadev->nr_requests = nr_requests; in stm32_mdma_probe()
Dowl-dma.c1049 int ret, i, nr_channels, nr_requests; in owl_dma_probe() local
1069 ret = of_property_read_u32(np, "dma-requests", &nr_requests); in owl_dma_probe()
1076 nr_channels, nr_requests); in owl_dma_probe()
1079 od->nr_vchans = nr_requests; in owl_dma_probe()
/Linux-v5.4/Documentation/block/
Dqueue-sysfs.rst147 nr_requests (RW)
159 regulated by nr_requests.
/Linux-v5.4/include/linux/
Dblkdev.h477 unsigned long nr_requests; /* Max # of requests */ member
777 return q->nr_requests; in blk_queue_depth()
/Linux-v5.4/drivers/target/
Dtarget_core_iblock.c110 dev->dev_attrib.hw_queue_depth = q->nr_requests; in iblock_configure_device()
/Linux-v5.4/drivers/block/
Dskd_main.c505 tag, skd_max_queue_depth, q->nr_requests); in skd_mq_queue_rq()