Lines Matching refs:GptHeader
17 size_t CalculateEntriesSectors(GptHeader* h) { in CalculateEntriesSectors()
53 uint32_t HeaderCrc(GptHeader *h) in HeaderCrc()
66 int CheckHeader(GptHeader *h, int is_secondary, in CheckHeader()
159 int CheckEntries(GptEntry *entries, GptHeader *h) in CheckEntries()
211 int HeaderFieldsSame(GptHeader *h1, GptHeader *h2) in HeaderFieldsSame()
240 GptHeader *header1 = (GptHeader *)(gpt->primary_header); in GptSanityCheck()
241 GptHeader *header2 = (GptHeader *)(gpt->secondary_header); in GptSanityCheck()
244 GptHeader *goodhdr = NULL; in GptSanityCheck()
317 GptHeader *header1 = (GptHeader *)(gpt->primary_header); in GptRepair()
318 GptHeader *header2 = (GptHeader *)(gpt->secondary_header); in GptRepair()
330 Memcpy(header2, header1, sizeof(GptHeader)); in GptRepair()
339 Memcpy(header1, header2, sizeof(GptHeader)); in GptRepair()
414 GptHeader *header = (GptHeader *)gpt->primary_header; in GptModified()