Searched refs:secondary_entries (Results 1 – 7 of 7) sorted by relevance
/external/vboot_reference/firmware/lib/ |
D | gpt_misc.c | 37 gptdata->secondary_entries = (uint8_t *)VbExMalloc(max_entries_bytes); in AllocAndReadGptData() 42 gptdata->secondary_entries == NULL) in AllocAndReadGptData() 88 gptdata->secondary_entries)) in AllocAndReadGptData() 172 if (gptdata->secondary_entries) { in WriteAndFreeGptData() 177 gptdata->secondary_entries)) in WriteAndFreeGptData() 190 if (gptdata->secondary_entries) in WriteAndFreeGptData() 191 VbExFree(gptdata->secondary_entries); in WriteAndFreeGptData()
|
/external/vboot_reference/cgpt/ |
D | cgpt_common.c | 193 if (CGPT_OK != Load(drive, &drive->gpt.secondary_entries, in GptLoad() 237 if (CGPT_OK != Save(drive, drive->gpt.secondary_entries, in GptSave() 255 if (drive->gpt.secondary_entries) in GptSave() 256 free(drive->gpt.secondary_entries); in GptSave() 257 drive->gpt.secondary_entries = 0; in GptSave() 715 entries = gpt->secondary_entries; in GetEntry() 722 entries = gpt->secondary_entries; in GetEntry() 835 Crc32(gpt->secondary_entries, entries_size); in UpdateCrc() 900 if (memcmp(gpt->primary_entries, gpt->secondary_entries, entries_size)) { in RepairEntries() 901 memcpy(gpt->secondary_entries, gpt->primary_entries, entries_size); in RepairEntries() [all …]
|
D | cgpt_create.c | 94 AllocAndClear(&drive->gpt.secondary_entries, entries_size); in GptCreate()
|
D | cgpt_show.c | 296 memcmp(drive->gpt.primary_entries, drive->gpt.secondary_entries, in GptShow() 324 entries = (GptEntry*)drive->gpt.secondary_entries; in GptShow()
|
/external/vboot_reference/tests/ |
D | cgptlib_test.c | 80 entries2 = (GptEntry *)gpt->secondary_entries; in RefreshCrc32() 103 Memset(gpt->secondary_entries, 0, PARTITION_ENTRIES_SIZE); in ZeroEntries() 123 static uint8_t secondary_entries[PARTITION_ENTRIES_SIZE]; in GetEmptyGptData() local 129 gpt.secondary_entries = secondary_entries; in GetEmptyGptData() 195 entries2 = (GptEntry *)gpt->secondary_entries; in BuildTestGptData() 682 GptEntry *e2 = (GptEntry *)(gpt->secondary_entries); in EntriesCrcTest() 689 gpt->secondary_entries[TOTAL_ENTRIES_SIZE-1] ^= 0x5a; in EntriesCrcTest() 893 gpt->secondary_entries[0]++; in SanityCheckTest() 916 gpt->secondary_entries[0]++; in SanityCheckTest() 936 gpt->primary_entries = gpt->secondary_entries; in SanityCheckTest() [all …]
|
/external/vboot_reference/firmware/include/ |
D | gpt_misc.h | 90 uint8_t *secondary_entries; member
|
/external/vboot_reference/firmware/lib/cgptlib/ |
D | cgptlib_internal.c | 243 GptEntry *entries2 = (GptEntry *)(gpt->secondary_entries); in GptSanityCheck() 320 GptEntry *entries2 = (GptEntry *)(gpt->secondary_entries); in GptRepair()
|