Lines Matching refs:poll_queues
93 module_param_named(poll_queues, g_poll_queues, int, 0444);
94 MODULE_PARM_DESC(poll_queues, "Number of IOPOLL submission queues");
347 unsigned int poll_queues) in nullb_update_nr_hw_queues() argument
366 if (submit_queues > nr_cpu_ids || poll_queues > g_poll_queues) in nullb_update_nr_hw_queues()
374 dev->prev_poll_queues = dev->poll_queues; in nullb_update_nr_hw_queues()
376 dev->poll_queues = poll_queues; in nullb_update_nr_hw_queues()
379 nr_hw_queues = submit_queues + poll_queues; in nullb_update_nr_hw_queues()
386 dev->poll_queues = dev->prev_poll_queues; in nullb_update_nr_hw_queues()
395 return nullb_update_nr_hw_queues(dev, submit_queues, dev->poll_queues); in nullb_apply_submit_queues()
399 unsigned int poll_queues) in nullb_apply_poll_queues() argument
401 return nullb_update_nr_hw_queues(dev, dev->submit_queues, poll_queues); in nullb_apply_poll_queues()
407 NULLB_DEVICE_ATTR(poll_queues, uint, nullb_apply_poll_queues);
670 dev->poll_queues = g_poll_queues; in null_alloc_dev()
1536 unsigned int poll_queues = g_poll_queues; in null_map_queues() local
1548 dev->submit_queues + dev->poll_queues) { in null_map_queues()
1550 poll_queues = dev->poll_queues; in null_map_queues()
1554 poll_queues = dev->prev_poll_queues; in null_map_queues()
1560 poll_queues = 0; in null_map_queues()
1575 map->nr_queues = poll_queues; in null_map_queues()
1903 int poll_queues; in null_init_tag_set() local
1907 poll_queues = nullb->dev->poll_queues; in null_init_tag_set()
1918 poll_queues = g_poll_queues; in null_init_tag_set()
1936 if (poll_queues) { in null_init_tag_set()
1937 set->nr_hw_queues += poll_queues; in null_init_tag_set()
1960 if (dev->poll_queues > g_poll_queues) in null_validate_conf()
1961 dev->poll_queues = g_poll_queues; in null_validate_conf()
1962 dev->prev_poll_queues = dev->poll_queues; in null_validate_conf()