Home
last modified time | relevance | path

Searched refs:firstUsableLBA (Results 1 – 2 of 2) sorted by relevance

/external/gptfdisk/
Dgpt.cc276 if (mainHeader.firstUsableLBA != secondHeader.firstUsableLBA) { in Verify()
278 cout << "\nProblem: main GPT header's first usable LBA pointer (" << mainHeader.firstUsableLBA in Verify()
280 << secondHeader.firstUsableLBA << ")\n"; in Verify()
325 if (mainHeader.partitionEntriesLBA + GetTableSizeInSectors() > mainHeader.firstUsableLBA) { in Verify()
347 if (mainHeader.partitionEntriesLBA + GetTableSizeInSectors() != mainHeader.firstUsableLBA) { in Verify()
350 …<< "and the first usable sector (" << mainHeader.firstUsableLBA << "). This is helpful in some exo… in Verify()
461 if (mainHeader.firstUsableLBA > firstUsedBlock) { in CheckGPTSize()
462 overlap = mainHeader.firstUsableLBA - firstUsedBlock; in CheckGPTSize()
641 mainHeader.firstUsableLBA = secondHeader.firstUsableLBA; in RebuildMainHeader()
645 mainHeader.partitionEntriesLBA = secondHeader.firstUsableLBA - GetTableSizeInSectors(); in RebuildMainHeader()
[all …]
Dgpt.h51 uint64_t firstUsableLBA; member
176 uint64_t GetFirstUsableLBA(void) {return mainHeader.firstUsableLBA;} in GetFirstUsableLBA()