Lines Matching defs:max_loop
1774 * If max_loop is specified, create that many devices upfront.
1775 * This also becomes a hard limit. If max_loop is not specified,
1777 * changed the default value from 0 for max_loop=0 reasons), just
1783 static int max_loop = CONFIG_BLK_DEV_LOOP_MIN_COUNT;
1806 module_param_cb(max_loop, &max_loop_param_ops, &max_loop, 0444);
1807 MODULE_PARM_DESC(max_loop, "Maximum number of loop devices");
1809 module_param(max_loop, int, 0444);
1810 MODULE_PARM_DESC(max_loop, "Initial number of loop devices");
2063 * parameteters like 'max_loop' and 'max_part' make things needlessly
2128 if (max_loop_specified && max_loop && idx >= max_loop)
2260 if (max_loop > 1UL << (MINORBITS - part_shift)) {
2275 /* pre-create number of devices given by config or max_loop */
2276 for (i = 0; i < max_loop; i++)
2314 max_loop = simple_strtol(str, NULL, 0);
2321 __setup("max_loop=", max_loop_setup);