Lines Matching defs:max_loop
1704 * If max_loop is specified, create that many devices upfront.
1705 * This also becomes a hard limit. If max_loop is not specified,
1707 * changed the default value from 0 for max_loop=0 reasons), just
1713 static int max_loop = CONFIG_BLK_DEV_LOOP_MIN_COUNT;
1736 module_param_cb(max_loop, &max_loop_param_ops, &max_loop, 0444);
1737 MODULE_PARM_DESC(max_loop, "Maximum number of loop devices");
1739 module_param(max_loop, int, 0444);
1740 MODULE_PARM_DESC(max_loop, "Initial number of loop devices");
1992 * parameteters like 'max_loop' and 'max_part' make things needlessly
2057 if (max_loop_specified && max_loop && idx >= max_loop)
2193 if (max_loop > 1UL << (MINORBITS - part_shift)) {
2208 /* pre-create number of devices given by config or max_loop */
2209 for (i = 0; i < max_loop; i++)
2247 max_loop = simple_strtol(str, NULL, 0);
2254 __setup("max_loop=", max_loop_setup);