HomeSort by relevance Sort by last modified time
    Searched refs:GPTHeader (Results 1 - 2 of 2) sorted by null

  /external/gptfdisk/
gpt.h 43 struct GPTHeader {
59 }; // struct GPTHeader
64 struct GPTHeader mainHeader;
67 struct GPTHeader secondHeader;
85 int LoadHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector, int *crcOk);
86 int LoadPartitionTable(const struct GPTHeader & header, DiskIO & disk, uint64_t sector = 0);
87 int CheckTable(struct GPTHeader *header);
88 int SaveHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector);
101 int CheckHeaderCRC(struct GPTHeader* header, int warn = 0);
196 void ReverseHeaderBytes(struct GPTHeader* header)
    [all...]
gpt.cc 448 int GPTData::CheckHeaderCRC(struct GPTHeader* header, int warn) {
468 } else if ((hSize > sizeof(GPTHeader)) && warn) {
469 cout << "\aCaution! Header size for CRC check is " << hSize << ", which is greater than " << sizeof(GPTHeader) << ".\n";
476 if (hSize < sizeof(GPTHeader))
479 memcpy(temp, header, sizeof(GPTHeader));
502 if (mainHeader.headerSize > sizeof(GPTHeader))
    [all...]

Completed in 70 milliseconds