Searched refs:submit_queues (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/block/
H A Dnull_blk.c65 static int submit_queues; variable
66 module_param(submit_queues, int, S_IRUGO);
67 MODULE_PARM_DESC(submit_queues, "Number of submission queues");
615 nullb->queues = kzalloc(submit_queues * sizeof(struct nullb_queue), setup_queues()
631 for (i = 0; i < submit_queues; i++) { init_driver_queues()
660 submit_queues = nr_online_nodes; null_add_dev()
668 nullb->tag_set.nr_hw_queues = submit_queues; null_add_dev()
791 if (submit_queues < nr_online_nodes) { null_init()
792 pr_warn("null_blk: submit_queues param is set to %u.", null_init()
794 submit_queues = nr_online_nodes; null_init()
796 } else if (submit_queues > nr_cpu_ids) null_init()
797 submit_queues = nr_cpu_ids; null_init()
798 else if (!submit_queues) null_init()
799 submit_queues = 1; null_init()

Completed in 53 milliseconds