/Linux-v6.6/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-v6.6/block/ |
D | blk-mq.c | 640 if (hctx_idx >= q->nr_hw_queues) in blk_mq_alloc_request_hctx() 1215 if (rq->q->nr_hw_queues == 1) { in blk_mq_complete_request_remote() 2173 if (hctx->queue->nr_hw_queues == 1) in blk_mq_hctx_next_cpu() 3018 (hctx->dispatch_busy && (q->nr_hw_queues == 1 || !is_sync))) { in blk_mq_submit_bio() 3751 unsigned int nr_hw_queues) in blk_mq_init_cpu_queues() argument 3774 if (nr_hw_queues > 1 && hctx->numa_node == NUMA_NO_NODE) in blk_mq_init_cpu_queues() 4192 for (i = 0; i < set->nr_hw_queues; i++) { in blk_mq_realloc_hw_ctxs() 4215 if (i != set->nr_hw_queues) { in blk_mq_realloc_hw_ctxs() 4216 j = q->nr_hw_queues; in blk_mq_realloc_hw_ctxs() 4219 q->nr_hw_queues = set->nr_hw_queues; in blk_mq_realloc_hw_ctxs() [all …]
|
D | bsg-lib.c | 378 set->nr_hw_queues = 1; in bsg_setup_queue()
|
D | blk-mq-tag.c | 442 nr_tags = blk_mq_is_shared_tags(flags) ? 1 : tagset->nr_hw_queues; in blk_mq_tagset_busy_iter()
|
D | elevator.c | 575 if (q->nr_hw_queues != 1 && in elevator_get_default()
|
/Linux-v6.6/drivers/ufs/core/ |
D | ufs-mcq.c | 193 host->nr_hw_queues += hba->nr_queues[i]; in ufshcd_mcq_config_nr_queues() 195 hba->nr_hw_queues = host->nr_hw_queues; in ufshcd_mcq_config_nr_queues() 205 for (i = 0; i < hba->nr_hw_queues; i++) { in ufshcd_mcq_memory_alloc() 336 for (i = 0; i < hba->nr_hw_queues; i++) { in ufshcd_mcq_make_queues_operational() 377 if (i < hba->nr_hw_queues - hba->nr_queues[HCTX_TYPE_POLL]) in ufshcd_mcq_make_queues_operational() 430 hba->nr_hw_queues * sizeof(struct ufs_hw_queue), in ufshcd_mcq_init() 437 for (i = 0; i < hba->nr_hw_queues; i++) { in ufshcd_mcq_init()
|
/Linux-v6.6/drivers/block/ |
D | ublk_drv.c | 1373 end = UBLKSRV_CMD_BUF_OFFSET + ub->dev_info.nr_hw_queues * max_sz; in ublk_ch_mmap() 1449 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) { in ublk_daemon_monitor_work() 1509 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) in ublk_cancel_dev() 1586 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) in ublk_unquiesce_dev() 1628 if (ub->nr_queues_ready == ub->dev_info.nr_hw_queues) in ublk_mark_io_ready() 1679 if (ub_cmd->q_id >= ub->dev_info.nr_hw_queues) in __ublk_ch_uring_cmd() 1873 if (q_id >= ub->dev_info.nr_hw_queues) in ublk_check_and_get_req() 1981 int nr_queues = ub->dev_info.nr_hw_queues; in ublk_deinit_queues() 1994 int nr_queues = ub->dev_info.nr_hw_queues; in ublk_init_queues() 2106 ub->tag_set.nr_hw_queues = ub->dev_info.nr_hw_queues; in ublk_add_tag_set() [all …]
|
D | z2ram.c | 353 tag_set.nr_hw_queues = 1; in z2_init()
|
/Linux-v6.6/include/scsi/ |
D | scsi_tcq.h | 32 if (hwq < shost->tag_set.nr_hw_queues) { in scsi_host_find_tag()
|
D | scsi_host.h | 627 unsigned nr_hw_queues; member
|
/Linux-v6.6/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() 1604 if (set->nr_hw_queues == in null_map_queues() 1608 } else if (set->nr_hw_queues == in null_map_queues() 1614 set->nr_hw_queues); in null_map_queues() 1996 set->nr_hw_queues = hw_queues; in null_init_tag_set() 2000 set->nr_hw_queues += poll_queues; in null_init_tag_set()
|
/Linux-v6.6/include/uapi/linux/ |
D | ublk_cmd.h | 216 __u16 nr_hw_queues; member
|
/Linux-v6.6/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-v6.6/include/linux/ |
D | blk-mq.h | 502 unsigned int nr_hw_queues; member 899 void blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set, int nr_hw_queues);
|
/Linux-v6.6/drivers/target/loopback/ |
D | tcm_loop.c | 49 module_param_named(nr_hw_queues, tcm_loop_nr_hw_queues, uint, 0644); 339 sh->nr_hw_queues = tcm_loop_nr_hw_queues; in tcm_loop_driver_probe()
|
/Linux-v6.6/drivers/md/ |
D | dm-rq.c | 549 md->tag_set->nr_hw_queues = dm_get_blk_mq_nr_hw_queues(); in dm_mq_init_request_queue()
|
/Linux-v6.6/drivers/mmc/core/ |
D | queue.c | 433 mq->tag_set.nr_hw_queues = 1; in mmc_init_queue()
|
/Linux-v6.6/drivers/mtd/ubi/ |
D | block.c | 386 dev->tag_set.nr_hw_queues = 1; in ubiblock_create()
|
/Linux-v6.6/drivers/block/aoe/ |
D | aoeblk.c | 362 set->nr_hw_queues = 1; in aoeblk_gdalloc()
|
/Linux-v6.6/drivers/ufs/host/ |
D | ufs-qcom.c | 1702 res_mcq->end = res_mcq->start + hba->nr_hw_queues * MCQ_QCFG_SIZE - 1; in ufs_qcom_mcq_config_resource() 1808 nr_irqs = hba->nr_hw_queues - hba->nr_queues[HCTX_TYPE_POLL]; in ufs_qcom_config_esi()
|
/Linux-v6.6/drivers/scsi/ |
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 | storvsc_drv.c | 2043 host->nr_hw_queues = storvsc_max_hw_queues; in storvsc_probe() 2045 host->nr_hw_queues = num_present_cpus; in storvsc_probe()
|
/Linux-v6.6/drivers/nvme/host/ |
D | apple.c | 1248 anv->admin_tagset.nr_hw_queues = 1; in apple_nvme_alloc_tagsets() 1265 anv->tagset.nr_hw_queues = 1; in apple_nvme_alloc_tagsets()
|
/Linux-v6.6/include/ufs/ |
D | ufshcd.h | 1061 unsigned int nr_hw_queues; member
|