Home
last modified time | relevance | path

Searched refs:GptData (Results 1 – 11 of 11) sorted by relevance

/external/vboot_reference/firmware/include/
Dgpt_misc.h113 } GptData; typedef
140 int GptInit(GptData *gpt);
147 GptEntry *GptFindNthEntry(GptData *gpt, const Guid *guid, unsigned int n);
156 int AllocAndReadGptData(VbExDiskHandle_t disk_handle, GptData *gptdata);
161 int WriteAndFreeGptData(VbExDiskHandle_t disk_handle, GptData *gptdata);
176 size_t GptGetEntrySizeBytes(const GptData *gpt, const GptEntry *e);
188 int GptUpdateKernelWithEntry(GptData *gpt, GptEntry *e, uint32_t update_type);
197 int GptUpdateKernelEntry(GptData *gpt, uint32_t update_type);
/external/vboot_reference/firmware/lib/cgptlib/include/
Dcgptlib_internal.h81 int CheckParameters(GptData* gpt);
122 int GptSanityCheck(GptData *gpt);
129 void GptRepair(GptData *gpt);
135 void GptModified(GptData *gpt);
154 void GetCurrentKernelUniqueGuid(GptData *gpt, void *dest);
Dcgptlib.h23 int GptNextKernelEntry(GptData *gpt, uint64_t *start_sector, uint64_t *size);
/external/vboot_reference/tests/
Dcgptlib_test.c72 static void RefreshCrc32(GptData *gpt) in RefreshCrc32()
94 static void ZeroHeaders(GptData *gpt) in ZeroHeaders()
100 static void ZeroEntries(GptData *gpt) in ZeroEntries()
106 static void ZeroHeadersEntries(GptData *gpt) in ZeroHeadersEntries()
117 static GptData *GetEmptyGptData(void) in GetEmptyGptData()
119 static GptData gpt; in GetEmptyGptData()
145 static void BuildTestGptData(GptData *gpt) in BuildTestGptData()
222 GptData *gpt; in TestBuildTestGptData()
240 GptData *gpt; in ParameterTests()
271 GptData *gpt = GetEmptyGptData(); in HeaderCrcTest()
[all …]
Dvboot_kernel_tests.c210 int GptInit(GptData *gpt) in GptInit()
215 int GptNextKernelEntry(GptData *gpt, uint64_t *start_sector, uint64_t *size) in GptNextKernelEntry()
232 void GetCurrentKernelUniqueGuid(GptData *gpt, void *dest) in GetCurrentKernelUniqueGuid()
295 GptData g; in ReadWriteGptTest()
/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib.c15 int GptInit(GptData *gpt) in GptInit()
33 int GptNextKernelEntry(GptData *gpt, uint64_t *start_sector, uint64_t *size) in GptNextKernelEntry()
120 int GptUpdateKernelWithEntry(GptData *gpt, GptEntry *e, uint32_t update_type) in GptUpdateKernelWithEntry()
198 int GptUpdateKernelEntry(GptData *gpt, uint32_t update_type) in GptUpdateKernelEntry()
215 GptEntry *GptFindNthEntry(GptData *gpt, const Guid *guid, unsigned int n) in GptFindNthEntry()
Dcgptlib_internal.c23 int CheckParameters(GptData *gpt) in CheckParameters()
237 int GptSanityCheck(GptData *gpt) in GptSanityCheck()
315 void GptRepair(GptData *gpt) in GptRepair()
406 void GetCurrentKernelUniqueGuid(GptData *gpt, void *dest) in GetCurrentKernelUniqueGuid()
413 void GptModified(GptData *gpt) { in GptModified()
/external/vboot_reference/cgpt/
Dcgpt.h47 GptData gpt;
150 GptEntry *GetEntry(GptData *gpt, int secondary, uint32_t entry_index);
167 uint8_t RepairHeader(GptData *gpt, const uint32_t valid_headers);
168 uint8_t RepairEntries(GptData *gpt, const uint32_t valid_entries);
169 void UpdateCrc(GptData *gpt);
Dcgpt_common.c688 static GptHeader* GetGptHeader(const GptData *gpt) { in GetGptHeader()
705 GptEntry *GetEntry(GptData *gpt, int secondary, uint32_t entry_index) { in GetEntry()
817 void UpdateCrc(GptData *gpt) { in UpdateCrc()
880 uint8_t RepairEntries(GptData *gpt, const uint32_t valid_entries) { in RepairEntries()
937 uint8_t RepairHeader(GptData *gpt, const uint32_t valid_headers) { in RepairHeader()
/external/vboot_reference/firmware/lib/
Dgpt_misc.c24 int AllocAndReadGptData(VbExDiskHandle_t disk_handle, GptData *gptdata) in AllocAndReadGptData()
103 int WriteAndFreeGptData(VbExDiskHandle_t disk_handle, GptData *gptdata) in WriteAndFreeGptData()
220 size_t GptGetEntrySizeBytes(const GptData *gpt, const GptEntry *e) in GptGetEntrySizeBytes()
Dvboot_kernel.c40 GptData gpt; in LoadKernel()