Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c17 size_t CalculateEntriesSectors(GptHeader* h) { in CalculateEntriesSectors() function
117 if (h->entries_lba != h->my_lba - CalculateEntriesSectors(h)) in CheckHeader()
143 if (h->first_usable_lba < 2 + CalculateEntriesSectors(h)) in CheckHeader()
146 streaming_drive_sectors - 1 - CalculateEntriesSectors(h)) in CheckHeader()
333 header2->entries_lba = header2->my_lba - CalculateEntriesSectors(header1); in GptRepair()
/external/vboot_reference/cgpt/
Dcgpt_create.c84 h->first_usable_lba = h->entries_lba + CalculateEntriesSectors(h); in GptCreate()
86 CalculateEntriesSectors(h) - 1); in GptCreate()
Dcgpt_common.c182 CalculateEntriesSectors(primary_header))) { in GptLoad()
196 CalculateEntriesSectors(secondary_header))) { in GptLoad()
230 CalculateEntriesSectors(primary_header))) { in GptSave()
240 CalculateEntriesSectors(secondary_header))) { in GptSave()
953 CalculateEntriesSectors(primary_header); in RepairHeader()
Dcgpt_show.c274 (int)CalculateEntriesSectors(primary_header), in GptShow()
285 (int)CalculateEntriesSectors(secondary_header), in GptShow()
/external/vboot_reference/firmware/lib/cgptlib/include/
Dcgptlib_internal.h164 size_t CalculateEntriesSectors(GptHeader* h);
/external/vboot_reference/tests/
Dvboot_kernel_tests.c91 h->entries_lba = h->my_lba - CalculateEntriesSectors(h); in SetupGptHeader()
97 h->first_usable_lba = 2 + CalculateEntriesSectors(h); in SetupGptHeader()
98 h->last_usable_lba = MOCK_SECTOR_COUNT - 2 - CalculateEntriesSectors(h); in SetupGptHeader()
Dcgptlib_test.c542 h2->entries_lba = h2->my_lba - CalculateEntriesSectors(h2); in NumberOfPartitionEntriesTest()
1468 CalculateEntriesSectors(secondary_header); in CheckHeaderOffDevice()