Searched refs:max_part (Results 1 – 5 of 5) sorted by relevance
342 static int max_part = 1; variable343 module_param(max_part, int, 0444);344 MODULE_PARM_DESC(max_part, "Num Minors to reserve between devices");396 disk->first_minor = i * max_part; in brd_alloc()397 disk->minors = max_part; in brd_alloc()431 brd_alloc(MINOR(dev) / max_part); in brd_probe()451 if (unlikely(!max_part)) in brd_check_and_reset_par()452 max_part = 1; in brd_check_and_reset_par()458 if ((1U << MINORBITS) % max_part != 0) in brd_check_and_reset_par()459 max_part = 1UL << fls(max_part); in brd_check_and_reset_par()[all …]
163 static int max_part = 16; variable341 if (max_part) in nbd_set_size()1409 if (max_part) in nbd_start_device_ioctl()1582 if (max_part) in nbd_open()1585 if (max_part) in nbd_open()2483 if (max_part < 0) { in nbd_init()2489 if (max_part > 0) { in nbd_init()2490 part_shift = fls(max_part); in nbd_init()2500 max_part = (1UL << part_shift) - 1; in nbd_init()2585 module_param(max_part, int, 0444);[all …]
139 static int max_part; variable1788 module_param(max_part, int, 0444);1789 MODULE_PARM_DESC(max_part, "Maximum number of partitions per loop device");2197 if (max_part > 0) { in loop_init()2198 part_shift = fls(max_part); in loop_init()2208 max_part = (1UL << part_shift) - 1; in loop_init()
27 max_part
56 max_part