Searched refs:max_part (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/block/ |
D | brd.c | 295 static int max_part = 1; variable 296 module_param(max_part, int, 0444); 297 MODULE_PARM_DESC(max_part, "Num Minors to reserve between devices"); 365 disk->first_minor = i * max_part; in brd_alloc() 366 disk->minors = max_part; in brd_alloc() 388 brd_alloc(MINOR(dev) / max_part); in brd_probe() 408 if (unlikely(!max_part)) in brd_check_and_reset_par() 409 max_part = 1; in brd_check_and_reset_par() 415 if ((1U << MINORBITS) % max_part != 0) in brd_check_and_reset_par() 416 max_part = 1UL << fls(max_part); in brd_check_and_reset_par() [all …]
|
D | nbd.c | 164 static int max_part = 16; variable 375 if (max_part) in __nbd_set_size() 1468 if (max_part) in nbd_start_device_ioctl() 1653 if (max_part) in nbd_open() 1656 if (max_part) in nbd_open() 2564 if (max_part < 0) { in nbd_init() 2570 if (max_part > 0) { in nbd_init() 2571 part_shift = fls(max_part); in nbd_init() 2581 max_part = (1UL << part_shift) - 1; in nbd_init() 2666 module_param(max_part, int, 0444); [all …]
|
D | loop.c | 139 static int max_part; variable 1809 module_param(max_part, int, 0444); 1810 MODULE_PARM_DESC(max_part, "Maximum number of partitions per loop device"); 2234 if (max_part > 0) { in loop_init() 2235 part_shift = fls(max_part); in loop_init() 2245 max_part = (1UL << part_shift) - 1; in loop_init()
|
/linux-6.12.1/drivers/platform/x86/intel/speed_select_if/ |
D | isst_tpmi_core.c | 408 u8 i, max_part, count = 0; in isst_instance_count() local 411 max_part = hweight8(sst_inst->partition_mask); in isst_instance_count() 412 for (i = 0; i < max_part; i++) in isst_instance_count() 432 u8 i, max_part; in map_cdies() local 434 max_part = hweight8(sst_inst->partition_mask); in map_cdies() 435 for (i = 0; i < max_part; i++) { in map_cdies() 493 u8 i, io_start_id, max_part; in map_partition_power_domain_id() local 501 max_part = hweight8(sst_inst->partition_mask); in map_partition_power_domain_id() 504 io_start_id = fls(sst_inst->cdie_mask[max_part - 1]); in map_partition_power_domain_id() 509 for (i = 0; i < max_part; i++) { in map_partition_power_domain_id()
|
/linux-6.12.1/Documentation/admin-guide/blockdev/ |
D | nbd.rst | 27 max_part
|
D | ramdisk.rst | 56 max_part
|