Home
last modified time | relevance | path

Searched refs:partitionEntriesLBA (Results 1 – 3 of 3) sorted by relevance

/external/gptfdisk/
Dgpt.cc325 if (mainHeader.partitionEntriesLBA + GetTableSizeInSectors() > mainHeader.firstUsableLBA) { in Verify()
330 if (mainHeader.partitionEntriesLBA < 2) { in Verify()
335 if (secondHeader.partitionEntriesLBA + GetTableSizeInSectors() > secondHeader.currentLBA) { in Verify()
340 if (mainHeader.partitionEntriesLBA != 2) { in Verify()
342 << "partition table (sector " << mainHeader.partitionEntriesLBA in Verify()
347 if (mainHeader.partitionEntriesLBA + GetTableSizeInSectors() != mainHeader.firstUsableLBA) { in Verify()
349 << mainHeader.partitionEntriesLBA + GetTableSizeInSectors() - 1 << ")\n" in Verify()
645 mainHeader.partitionEntriesLBA = secondHeader.firstUsableLBA - GetTableSizeInSectors(); in RebuildMainHeader()
665 secondHeader.partitionEntriesLBA = secondHeader.lastUsableLBA + UINT64_C(1); in RebuildSecondHeader()
1073 retval = disk.Seek(header.partitionEntriesLBA); in LoadPartitionTable()
[all …]
Dgpt.h54 uint64_t partitionEntriesLBA; member
174 uint64_t GetMainPartsLBA(void) {return mainHeader.partitionEntriesLBA;} in GetMainPartsLBA()
175 uint64_t GetSecondPartsLBA(void) {return secondHeader.partitionEntriesLBA;} in GetSecondPartsLBA()
Dgpttext.cc189 cout << "Currently, main partition table begins at sector " << mainHeader.partitionEntriesLBA in MoveMainTable()
190 << " and ends at sector " << mainHeader.partitionEntriesLBA + pteSize - 1 << "\n"; in MoveMainTable()