• Home
  • Raw
  • Download

Lines Matching refs:lastUsableLBA

237    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()
1070 … if ((mainHeader.lastUsableLBA >= diskSize) || (mainHeader.lastUsableLBA > mainHeader.backupLBA)) { in SaveGPTData()
1440 << ", last usable sector is " << mainHeader.lastUsableLBA << "\n"; in DisplayGPTData()
1860 mainHeader.lastUsableLBA = diskSize - mainHeader.firstUsableLBA; in ClearGPTData()
1889 if (mainHeader.lastUsableLBA != diskSize - mainHeader.firstUsableLBA) { in MoveSecondHeaderToEnd()
1897 mainHeader.lastUsableLBA = secondHeader.lastUsableLBA = diskSize - mainHeader.firstUsableLBA; in MoveSecondHeaderToEnd()
1898 secondHeader.partitionEntriesLBA = secondHeader.lastUsableLBA + UINT64_C(1); in MoveSecondHeaderToEnd()
2004 if ((sectorOK != 1) && (later <= mainHeader.lastUsableLBA)) { in Align()
2114 if (first > mainHeader.lastUsableLBA) in FindFirstAvailable()
2148 last = mainHeader.lastUsableLBA; in FindLastAvailable()
2174 nearestStart = mainHeader.lastUsableLBA; in FindLastInFree()
2231 (sector > mainHeader.lastUsableLBA)) { in IsFree()
2320 ReverseBytes(&header->lastUsableLBA, 8); in ReverseHeaderBytes()