Home
last modified time | relevance | path

Searched refs:nr_hw_queues (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.1.9/drivers/s390/block/
Ddasd_genhd.c29 static unsigned int nr_hw_queues = 4; variable
34 module_param(nr_hw_queues, uint, 0444);
35 MODULE_PARM_DESC(nr_hw_queues, "Default number of hardware queues for new DASD devices");
53 block->tag_set.nr_hw_queues = nr_hw_queues; in dasd_gendisk_alloc()
Dscm_blk.c455 bdev->tag_set.nr_hw_queues = nr_requests; in scm_blk_dev_setup()
/linux-6.1.9/block/
Dblk-mq.c632 if (hctx_idx >= q->nr_hw_queues) in blk_mq_alloc_request_hctx()
1186 if (rq->q->nr_hw_queues == 1) { in blk_mq_complete_request_remote()
2166 if (hctx->queue->nr_hw_queues == 1) in blk_mq_hctx_next_cpu()
2965 (q->nr_hw_queues == 1 || !is_sync))) in blk_mq_submit_bio()
3694 unsigned int nr_hw_queues) in blk_mq_init_cpu_queues() argument
3717 if (nr_hw_queues > 1 && hctx->numa_node == NUMA_NO_NODE) in blk_mq_init_cpu_queues()
4136 for (i = 0; i < set->nr_hw_queues; i++) { in blk_mq_realloc_hw_ctxs()
4159 if (i != set->nr_hw_queues) { in blk_mq_realloc_hw_ctxs()
4160 j = q->nr_hw_queues; in blk_mq_realloc_hw_ctxs()
4163 q->nr_hw_queues = set->nr_hw_queues; in blk_mq_realloc_hw_ctxs()
[all …]
Dbsg-lib.c377 set->nr_hw_queues = 1; in bsg_setup_queue()
Dblk-mq-tag.c435 nr_tags = blk_mq_is_shared_tags(flags) ? 1 : tagset->nr_hw_queues; in blk_mq_tagset_busy_iter()
Delevator.c641 if (q->nr_hw_queues != 1 && in elevator_get_default()
/linux-6.1.9/drivers/block/
Dublk_drv.c942 end = UBLKSRV_CMD_BUF_OFFSET + ub->dev_info.nr_hw_queues * max_sz; in ublk_ch_mmap()
1013 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) { in ublk_daemon_monitor_work()
1067 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) in ublk_cancel_dev()
1144 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) in ublk_unquiesce_dev()
1183 if (ub->nr_queues_ready == ub->dev_info.nr_hw_queues) in ublk_mark_io_ready()
1214 if (ub_cmd->q_id >= ub->dev_info.nr_hw_queues) in ublk_ch_uring_cmd()
1339 int nr_queues = ub->dev_info.nr_hw_queues; in ublk_deinit_queues()
1352 int nr_queues = ub->dev_info.nr_hw_queues; in ublk_init_queues()
1462 ub->tag_set.nr_hw_queues = ub->dev_info.nr_hw_queues; in ublk_add_tag_set()
1582 if (queue >= ub->dev_info.nr_hw_queues) in ublk_ctrl_get_queue_affinity()
[all …]
Dz2ram.c355 tag_set.nr_hw_queues = 1; in z2_init()
/linux-6.1.9/include/scsi/
Dscsi_tcq.h32 if (hwq < shost->tag_set.nr_hw_queues) { in scsi_host_find_tag()
Dscsi_host.h624 unsigned nr_hw_queues; member
/linux-6.1.9/include/uapi/linux/
Dublk_cmd.h105 __u16 nr_hw_queues; member
/linux-6.1.9/drivers/block/null_blk/
Dmain.c351 int ret, nr_hw_queues; in nullb_update_nr_hw_queues() local
379 nr_hw_queues = submit_queues + poll_queues; in nullb_update_nr_hw_queues()
380 blk_mq_update_nr_hw_queues(set, nr_hw_queues); in nullb_update_nr_hw_queues()
381 ret = set->nr_hw_queues == nr_hw_queues ? 0 : -ENOMEM; in nullb_update_nr_hw_queues()
1547 if (set->nr_hw_queues == in null_map_queues()
1551 } else if (set->nr_hw_queues == in null_map_queues()
1557 set->nr_hw_queues); in null_map_queues()
1933 set->nr_hw_queues = hw_queues; in null_init_tag_set()
1937 set->nr_hw_queues += poll_queues; in null_init_tag_set()
/linux-6.1.9/drivers/scsi/fnic/
Dfnic_main.c562 host->nr_hw_queues = fnic->wq_copy_count; in fnic_scsi_drv_init()
563 if (host->nr_hw_queues > 1) in fnic_scsi_drv_init()
567 host->nr_hw_queues = fnic->wq_copy_count = 1; in fnic_scsi_drv_init()
575 host->max_id, host->max_cmd_len, host->nr_hw_queues); in fnic_scsi_drv_init()
/linux-6.1.9/include/linux/
Dblk-mq.h509 unsigned int nr_hw_queues; member
898 void blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set, int nr_hw_queues);
/linux-6.1.9/drivers/target/loopback/
Dtcm_loop.c49 module_param_named(nr_hw_queues, tcm_loop_nr_hw_queues, uint, 0644);
346 sh->nr_hw_queues = tcm_loop_nr_hw_queues; in tcm_loop_driver_probe()
/linux-6.1.9/drivers/mmc/core/
Dqueue.c433 mq->tag_set.nr_hw_queues = 1; in mmc_init_queue()
/linux-6.1.9/drivers/md/
Ddm-rq.c546 md->tag_set->nr_hw_queues = dm_get_blk_mq_nr_hw_queues(); in dm_mq_init_request_queue()
/linux-6.1.9/drivers/block/aoe/
Daoeblk.c362 set->nr_hw_queues = 1; in aoeblk_gdalloc()
/linux-6.1.9/drivers/mtd/ubi/
Dblock.c407 dev->tag_set.nr_hw_queues = 1; in ubiblock_create()
/linux-6.1.9/drivers/scsi/
Dstorvsc_drv.c2016 host->nr_hw_queues = storvsc_max_hw_queues; in storvsc_probe()
2018 host->nr_hw_queues = num_present_cpus; in storvsc_probe()
Dscsi_sysfs.c402 return snprintf(buf, 20, "%d\n", tag_set->nr_hw_queues); in show_nr_hw_queues()
404 static DEVICE_ATTR(nr_hw_queues, S_IRUGO, show_nr_hw_queues, NULL);
Dvirtio_scsi.c891 shost->nr_hw_queues = num_queues; in virtscsi_probe()
/linux-6.1.9/drivers/nvme/host/
Dapple.c1234 anv->admin_tagset.nr_hw_queues = 1; in apple_nvme_alloc_tagsets()
1251 anv->tagset.nr_hw_queues = 1; in apple_nvme_alloc_tagsets()
/linux-6.1.9/drivers/block/paride/
Dpd.c905 disk->tag_set.nr_hw_queues = 1; in pd_probe_drive()
/linux-6.1.9/Documentation/block/
Dublk.rst105 such as ``nr_hw_queues``, ``queue_depth``, and max IO request buffer size,

123