Home | History | Annotate | Download | only in gptfdisk

Lines Matching refs:currentLBA

207    if (mainHeader.currentLBA != 1) {
212 mainHeader.currentLBA = 1;
214 if (secondHeader.currentLBA != (diskSize - UINT64_C(1))) {
223 if (mainHeader.currentLBA != secondHeader.backupLBA) {
225 cout << "\nProblem: main GPT header's current LBA pointer (" << mainHeader.currentLBA
229 if (mainHeader.backupLBA != secondHeader.currentLBA) {
233 << secondHeader.currentLBA << ").\n"
555 mainHeader.currentLBA = secondHeader.backupLBA;
556 mainHeader.backupLBA = secondHeader.currentLBA;
576 secondHeader.currentLBA = mainHeader.backupLBA;
577 secondHeader.backupLBA = mainHeader.currentLBA;
1300 if (secondHeader.currentLBA != diskSize - UINT64_C(1)) {
1342 if (!myDisk.Seek(mainHeader.currentLBA))
1374 if (!myDisk.Seek(secondHeader.currentLBA))
1854 mainHeader.currentLBA = UINT64_C(1);
1895 mainHeader.backupLBA = secondHeader.currentLBA = diskSize - UINT64_C(1);
2324 ReverseBytes(&header->currentLBA, 8);