Home
last modified time | relevance | path

Searched refs:max_part (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/block/
H A Dbrd.c216 static int max_part = 1; variable
217 module_param(max_part, int, 0444);
218 MODULE_PARM_DESC(max_part, "Num Minors to reserve between devices");
313 disk->first_minor = i * max_part; in brd_alloc()
314 disk->minors = max_part; in brd_alloc()
335 brd_alloc(MINOR(dev) / max_part); in brd_probe()
354 if (unlikely(!max_part)) in brd_check_and_reset_par()
355 max_part = 1; in brd_check_and_reset_par()
358 * make sure 'max_part' can be divided exactly by (1U << MINORBITS), in brd_check_and_reset_par()
361 if ((1U << MINORBITS) % max_part ! in brd_check_and_reset_par()
[all...]
H A Dloop.c137 static int max_part; variable
1810 module_param(max_part, int, 0444);
1811 MODULE_PARM_DESC(max_part, "Maximum number of partitions per loop device");
2050 * If max_part is given, partition scanning is globally enabled for in loop_add()
2052 * multiples of max_part. in loop_add()
2055 * parameteters like 'max_loop' and 'max_part' make things needlessly in loop_add()
2233 if (max_part > 0) { in loop_init()
2234 part_shift = fls(max_part); in loop_init()
2237 * Adjust max_part according to part_shift as it is exported in loop_init()
2244 max_part in loop_init()
[all...]
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c410 u8 i, max_part, count = 0; in isst_instance_count() local
413 max_part = hweight8(sst_inst->partition_mask); in isst_instance_count()
414 for (i = 0; i < max_part; i++) in isst_instance_count()
434 u8 i, max_part; in map_cdies() local
436 max_part = hweight8(sst_inst->partition_mask); in map_cdies()
437 for (i = 0; i < max_part; i++) { in map_cdies()
495 u8 i, io_start_id, max_part; in map_partition_power_domain_id() local
503 max_part = hweight8(sst_inst->partition_mask); in map_partition_power_domain_id()
506 io_start_id = fls(sst_inst->cdie_mask[max_part - 1]); in map_partition_power_domain_id()
511 for (i = 0; i < max_part; in map_partition_power_domain_id()
[all...]
/linux/Documentation/admin-guide/blockdev/
H A Dnbd.rst27 max_part
H A Dramdisk.rst56 max_part