Lines Matching refs:max_loop
1778 * If max_loop is specified, create that many devices upfront.
1779 * This also becomes a hard limit. If max_loop is not specified,
1781 * changed the default value from 0 for max_loop=0 reasons), just
1787 static int max_loop = CONFIG_BLK_DEV_LOOP_MIN_COUNT;
1810 module_param_cb(max_loop, &max_loop_param_ops, &max_loop, 0444);
1811 MODULE_PARM_DESC(max_loop, "Maximum number of loop devices");
1813 module_param(max_loop, int, 0444);
1814 MODULE_PARM_DESC(max_loop, "Initial number of loop devices");
2066 * parameteters like 'max_loop' and 'max_part' make things needlessly
2131 if (max_loop_specified && max_loop && idx >= max_loop)
2267 if (max_loop > 1UL << (MINORBITS - part_shift)) {
2282 /* pre-create number of devices given by config or max_loop */
2283 for (i = 0; i < max_loop; i++)
2321 max_loop = simple_strtol(str, NULL, 0);
2328 __setup("max_loop=", max_loop_setup);