Home
last modified time | relevance | path

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

/third_party/gptfdisk/
Dgpt.cc85 mainHeader.lastUsableLBA = 0; in GPTData()
149 mainHeader.lastUsableLBA = 0; in GPTData()
284 if (mainHeader.lastUsableLBA != secondHeader.lastUsableLBA) { in Verify()
286 cout << "\nProblem: main GPT header's last usable LBA pointer (" << mainHeader.lastUsableLBA in Verify()
288 << secondHeader.lastUsableLBA << ")\n" in Verify()
365 … if ((mainHeader.lastUsableLBA >= diskSize) || (mainHeader.lastUsableLBA > mainHeader.backupLBA)) { in Verify()
368 << "sector is " << mainHeader.lastUsableLBA << ", but backup header is at\n" in Verify()
480 if (mainHeader.lastUsableLBA < lastUsedBlock) { in CheckGPTSize()
481 overlap = lastUsedBlock - mainHeader.lastUsableLBA; in CheckGPTSize()
649 mainHeader.lastUsableLBA = secondHeader.lastUsableLBA; in RebuildMainHeader()
[all …]
Dgpt.h50 uint64_t lastUsableLBA; member
174 uint64_t GetLastUsableLBA(void) {return mainHeader.lastUsableLBA;} in GetLastUsableLBA()