Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.c456 bdev->tag_set.nr_hw_queues = nr_requests; in scm_blk_dev_setup()
/linux-6.6.21/block/
Dblk-mq.c640 if (hctx_idx >= q->nr_hw_queues) in blk_mq_alloc_request_hctx()
1220 if (rq->q->nr_hw_queues == 1) { in blk_mq_complete_request_remote()
2206 if (hctx->queue->nr_hw_queues == 1) in blk_mq_hctx_next_cpu()
3056 (hctx->dispatch_busy && (q->nr_hw_queues == 1 || !is_sync))) { in blk_mq_submit_bio()
3789 unsigned int nr_hw_queues) in blk_mq_init_cpu_queues() argument
3812 if (nr_hw_queues > 1 && hctx->numa_node == NUMA_NO_NODE) in blk_mq_init_cpu_queues()
4230 for (i = 0; i < set->nr_hw_queues; i++) { in blk_mq_realloc_hw_ctxs()
4253 if (i != set->nr_hw_queues) { in blk_mq_realloc_hw_ctxs()
4254 j = q->nr_hw_queues; in blk_mq_realloc_hw_ctxs()
4257 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-6.6.21/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-6.6.21/drivers/block/
Dublk_drv.c1377 end = UBLKSRV_CMD_BUF_OFFSET + ub->dev_info.nr_hw_queues * max_sz; in ublk_ch_mmap()
1453 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) { in ublk_daemon_monitor_work()
1513 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) in ublk_cancel_dev()
1590 for (i = 0; i < ub->dev_info.nr_hw_queues; i++) in ublk_unquiesce_dev()
1632 if (ub->nr_queues_ready == ub->dev_info.nr_hw_queues) in ublk_mark_io_ready()
1683 if (ub_cmd->q_id >= ub->dev_info.nr_hw_queues) in __ublk_ch_uring_cmd()
1877 if (q_id >= ub->dev_info.nr_hw_queues) in ublk_check_and_get_req()
1986 int nr_queues = ub->dev_info.nr_hw_queues; in ublk_deinit_queues()
1999 int nr_queues = ub->dev_info.nr_hw_queues; in ublk_init_queues()
2111 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-6.6.21/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-6.6.21/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-6.6.21/include/uapi/linux/
Dublk_cmd.h216 __u16 nr_hw_queues; member
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/drivers/mmc/core/
Dqueue.c433 mq->tag_set.nr_hw_queues = 1; in mmc_init_queue()
/linux-6.6.21/drivers/mtd/ubi/
Dblock.c386 dev->tag_set.nr_hw_queues = 1; in ubiblock_create()
/linux-6.6.21/drivers/block/aoe/
Daoeblk.c363 set->nr_hw_queues = 1; in aoeblk_gdalloc()
/linux-6.6.21/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.c2044 host->nr_hw_queues = storvsc_max_hw_queues; in storvsc_probe()
2046 host->nr_hw_queues = num_present_cpus; in storvsc_probe()
/linux-6.6.21/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-6.6.21/drivers/ufs/host/
Dufs-qcom.c1709 res_mcq->end = res_mcq->start + hba->nr_hw_queues * MCQ_QCFG_SIZE - 1; in ufs_qcom_mcq_config_resource()
1815 nr_irqs = hba->nr_hw_queues - hba->nr_queues[HCTX_TYPE_POLL]; in ufs_qcom_config_esi()
/linux-6.6.21/include/ufs/
Dufshcd.h1061 unsigned int nr_hw_queues; member

123