Home
last modified time | relevance | path

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

12

/drivers/block/
Dz2ram.c351 tag_set.nr_hw_queues = 1; in z2_init()
Dvirtio_blk.c814 vblk->tag_set.nr_hw_queues = vblk->num_vqs; in virtblk_probe()
Dnbd.c728 if (hwq < nbd->tag_set.nr_hw_queues) in nbd_read_stat()
1697 nbd->tag_set.nr_hw_queues = 1; in nbd_dev_add()
Dataflop.c2076 unit[i].tag_set.nr_hw_queues = 1; in atari_floppy_init()
Damiflop.c1814 unit[drive].tag_set.nr_hw_queues = 1; in fd_alloc_drive()
/drivers/nvme/target/
Dloop.c361 ctrl->admin_tag_set.nr_hw_queues = 1; in nvme_loop_configure_admin_queue()
536 ctrl->tag_set.nr_hw_queues = ctrl->ctrl.queue_count - 1; in nvme_loop_create_io_queues()
/drivers/target/loopback/
Dtcm_loop.c49 module_param_named(nr_hw_queues, tcm_loop_nr_hw_queues, uint, 0644);
346 sh->nr_hw_queues = tcm_loop_nr_hw_queues; in tcm_loop_driver_probe()
/drivers/mmc/core/
Dqueue.c435 mq->tag_set.nr_hw_queues = 1; in mmc_init_queue()
/drivers/mtd/ubi/
Dblock.c403 dev->tag_set.nr_hw_queues = 1; in ubiblock_create()
/drivers/md/
Ddm-rq.c557 md->tag_set->nr_hw_queues = dm_get_blk_mq_nr_hw_queues(); in dm_mq_init_request_queue()
/drivers/block/aoe/
Daoeblk.c375 set->nr_hw_queues = 1; in aoeblk_gdalloc()
/drivers/s390/block/
Dscm_blk.c457 bdev->tag_set.nr_hw_queues = nr_requests; in scm_blk_dev_setup()
Ddasd.c45 static unsigned int nr_hw_queues = 4; variable
50 module_param(nr_hw_queues, uint, 0444);
51 MODULE_PARM_DESC(nr_hw_queues, "Default number of hardware queues for new DASD devices");
3268 block->tag_set.nr_hw_queues = nr_hw_queues; in dasd_alloc_queue()
/drivers/scsi/
Dstorvsc_drv.c2104 host->nr_hw_queues = storvsc_max_hw_queues; in storvsc_probe()
2106 host->nr_hw_queues = num_present_cpus; in storvsc_probe()
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);
Dscsi_lib.c1926 tag_set->nr_hw_queues = shost->nr_hw_queues ? : 1; in scsi_mq_setup_tags()
Dvirtio_scsi.c891 shost->nr_hw_queues = num_queues; in virtscsi_probe()
Dscsi_debug.c7311 if (shost->nr_hw_queues == 1) in sdebug_map_queues()
7647 hpnt->nr_hw_queues = submit_queues; in sdebug_driver_probe()
7652 if (hpnt->nr_hw_queues == 1 || (poll_queues < 1)) { in sdebug_driver_probe()
7654 my_name, poll_queues, hpnt->nr_hw_queues); in sdebug_driver_probe()
/drivers/block/paride/
Dpd.c885 disk->tag_set.nr_hw_queues = 1; in pd_probe_drive()
/drivers/block/null_blk/
Dmain.c344 return set->nr_hw_queues == submit_queues ? 0 : -ENOMEM; in nullb_apply_submit_queues()
1726 set->nr_hw_queues = nullb ? nullb->dev->submit_queues : in null_init_tag_set()
/drivers/nvme/host/
Dtcp.c1675 set->nr_hw_queues = 1; in nvme_tcp_alloc_tagset()
1687 set->nr_hw_queues = nctrl->queue_count - 1; in nvme_tcp_alloc_tagset()
Drdma.c812 set->nr_hw_queues = 1; in nvme_rdma_alloc_tagset()
829 set->nr_hw_queues = nctrl->queue_count - 1; in nvme_rdma_alloc_tagset()
Dpci.c1660 dev->admin_tagset.nr_hw_queues = 1; in nvme_alloc_admin_tags()
2427 dev->tagset.nr_hw_queues = dev->online_queues - 1; in nvme_dev_add()
/drivers/block/rnbd/
Drnbd-clt.c1247 tag_set->nr_hw_queues = num_online_cpus() + sess->nr_poll_queues; in setup_mq_tags()
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c3186 if (shost->nr_hw_queues == 1) in megasas_map_queues()
6956 host->nr_hw_queues = 1; in megasas_io_attach()
6963 host->nr_hw_queues = instance->msix_vectors - in megasas_io_attach()
6974 host->nr_hw_queues - instance->iopoll_q_count, in megasas_io_attach()

12