Home
last modified time | relevance | path

Searched refs:disk_max_parts (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/include/linux/
Dgenhd.h230 static inline int disk_max_parts(struct gendisk *disk) in disk_max_parts() function
239 return disk_max_parts(disk) > 1 && in disk_part_scan_enabled()
/Linux-v5.10/block/
Dgenhd.c1180 if (!get_capacity(sgp) || (!disk_max_parts(sgp) && in show_partition()
1249 return sprintf(buf, "%d\n", disk_max_parts(disk)); in disk_ext_range_show()
1515 if (disk_max_parts(disk) && target > disk_max_parts(disk)) in disk_expand_part_tbl()
/Linux-v5.10/block/partitions/
Dcore.c97 nr = disk_max_parts(hd); in allocate_partitions()