/external/vboot_reference/firmware/lib/ |
gpt_misc.c | 33 gptdata->primary_header = (uint8_t *)VbExMalloc(gptdata->sector_bytes); 39 if (gptdata->primary_header == NULL || 46 if (0 != VbExDiskRead(disk_handle, 1, 1, gptdata->primary_header)) 50 GptHeader* primary_header = (GptHeader*)gptdata->primary_header; 51 if (0 == CheckHeader(primary_header, 0, 56 uint64_t entries_bytes = primary_header->number_of_entries 57 * primary_header->size_of_entry; 61 primary_header->entries_lba, 106 GptHeader *header = (GptHeader *)gptdata->primary_header; [all...] |
/external/vboot_reference/cgpt/ |
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...] |
cgpt_create.c | 28 AllocAndClear(&drive->gpt.primary_header, 38 GptHeader *h = (GptHeader *)drive->gpt.primary_header;
|
cgpt_legacy.c | 22 h1 = (GptHeader *)drive.gpt.primary_header;
|
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_add.c | 283 (GptHeader*)drive->gpt.primary_header);
|
/external/vboot_reference/tests/ |
vboot_kernel_tests.c | 313 Memset(g.primary_header, '\0', g.sector_bytes); 429 Memset(g.primary_header, '\0', g.sector_bytes); 430 h = (GptHeader*)g.primary_header; 443 Memset(g.primary_header, '\0', g.sector_bytes); 444 h = (GptHeader*)g.primary_header; 459 h = (GptHeader *)g.primary_header; 471 Memset(g.primary_header, '\0', g.sector_bytes); 477 Memset(g.primary_header, '\0', g.sector_bytes); 483 Memset(g.primary_header, '\0', g.sector_bytes); 489 Memset(g.primary_header, '\0', g.sector_bytes) [all...] |
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...] |
/external/vboot_reference/firmware/include/ |
gpt_misc.h | 84 uint8_t *primary_header; member in struct:__anon27264 120 * primary_header
|
/external/vboot_reference/firmware/lib/cgptlib/ |
cgptlib.c | 35 GptHeader *header = (GptHeader *)gpt->primary_header; 217 GptHeader *header = (GptHeader *)gpt->primary_header;
|
cgptlib_internal.c | 240 GptHeader *header1 = (GptHeader *)(gpt->primary_header); 317 GptHeader *header1 = (GptHeader *)(gpt->primary_header); 414 GptHeader *header = (GptHeader *)gpt->primary_header;
|