Lines Matching refs:HashHdr
85 static Error checkHashHdrVersion(const GSIHashHeader *HashHdr) { in checkHashHdrVersion() argument
86 if (HashHdr->VerHdr != GSIHashHeader::HdrVersion) in checkHashHdrVersion()
94 static Error readGSIHashHeader(const GSIHashHeader *&HashHdr, in readGSIHashHeader() argument
96 if (Reader.readObject(HashHdr)) in readGSIHashHeader()
100 if (HashHdr->VerSignature != GSIHashHeader::HdrSignature) in readGSIHashHeader()
109 const GSIHashHeader *HashHdr, in readGSIHashRecords() argument
111 if (auto EC = checkHashHdrVersion(HashHdr)) in readGSIHashRecords()
116 if (HashHdr->HrSize % sizeof(PSHashRecord)) in readGSIHashRecords()
119 uint32_t NumHashRecords = HashHdr->HrSize / sizeof(PSHashRecord); in readGSIHashRecords()
131 const GSIHashHeader *HashHdr, in readGSIHashBuckets() argument
134 if (auto EC = checkHashHdrVersion(HashHdr)) in readGSIHashBuckets()
171 if (auto EC = readGSIHashHeader(HashHdr, Reader)) in read()
173 if (auto EC = readGSIHashRecords(HashRecords, HashHdr, Reader)) in read()
175 if (HashHdr->HrSize > 0) in read()
176 if (auto EC = readGSIHashBuckets(HashBuckets, HashBitmap, HashHdr, in read()