Home
last modified time | relevance | path

Searched refs:max_part (Results 1 – 2 of 2) sorted by relevance

/external/vboot_reference/cgpt/
Dcgpt_prioritize.c101 uint32_t max_part; in CgptPrioritize() local
119 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()
Dcgpt_add.c150 uint32_t max_part = GetNumberOfEntries(drive); in CgptGetUnusedPartition() local
152 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() local
226 if (params->partition >= max_part) { in CgptGetPartitionDetails()
235 for (index = 0; index < max_part; index++) { in CgptGetPartitionDetails()
242 if (index >= max_part) { in CgptGetPartitionDetails()