Searched refs:disk_max_parts (Results 1 – 3 of 3) sorted by relevance
230 static inline int disk_max_parts(struct gendisk *disk) in disk_max_parts() function239 return disk_max_parts(disk) > 1 && in disk_part_scan_enabled()
1180 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()
97 nr = disk_max_parts(hd); in allocate_partitions()