Home
last modified time | relevance | path

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

/linux/drivers/block/
H A Dbrd.c237 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 Dnbd.c168 static int max_part = 16; variable
378 if (max_part) in nbd_set_size()
1589 if (max_part) in nbd_set_cmd_timeout()
1774 if (max_part)
1777 if (max_part)
2686 if (max_part < 0) { in nbd_init()
2687 pr_err("max_part must be >= 0\n"); in nbd_init()
2692 if (max_part > 0) { in nbd_init()
2693 part_shift = fls(max_part); in nbd_init()
2696 * Adjust max_part accordin
[all...]
H A Dloop.c137 static int max_part; variable
1817 module_param(max_part, int, 0444);
1818 MODULE_PARM_DESC(max_part, "Maximum number of partitions per loop device");
2061 * If max_part is given, partition scanning is globally enabled for in loop_add()
2063 * multiples of max_part. in loop_add()
2066 * parameteters like 'max_loop' and 'max_part' make things needlessly in loop_add()
2248 if (max_part > 0) { in loop_init()
2249 part_shift = fls(max_part); in loop_init()
2252 * Adjust max_part according to part_shift as it is exported in loop_init()
2259 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