Searched refs:max_part (Results 1 – 2 of 2) sorted by relevance
101 uint32_t max_part; in CgptPrioritize() local119 max_part = GetNumberOfEntries(&drive); in CgptPrioritize()122 if (params->set_partition < 1 || params->set_partition > max_part) { in CgptPrioritize()124 params->set_partition, max_part); in CgptPrioritize()137 for (i = 0; i < max_part; i++) { in CgptPrioritize()145 for (i = 0; i < max_part; i++) { in CgptPrioritize()
150 uint32_t max_part = GetNumberOfEntries(drive); in CgptGetUnusedPartition() local152 if (params->partition > max_part) { in CgptGetUnusedPartition()160 for (i = 0; i < max_part; i++) { in CgptGetUnusedPartition()224 int max_part = GetNumberOfEntries(&drive); in CgptGetPartitionDetails() local226 if (params->partition >= max_part) { in CgptGetPartitionDetails()235 for (index = 0; index < max_part; index++) { in CgptGetPartitionDetails()242 if (index >= max_part) { in CgptGetPartitionDetails()