Searched refs:max_part (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/block/ |
| H A D | brd.c | 237 static int max_part = 1; variable 238 module_param(max_part, int, 0444); 239 MODULE_PARM_DESC(max_part, "Num Minors to reserve between devices"); 333 disk->first_minor = i * max_part; in brd_alloc() 334 disk->minors = max_part; in brd_alloc() 355 brd_alloc(MINOR(dev) / max_part); in brd_probe() 374 if (unlikely(!max_part)) in brd_check_and_reset_par() 375 max_part = 1; in brd_check_and_reset_par() 381 if ((1U << MINORBITS) % max_part != 0) in brd_check_and_reset_par() 382 max_part = 1UL << fls(max_part); in brd_check_and_reset_par() [all …]
|
| H A D | nbd.c | 168 static int max_part = 16; variable 387 if (max_part) in nbd_set_size() 1594 if (max_part) in nbd_start_device_ioctl() 1779 if (max_part) in nbd_open() 1782 if (max_part) in nbd_open() 2691 if (max_part < 0) { in nbd_init() 2692 pr_err("max_part must be >= 0\n"); in nbd_init() 2697 if (max_part > 0) { in nbd_init() 2698 part_shift = fls(max_part); in nbd_init() 2701 * Adjust max_part accordin in nbd_init() [all...] |
| H A D | loop.c | 138 static int max_part; variable 1743 module_param(max_part, int, 0444); in lo_open() 1744 MODULE_PARM_DESC(max_part, "Maximum number of partitions per loop device"); in lo_open() 1987 * If max_part is given, partition scanning is globally enabled for in loop_process_work() 1989 * multiples of max_part. in loop_process_work() 1992 * parameteters like 'max_loop' and 'max_part' make things needlessly in loop_process_work() 2174 if (max_part > 0) { in loop_control_remove() 2175 part_shift = fls(max_part); in loop_control_remove() 2178 * Adjust max_part according to part_shift as it is exported in loop_control_remove() 2185 max_part in loop_control_remove() [all...] |
| /linux/drivers/platform/x86/intel/speed_select_if/ |
| H A D | isst_tpmi_core.c | 417 u8 i, max_part, count = 0; in isst_instance_count() local 420 max_part = hweight8(sst_inst->partition_mask); in isst_instance_count() 421 for (i = 0; i < max_part; i++) in isst_instance_count() 441 u8 i, max_part; in map_cdies() local 443 max_part = hweight8(sst_inst->partition_mask); in map_cdies() 444 for (i = 0; i < max_part; i++) { in map_cdies() 502 u8 i, io_start_id, max_part; in map_partition_power_domain_id() local 510 max_part = hweight8(sst_inst->partition_mask); in map_partition_power_domain_id() 513 io_start_id = fls(sst_inst->cdie_mask[max_part - 1]); in map_partition_power_domain_id() 518 for (i = 0; i < max_part; in map_partition_power_domain_id() [all...] |
| /linux/Documentation/admin-guide/blockdev/ |
| H A D | nbd.rst | 27 max_part
|
| H A D | ramdisk.rst | 56 max_part
|