Home | History | Annotate | Download | only in gptfdisk

Lines Matching refs:currentLBA

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