Lines Matching refs: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.
1355 static int max_loop;
1356 module_param(max_loop, int, 0);
1357 MODULE_PARM_DESC(max_loop, "Maximum number of loop devices");
1493 * (1) if max_loop is specified, create that many upfront, and this
1495 * (2) if max_loop is not specified, create 8 loop device on module
1500 if (max_loop > 1UL << MINORBITS)
1503 if (max_loop) {
1504 nr = max_loop;
1505 range = max_loop;
1547 range = max_loop ? max_loop : 1UL << MINORBITS;
1563 max_loop = simple_strtol(str, NULL, 0);
1567 __setup("max_loop=", max_loop_setup);