Lines Matching refs:partitionEntriesLBA
327 if (mainHeader.partitionEntriesLBA + GetTableSizeInSectors() > mainHeader.firstUsableLBA) { in Verify()
332 if (mainHeader.partitionEntriesLBA < 2) { in Verify()
337 if (secondHeader.partitionEntriesLBA + GetTableSizeInSectors() > secondHeader.currentLBA) { in Verify()
342 if (mainHeader.partitionEntriesLBA != 2) { in Verify()
344 << "partition table (sector " << mainHeader.partitionEntriesLBA in Verify()
349 if (mainHeader.partitionEntriesLBA + GetTableSizeInSectors() != mainHeader.firstUsableLBA) { in Verify()
351 << mainHeader.partitionEntriesLBA + GetTableSizeInSectors() - 1 << ")\n" in Verify()
652 mainHeader.partitionEntriesLBA = secondHeader.firstUsableLBA - GetTableSizeInSectors(); in RebuildMainHeader()
672 secondHeader.partitionEntriesLBA = secondHeader.lastUsableLBA + UINT64_C(1); in RebuildSecondHeader()
1099 retval = disk.Seek(header.partitionEntriesLBA); in LoadPartitionTable()
1142 if (myDisk.Seek(header->partitionEntriesLBA)) { in CheckTable()
1265 allOK = SavePartitionTable(myDisk, secondHeader.partitionEntriesLBA); in SaveGPTData()
1276 allOK = allOK && SavePartitionTable(myDisk, mainHeader.partitionEntriesLBA); in SaveGPTData()
1490 if (!myDisk.Seek(mainHeader.partitionEntriesLBA)) in DestroyGPT()
1506 if (!myDisk.Seek(secondHeader.partitionEntriesLBA)) in DestroyGPT()
1591 cout << "Main partition table begins at sector " << mainHeader.partitionEntriesLBA in DisplayGPTData()
1592 … << " and ends at sector " << mainHeader.partitionEntriesLBA + GetTableSizeInSectors() - 1 << "\n"; in DisplayGPTData()
1884 mainHeader.firstUsableLBA = GetTableSizeInSectors() + mainHeader.partitionEntriesLBA; in SetGPTSize()
1906 mainHeader.partitionEntriesLBA = pteSector; in MoveMainTable()
2019 mainHeader.partitionEntriesLBA = (uint64_t) 2; in ClearGPTData()
2021 mainHeader.firstUsableLBA = GetTableSizeInSectors() + mainHeader.partitionEntriesLBA; in ClearGPTData()
2070 secondHeader.partitionEntriesLBA = secondHeader.lastUsableLBA + UINT64_C(1); in MoveSecondHeaderToEnd()
2526 ReverseBytes(&header->partitionEntriesLBA, 8); in ReverseHeaderBytes()