Lines Matching defs:max_part
154 static int max_part = 16;
1399 if (max_part)
2497 if (max_part < 0) {
2498 printk(KERN_ERR "nbd: max_part must be >= 0\n");
2503 if (max_part > 0) {
2504 part_shift = fls(max_part);
2507 * Adjust max_part according to part_shift as it is exported
2514 max_part = (1UL << part_shift) - 1;
2588 module_param(max_part, int, 0444);
2589 MODULE_PARM_DESC(max_part, "number of partitions per device (default: 16)");