/external/vboot_reference/cgpt/ |
cgpt_show.c | 267 header = (GptHeader*)drive->gpt.primary_header; 272 GptHeader* primary_header = (GptHeader*)drive->gpt.primary_header; local 273 printf(GPT_FMT, (int)primary_header->entries_lba, 274 (int)CalculateEntriesSectors(primary_header), 316 !IsSynonymous((GptHeader*)drive->gpt.primary_header,
|
cgpt_common.c | 163 if (CGPT_OK != Load(drive, &drive->gpt.primary_header, 175 GptHeader* primary_header = (GptHeader*)drive->gpt.primary_header; local 176 if (CheckHeader(primary_header, 0, drive->gpt.streaming_drive_sectors, 180 primary_header->entries_lba, 182 CalculateEntriesSectors(primary_header))) { 209 if (CGPT_OK != Save(drive, drive->gpt.primary_header, 225 GptHeader* primary_header = (GptHeader*)drive->gpt.primary_header; local 228 primary_header->entries_lba 818 GptHeader *primary_header, *secondary_header; local 938 GptHeader *primary_header, *secondary_header; local [all...] |
/external/vboot_reference/firmware/include/ |
gpt_misc.h | 84 uint8_t *primary_header; member in struct:__anon27264 120 * primary_header
|
/external/vboot_reference/tests/ |
cgptlib_test.c | 77 header = (GptHeader *)gpt->primary_header; 96 Memset(gpt->primary_header, 0, MAX_SECTOR_SIZE); 120 static uint8_t primary_header[MAX_SECTOR_SIZE]; local 126 gpt.primary_header = primary_header; 161 header = (GptHeader *)gpt->primary_header; 272 GptHeader *h1 = (GptHeader *)gpt->primary_header; 279 gpt->primary_header[0] ^= 0xa5; 284 gpt->primary_header[h1->size - 1] ^= 0x5a; 289 gpt->primary_header[h1->size] ^= 0x5a 1427 GptHeader* primary_header = (GptHeader*)gpt->primary_header; local [all...] |