Lines Matching refs:currentLBA
202 if (mainHeader.currentLBA != 1) { in Verify()
207 mainHeader.currentLBA = 1; in Verify()
209 if (secondHeader.currentLBA != (diskSize - UINT64_C(1))) { in Verify()
218 if (mainHeader.currentLBA != secondHeader.backupLBA) { in Verify()
220 cout << "\nProblem: main GPT header's current LBA pointer (" << mainHeader.currentLBA in Verify()
224 if (mainHeader.backupLBA != secondHeader.currentLBA) { in Verify()
228 << secondHeader.currentLBA << ").\n" in Verify()
550 mainHeader.currentLBA = secondHeader.backupLBA; in RebuildMainHeader()
551 mainHeader.backupLBA = secondHeader.currentLBA; in RebuildMainHeader()
571 secondHeader.currentLBA = mainHeader.backupLBA; in RebuildSecondHeader()
572 secondHeader.backupLBA = mainHeader.currentLBA; in RebuildSecondHeader()
1295 if (secondHeader.currentLBA != diskSize - UINT64_C(1)) { in LoadGPTBackup()
1337 if (!myDisk.Seek(mainHeader.currentLBA)) in DestroyGPT()
1369 if (!myDisk.Seek(secondHeader.currentLBA)) in DestroyGPT()
1847 mainHeader.currentLBA = UINT64_C(1); in ClearGPTData()
1888 mainHeader.backupLBA = secondHeader.currentLBA = diskSize - UINT64_C(1); in MoveSecondHeaderToEnd()
2317 ReverseBytes(&header->currentLBA, 8); in ReverseHeaderBytes()