Home
last modified time | relevance | path

Searched refs:lastUsableLBA (Results 1 – 2 of 2) sorted by relevance

/external/gptfdisk/
Dgpt.cc237 if (mainHeader.lastUsableLBA != secondHeader.lastUsableLBA) { in Verify()
239 cout << "\nProblem: main GPT header's last usable LBA pointer (" << mainHeader.lastUsableLBA in Verify()
241 << secondHeader.lastUsableLBA << ")\n" in Verify()
279 … if ((mainHeader.lastUsableLBA >= diskSize) || (mainHeader.lastUsableLBA > mainHeader.backupLBA)) { in Verify()
282 << "sector is " << mainHeader.lastUsableLBA << ", but backup header is at\n" in Verify()
384 if (mainHeader.lastUsableLBA < lastUsedBlock) { in CheckGPTSize()
385 overlap = lastUsedBlock - mainHeader.lastUsableLBA; in CheckGPTSize()
553 mainHeader.lastUsableLBA = secondHeader.lastUsableLBA; in RebuildMainHeader()
574 secondHeader.lastUsableLBA = mainHeader.lastUsableLBA; in RebuildSecondHeader()
576 secondHeader.partitionEntriesLBA = secondHeader.lastUsableLBA + UINT64_C(1); in RebuildSecondHeader()
[all …]
Dgpt.h52 uint64_t lastUsableLBA; member
170 uint64_t GetLastUsableLBA(void) {return mainHeader.lastUsableLBA;} in GetLastUsableLBA()