Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/block/
Dbrd.c486 if (max_part > DISK_MAX_PARTS) { in brd_check_and_reset_par()
488 DISK_MAX_PARTS, DISK_MAX_PARTS); in brd_check_and_reset_par()
489 max_part = DISK_MAX_PARTS; in brd_check_and_reset_par()
Dloop.c2344 if ((1UL << part_shift) > DISK_MAX_PARTS) { in loop_init()
Dnbd.c2400 if ((1UL << part_shift) > DISK_MAX_PARTS) in nbd_init()
/Linux-v5.10/include/linux/
Dgenhd.h31 #define DISK_MAX_PARTS 256 macro
233 return DISK_MAX_PARTS; in disk_max_parts()
/Linux-v5.10/block/partitions/
Dmac.c67 if (blocks_in_map < 0 || blocks_in_map >= DISK_MAX_PARTS) { in mac_partition()
/Linux-v5.10/block/
Dgenhd.c1719 if (minors > DISK_MAX_PARTS) { in __alloc_disk_node()
1722 DISK_MAX_PARTS); in __alloc_disk_node()
1723 minors = DISK_MAX_PARTS; in __alloc_disk_node()