/linux/drivers/s390/block/ |
H A D | dasd_genhd.c | 24 static unsigned int nr_hw_queues = 4; variable 29 module_param(nr_hw_queues, uint, 0444); 30 MODULE_PARM_DESC(nr_hw_queues, "Default number of hardware queues for new DASD devices"); 57 block->tag_set.nr_hw_queues = nr_hw_queues; in dasd_gendisk_alloc()
|
H A D | scm_blk.c | 462 bdev->tag_set.nr_hw_queues = nr_requests; in scm_blk_dev_setup()
|
/linux/drivers/ufs/core/ |
H A D | ufs-mcq.c | 226 host->nr_hw_queues += hba->nr_queues[i]; in ufshcd_mcq_config_nr_queues() 228 hba->nr_hw_queues = host->nr_hw_queues; in ufshcd_mcq_config_nr_queues() 238 for (i = 0; i < hba->nr_hw_queues; i++) { in ufshcd_mcq_memory_alloc() 361 for (i = 0; i < hba->nr_hw_queues; i++) { in ufshcd_mcq_make_queues_operational() 402 if (i < hba->nr_hw_queues - hba->nr_queues[HCTX_TYPE_POLL]) in ufshcd_mcq_make_queues_operational() 468 hba->nr_hw_queues * sizeof(struct ufs_hw_queue), in ufshcd_mcq_init() 475 for (i = 0; i < hba->nr_hw_queues; i++) { in ufshcd_mcq_init()
|
/linux/block/ |
H A D | blk-mq.c | 699 if (hctx_idx >= q->nr_hw_queues) in blk_mq_alloc_request_hctx() 1303 if (rq->q->nr_hw_queues == 1) { in blk_mq_complete_request_remote() 2240 if (hctx->queue->nr_hw_queues == 1 || blk_mq_hctx_empty_cpumask(hctx)) in blk_mq_hctx_next_cpu() 3152 (hctx->dispatch_busy && (q->nr_hw_queues == 1 || !is_sync))) { in blk_mq_submit_bio() 3996 unsigned int nr_hw_queues) in blk_mq_init_cpu_queues() argument 4019 if (nr_hw_queues > 1 && hctx->numa_node == NUMA_NO_NODE) in blk_mq_init_cpu_queues() 4466 for (i = 0; i < set->nr_hw_queues; i++) { in blk_mq_realloc_hw_ctxs() 4489 if (i != set->nr_hw_queues) { in blk_mq_realloc_hw_ctxs() 4490 j = q->nr_hw_queues; in blk_mq_realloc_hw_ctxs() 4493 q->nr_hw_queues = set->nr_hw_queues; in blk_mq_realloc_hw_ctxs() [all …]
|
H A D | bsg-lib.c | 380 set->nr_hw_queues = 1; in bsg_setup_queue()
|
H A D | blk-mq-tag.c | 443 nr_tags = blk_mq_is_shared_tags(flags) ? 1 : tagset->nr_hw_queues; in blk_mq_tagset_busy_iter()
|
H A D | elevator.c | 567 if (q->nr_hw_queues != 1 && in elevator_get_default()
|
/linux/rust/kernel/block/mq/ |
H A D | tag_set.rs | 38 nr_hw_queues: u32, in new() 50 nr_hw_queues, in new()
|
/linux/drivers/block/ |
H A D | ublk_drv.c | 1387 end = UBLKSRV_CMD_BUF_OFFSET + ub->dev_info.nr_hw_queues * max_sz; in ublk_ch_mmap() 1559 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) in ublk_cancel_dev() 1613 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) in ublk_unquiesce_dev() 1676 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) { in ublk_nosrv_work() 1700 if (ub->nr_queues_ready == ub->dev_info.nr_hw_queues) in ublk_mark_io_ready() 1766 if (ub_cmd->q_id >= ub->dev_info.nr_hw_queues) in __ublk_ch_uring_cmd() 1986 if (q_id >= ub->dev_info.nr_hw_queues) in ublk_check_and_get_req() 2094 int nr_queues = ub->dev_info.nr_hw_queues; in ublk_deinit_queues() 2107 int nr_queues = ub->dev_info.nr_hw_queues; in ublk_init_queues() 2212 ub->tag_set.nr_hw_queues = ub->dev_info.nr_hw_queues; in ublk_add_tag_set() [all …]
|
H A D | z2ram.c | 353 tag_set.nr_hw_queues = 1; in z2_init()
|
/linux/include/scsi/ |
H A D | scsi_tcq.h | 32 if (hwq < shost->tag_set.nr_hw_queues) { in scsi_host_find_tag()
|
H A D | scsi_host.h | 634 unsigned nr_hw_queues; member
|
/linux/include/uapi/linux/ |
H A D | ublk_cmd.h | 242 __u16 nr_hw_queues; member
|
/linux/include/linux/ |
H A D | blk-mq.h | 521 unsigned int nr_hw_queues; member 924 void blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set, int nr_hw_queues);
|
/linux/drivers/target/loopback/ |
H A 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/drivers/mmc/core/ |
H A D | queue.c | 445 mq->tag_set.nr_hw_queues = 1; in mmc_init_queue()
|
/linux/drivers/md/ |
H A D | dm-rq.c | 551 md->tag_set->nr_hw_queues = dm_get_blk_mq_nr_hw_queues(); in dm_mq_init_request_queue()
|
/linux/drivers/scsi/fnic/ |
H A D | fnic_main.c | 568 host->nr_hw_queues = fnic->wq_copy_count; in fnic_scsi_drv_init() 576 host->max_id, host->max_cmd_len, host->nr_hw_queues); in fnic_scsi_drv_init()
|
/linux/drivers/block/aoe/ |
H A D | aoeblk.c | 368 set->nr_hw_queues = 1; in aoeblk_gdalloc()
|
/linux/drivers/mtd/ubi/ |
H A D | block.c | 389 dev->tag_set.nr_hw_queues = 1; in ubiblock_create()
|
/linux/drivers/ufs/host/ |
H A D | ufs-qcom.c | 1655 res_mcq->end = res_mcq->start + hba->nr_hw_queues * MCQ_QCFG_SIZE - 1; in ufs_qcom_mcq_config_resource() 1761 nr_irqs = hba->nr_hw_queues - hba->nr_queues[HCTX_TYPE_POLL]; in ufs_qcom_config_esi()
|
/linux/drivers/nvme/host/ |
H A D | apple.c | 1249 anv->admin_tagset.nr_hw_queues = 1; in apple_nvme_alloc_tagsets() 1266 anv->tagset.nr_hw_queues = 1; in apple_nvme_alloc_tagsets()
|
/linux/drivers/scsi/ |
H A D | storvsc_drv.c | 2049 host->nr_hw_queues = storvsc_max_hw_queues; in storvsc_probe() 2051 host->nr_hw_queues = num_present_cpus; in storvsc_probe()
|
H A D | virtio_scsi.c | 959 shost->nr_hw_queues = num_queues; in virtscsi_probe()
|
/linux/include/ufs/ |
H A D | ufshcd.h | 1112 unsigned int nr_hw_queues; member
|