Lines Matching refs:GPTHeader
448 int GPTData::CheckHeaderCRC(struct GPTHeader* header, int warn) { in CheckHeaderCRC()
468 } else if ((hSize > sizeof(GPTHeader)) && warn) { in CheckHeaderCRC()
469 …eader size for CRC check is " << hSize << ", which is greater than " << sizeof(GPTHeader) << ".\n"; in CheckHeaderCRC()
476 if (hSize < sizeof(GPTHeader)) in CheckHeaderCRC()
479 memcpy(temp, header, sizeof(GPTHeader)); in CheckHeaderCRC()
502 if (mainHeader.headerSize > sizeof(GPTHeader)) in RecomputeCRCs()
917 int GPTData::LoadHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector, int *crcOk) { in LoadHeader()
919 GPTHeader tempHeader; in LoadHeader()
946 int GPTData::LoadPartitionTable(const struct GPTHeader & header, DiskIO & disk, uint64_t sector) { in LoadPartitionTable()
986 int GPTData::CheckTable(struct GPTHeader *header) { in CheckTable()
989 GPTHeader *otherHeader; in CheckTable()
1219 int GPTData::SaveHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector) { in SaveHeader()
2311 void GPTData::ReverseHeaderBytes(struct GPTHeader* header) { in ReverseHeaderBytes()
2446 if (sizeof(struct GPTHeader) != 512) { in SizesOK()
2447 cerr << "GPTHeader is " << sizeof(GPTHeader) << " bytes, should be 512 bytes; aborting!\n"; in SizesOK()