Home
last modified time | relevance | path

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

123

/linux/drivers/s390/block/
H A Ddasd_genhd.c24 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 Dscm_blk.c462 bdev->tag_set.nr_hw_queues = nr_requests; in scm_blk_dev_setup()
/linux/drivers/ufs/core/
H A Dufs-mcq.c226 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 Dblk-mq.c699 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 Dbsg-lib.c380 set->nr_hw_queues = 1; in bsg_setup_queue()
H A Dblk-mq-tag.c443 nr_tags = blk_mq_is_shared_tags(flags) ? 1 : tagset->nr_hw_queues; in blk_mq_tagset_busy_iter()
H A Delevator.c567 if (q->nr_hw_queues != 1 && in elevator_get_default()
/linux/rust/kernel/block/mq/
H A Dtag_set.rs38 nr_hw_queues: u32, in new()
50 nr_hw_queues, in new()
/linux/drivers/block/
H A Dublk_drv.c1387 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 Dz2ram.c353 tag_set.nr_hw_queues = 1; in z2_init()
/linux/include/scsi/
H A Dscsi_tcq.h32 if (hwq < shost->tag_set.nr_hw_queues) { in scsi_host_find_tag()
H A Dscsi_host.h634 unsigned nr_hw_queues; member
/linux/include/uapi/linux/
H A Dublk_cmd.h242 __u16 nr_hw_queues; member
/linux/include/linux/
H A Dblk-mq.h521 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 Dtcm_loop.c49 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 Dqueue.c445 mq->tag_set.nr_hw_queues = 1; in mmc_init_queue()
/linux/drivers/md/
H A Ddm-rq.c551 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 Dfnic_main.c568 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 Daoeblk.c368 set->nr_hw_queues = 1; in aoeblk_gdalloc()
/linux/drivers/mtd/ubi/
H A Dblock.c389 dev->tag_set.nr_hw_queues = 1; in ubiblock_create()
/linux/drivers/ufs/host/
H A Dufs-qcom.c1655 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 Dapple.c1249 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 Dstorvsc_drv.c2049 host->nr_hw_queues = storvsc_max_hw_queues; in storvsc_probe()
2051 host->nr_hw_queues = num_present_cpus; in storvsc_probe()
H A Dvirtio_scsi.c959 shost->nr_hw_queues = num_queues; in virtscsi_probe()
/linux/include/ufs/
H A Dufshcd.h1112 unsigned int nr_hw_queues; member

123