Home
last modified time | relevance | path

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

/linux-6.15/drivers/block/
H A Dbrd.c445 if (max_part > DISK_MAX_PARTS) { in brd_check_and_reset_par()
447 DISK_MAX_PARTS, DISK_MAX_PARTS); in brd_check_and_reset_par()
448 max_part = DISK_MAX_PARTS; in brd_check_and_reset_par()
H A Dloop.c2223 if ((1UL << part_shift) > DISK_MAX_PARTS) { in loop_init()
H A Dnbd.c2647 if ((1UL << part_shift) > DISK_MAX_PARTS) in nbd_init()
/linux-6.15/block/partitions/
H A Dmac.c81 if (blocks_in_map < 0 || blocks_in_map >= DISK_MAX_PARTS) { in mac_partition()
H A Dcore.c94 int nr = DISK_MAX_PARTS; in allocate_partitions()
306 if (partno >= DISK_MAX_PARTS) in add_partition()
/linux-6.15/block/
H A Dgenhd.c443 if (disk->minors > DISK_MAX_PARTS) { in add_disk_fwnode()
445 DISK_MAX_PARTS); in add_disk_fwnode()
446 disk->minors = DISK_MAX_PARTS; in add_disk_fwnode()
966 (disk->flags & GENHD_FL_NO_PART) ? 1 : DISK_MAX_PARTS); in disk_ext_range_show()
/linux-6.15/include/linux/
H A Dblkdev.h55 #define DISK_MAX_PARTS 256 macro