Lines Matching defs:max_loop
27 * Maximum number of loop devices now dynamic via max_loop module parameter.
31 * max_loop=<1-255> to the kernel on boot.
1951 static int max_loop;
1952 module_param(max_loop, int, 0444);
1953 MODULE_PARM_DESC(max_loop, "Maximum number of loop devices");
2156 * parameteters like 'max_loop' and 'max_part' make things needlessly
2346 if (max_loop > 1UL << (MINORBITS - part_shift)) {
2352 * If max_loop is specified, create that many devices upfront.
2353 * This also becomes a hard limit. If max_loop is not specified,
2359 if (max_loop) {
2360 nr = max_loop;
2361 range = max_loop << part_shift;
2380 /* pre-create number of devices given by config or max_loop */
2407 range = max_loop ? max_loop << part_shift : 1UL << MINORBITS;
2428 max_loop = simple_strtol(str, NULL, 0);
2432 __setup("max_loop=", max_loop_setup);