Searched refs:lastUsableLBA (Results 1 – 2 of 2) sorted by relevance
282 if (mainHeader.lastUsableLBA != secondHeader.lastUsableLBA) { in Verify()284 cout << "\nProblem: main GPT header's last usable LBA pointer (" << mainHeader.lastUsableLBA in Verify()286 << secondHeader.lastUsableLBA << ")\n" in Verify()363 … if ((mainHeader.lastUsableLBA >= diskSize) || (mainHeader.lastUsableLBA > mainHeader.backupLBA)) { in Verify()366 << "sector is " << mainHeader.lastUsableLBA << ", but backup header is at\n" in Verify()473 if (mainHeader.lastUsableLBA < lastUsedBlock) { in CheckGPTSize()474 overlap = lastUsedBlock - mainHeader.lastUsableLBA; in CheckGPTSize()642 mainHeader.lastUsableLBA = secondHeader.lastUsableLBA; in RebuildMainHeader()663 secondHeader.lastUsableLBA = mainHeader.lastUsableLBA; in RebuildSecondHeader()665 secondHeader.partitionEntriesLBA = secondHeader.lastUsableLBA + UINT64_C(1); in RebuildSecondHeader()[all …]
52 uint64_t lastUsableLBA; member177 uint64_t GetLastUsableLBA(void) {return mainHeader.lastUsableLBA;} in GetLastUsableLBA()