Lines Matching refs:GPTHeader
453 int GPTData::CheckHeaderCRC(struct GPTHeader* header, int warn) { in CheckHeaderCRC()
473 } else if ((hSize > sizeof(GPTHeader)) && warn) { in CheckHeaderCRC()
474 …eader size for CRC check is " << hSize << ", which is greater than " << sizeof(GPTHeader) << ".\n"; in CheckHeaderCRC()
481 if (hSize < sizeof(GPTHeader)) in CheckHeaderCRC()
484 memcpy(temp, header, sizeof(GPTHeader)); in CheckHeaderCRC()
507 if (mainHeader.headerSize > sizeof(GPTHeader)) in RecomputeCRCs()
922 int GPTData::LoadHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector, int *crcOk) { in LoadHeader()
924 GPTHeader tempHeader; in LoadHeader()
951 int GPTData::LoadPartitionTable(const struct GPTHeader & header, DiskIO & disk, uint64_t sector) { in LoadPartitionTable()
991 int GPTData::CheckTable(struct GPTHeader *header) { in CheckTable()
994 GPTHeader *otherHeader; in CheckTable()
1224 int GPTData::SaveHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector) { in SaveHeader()
2318 void GPTData::ReverseHeaderBytes(struct GPTHeader* header) { in ReverseHeaderBytes()
2453 if (sizeof(struct GPTHeader) != 512) { in SizesOK()
2454 cerr << "GPTHeader is " << sizeof(GPTHeader) << " bytes, should be 512 bytes; aborting!\n"; in SizesOK()