Searched refs:max_part (Results 1 – 5 of 5) sorted by relevance
290 static int max_part = 1; variable291 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 …]
164 static int max_part = 16; variable344 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 …]
139 static int max_part; variable1813 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()
27 max_part
56 max_part