Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/
Dgpt_misc.c24 int AllocAndReadGptData(VbExDiskHandle_t disk_handle, GptData *gptdata) in AllocAndReadGptData() argument
30 gptdata->modified = 0; in AllocAndReadGptData()
33 gptdata->primary_header = (uint8_t *)VbExMalloc(gptdata->sector_bytes); in AllocAndReadGptData()
34 gptdata->secondary_header = in AllocAndReadGptData()
35 (uint8_t *)VbExMalloc(gptdata->sector_bytes); in AllocAndReadGptData()
36 gptdata->primary_entries = (uint8_t *)VbExMalloc(max_entries_bytes); in AllocAndReadGptData()
37 gptdata->secondary_entries = (uint8_t *)VbExMalloc(max_entries_bytes); in AllocAndReadGptData()
39 if (gptdata->primary_header == NULL || in AllocAndReadGptData()
40 gptdata->secondary_header == NULL || in AllocAndReadGptData()
41 gptdata->primary_entries == NULL || in AllocAndReadGptData()
[all …]
/external/vboot_reference/firmware/include/
Dgpt_misc.h156 int AllocAndReadGptData(VbExDiskHandle_t disk_handle, GptData *gptdata);
161 int WriteAndFreeGptData(VbExDiskHandle_t disk_handle, GptData *gptdata);