Home
last modified time | relevance | path

Searched refs:max_part (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/block/
Dbrd.c290 static int max_part = 1; variable
291 module_param(max_part, int, 0444);
292 MODULE_PARM_DESC(max_part, "Num Minors to reserve between devices");
343 disk->first_minor = i * max_part; in brd_alloc()
344 disk->minors = max_part; in brd_alloc()
379 brd_alloc(MINOR(dev) / max_part); in brd_probe()
399 if (unlikely(!max_part)) in brd_check_and_reset_par()
400 max_part = 1; in brd_check_and_reset_par()
406 if ((1U << MINORBITS) % max_part != 0) in brd_check_and_reset_par()
407 max_part = 1UL << fls(max_part); in brd_check_and_reset_par()
[all …]
Dnbd.c164 static int max_part = 16; variable
344 if (max_part) in nbd_set_size()
1436 if (max_part) in nbd_start_device_ioctl()
1621 if (max_part) in nbd_open()
1624 if (max_part) in nbd_open()
2527 if (max_part < 0) { in nbd_init()
2533 if (max_part > 0) { in nbd_init()
2534 part_shift = fls(max_part); in nbd_init()
2544 max_part = (1UL << part_shift) - 1; in nbd_init()
2629 module_param(max_part, int, 0444);
[all …]
Dloop.c139 static int max_part; variable
1813 module_param(max_part, int, 0444);
1814 MODULE_PARM_DESC(max_part, "Maximum number of partitions per loop device");
2241 if (max_part > 0) { in loop_init()
2242 part_shift = fls(max_part); in loop_init()
2252 max_part = (1UL << part_shift) - 1; in loop_init()
/linux-6.6.21/Documentation/admin-guide/blockdev/
Dnbd.rst27 max_part
Dramdisk.rst56 max_part