Lines Matching refs:max_part
164 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);
2630 MODULE_PARM_DESC(max_part, "number of partitions per device (default: 16)");