Home
last modified time | relevance | path

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

123

/Linux-v6.6/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-v6.6/block/
Dblk-mq.c640 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 …]
Dbsg-lib.c378 set->nr_hw_queues = 1; in bsg_setup_queue()
Dblk-mq-tag.c442 nr_tags = blk_mq_is_shared_tags(flags) ? 1 : tagset->nr_hw_queues; in blk_mq_tagset_busy_iter()
Delevator.c575 if (q->nr_hw_queues != 1 && in elevator_get_default()
/Linux-v6.6/drivers/ufs/core/
Dufs-mcq.c193 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/
Dublk_drv.c1373 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 …]
Dz2ram.c353 tag_set.nr_hw_queues = 1; in z2_init()
/Linux-v6.6/include/scsi/
Dscsi_tcq.h32 if (hwq < shost->tag_set.nr_hw_queues) { in scsi_host_find_tag()
Dscsi_host.h627 unsigned nr_hw_queues; member
/Linux-v6.6/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()
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/
Dublk_cmd.h216 __u16 nr_hw_queues; member
/Linux-v6.6/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-v6.6/include/linux/
Dblk-mq.h502 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/
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-v6.6/drivers/md/
Ddm-rq.c549 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/
Dqueue.c433 mq->tag_set.nr_hw_queues = 1; in mmc_init_queue()
/Linux-v6.6/drivers/mtd/ubi/
Dblock.c386 dev->tag_set.nr_hw_queues = 1; in ubiblock_create()
/Linux-v6.6/drivers/block/aoe/
Daoeblk.c362 set->nr_hw_queues = 1; in aoeblk_gdalloc()
/Linux-v6.6/drivers/ufs/host/
Dufs-qcom.c1702 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/
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);
Dstorvsc_drv.c2043 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/
Dapple.c1248 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/
Dufshcd.h1061 unsigned int nr_hw_queues; member

123