Lines Matching refs:primary_header
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;
117 if (gptdata->primary_header) {
118 GptHeader *h = (GptHeader *)(gptdata->primary_header);
137 gptdata->primary_header))
186 if (gptdata->primary_header)
187 VbExFree(gptdata->primary_header);