/linux-6.1.9/drivers/s390/block/ |
D | dasd_genhd.c | 29 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()
|
D | scm_blk.c | 455 bdev->tag_set.nr_hw_queues = nr_requests; in scm_blk_dev_setup()
|
/linux-6.1.9/block/ |
D | blk-mq.c | 632 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 …]
|
D | bsg-lib.c | 377 set->nr_hw_queues = 1; in bsg_setup_queue()
|
D | blk-mq-tag.c | 435 nr_tags = blk_mq_is_shared_tags(flags) ? 1 : tagset->nr_hw_queues; in blk_mq_tagset_busy_iter()
|
D | elevator.c | 641 if (q->nr_hw_queues != 1 && in elevator_get_default()
|
/linux-6.1.9/drivers/block/ |
D | ublk_drv.c | 942 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 …]
|
D | z2ram.c | 355 tag_set.nr_hw_queues = 1; in z2_init()
|
/linux-6.1.9/include/scsi/ |
D | scsi_tcq.h | 32 if (hwq < shost->tag_set.nr_hw_queues) { in scsi_host_find_tag()
|
D | scsi_host.h | 624 unsigned nr_hw_queues; member
|
/linux-6.1.9/include/uapi/linux/ |
D | ublk_cmd.h | 105 __u16 nr_hw_queues; member
|
/linux-6.1.9/drivers/block/null_blk/ |
D | main.c | 351 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/ |
D | fnic_main.c | 562 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/ |
D | blk-mq.h | 509 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/ |
D | tcm_loop.c | 49 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/ |
D | queue.c | 433 mq->tag_set.nr_hw_queues = 1; in mmc_init_queue()
|
/linux-6.1.9/drivers/md/ |
D | dm-rq.c | 546 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/ |
D | aoeblk.c | 362 set->nr_hw_queues = 1; in aoeblk_gdalloc()
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | block.c | 407 dev->tag_set.nr_hw_queues = 1; in ubiblock_create()
|
/linux-6.1.9/drivers/scsi/ |
D | storvsc_drv.c | 2016 host->nr_hw_queues = storvsc_max_hw_queues; in storvsc_probe() 2018 host->nr_hw_queues = num_present_cpus; in storvsc_probe()
|
D | scsi_sysfs.c | 402 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);
|
D | virtio_scsi.c | 891 shost->nr_hw_queues = num_queues; in virtscsi_probe()
|
/linux-6.1.9/drivers/nvme/host/ |
D | apple.c | 1234 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/ |
D | pd.c | 905 disk->tag_set.nr_hw_queues = 1; in pd_probe_drive()
|
/linux-6.1.9/Documentation/block/ |
D | ublk.rst | 105 such as ``nr_hw_queues``, ``queue_depth``, and max IO request buffer size,
|