Home
last modified time | relevance | path

Searched refs:GetLastLBA (Results 1 – 7 of 7) sorted by relevance

/external/gptfdisk/
Dmbrpart.cc223 uint64_t MBRPart::GetLastLBA(void) const { in GetLastLBA() function in MBRPart
234 (firstLBA <= other.GetLastLBA()) != (GetLastLBA() < other.firstLBA); in DoTheyOverlap()
331 cout << GetLastLBA() << " "; in ShowData()
Dgpt.cc367 if (partitions[i].GetLastLBA() > lastUsedBlock) { in CheckGPTSize()
368 lastUsedBlock = partitions[i].GetLastLBA(); in CheckGPTSize()
605 (partitions[j].GetLastLBA() == mbrLast) && (partitions[j].IsUsed())) in FindHybridMismatches()
640 << " to " << partitions[i].GetLastLBA() << "\n"; in FindOverlaps()
642 << " to " << partitions[j].GetLastLBA() << "\n"; in FindOverlaps()
660 if (partitions[i].GetFirstLBA() > partitions[i].GetLastLBA()) { in FindInsanePartitions()
664 if (partitions[i].GetLastLBA() >= diskSize) { in FindInsanePartitions()
1602 partitions[partNum].GetLastLBA()); in XFormDisklabel()
1659 if (allOK && (partitions[gptPart].GetLastLBA() == UINT64_C(0))) { in OnePartToMBR()
1665 if (partitions[gptPart].GetLastLBA() > UINT32_MAX) { in OnePartToMBR()
[all …]
Dbasicmbr.cc788 usedAsEBR = (SectorUsedAs(partitions[i].GetLastLBA()) == EBR); in UpdateCanBeLogical()
825 (partitions[i].GetLastLBA() < lastLogical)) in UpdateCanBeLogical()
855 (partitions[i].GetLastLBA() > lastFound)) in LastLogicalLBA()
856 lastFound = partitions[i].GetLastLBA(); in LastLogicalLBA()
889 if ((partitions[i].GetStartLBA() > diskSize) || (partitions[i].GetLastLBA() > diskSize)) { in DoTheyFit()
1143 if ((partitions[i].GetStartLBA() > diskSize) || (partitions[i].GetLastLBA() > diskSize) || in DeleteOversizedParts()
1252 (partitions[i].GetLastLBA() <= lastLogicalLBA)) { in MakeLogicalsContiguous()
1437 thisLastLBA = partitions[i].GetLastLBA() + 1; in FindFirstInFree()
1454 if ((partitions[i].GetStartLBA() <= sector) && (partitions[i].GetLastLBA() >= sector)) in SectorUsedAs()
Dgptcurses.cc96 tempSpace->lastLBA = partitions[i].GetLastLBA(); in MakeSpacesFromParts()
333 printw("Last sector: %lld (at %s)\n", partitions[partNum].GetLastLBA(), in ShowInfo()
334 BytesToIeee(partitions[partNum].GetLastLBA(), blockSize).c_str()); in ShowInfo()
335 size = partitions[partNum].GetLastLBA() - partitions[partNum].GetFirstLBA(); in ShowInfo()
Dgptpart.h65 uint64_t GetLastLBA(void) const {return lastLBA;} in GetLastLBA() function
Dmbrpart.h97 uint64_t GetLastLBA(void) const;
Dmbr.cc157 lastSector = (uint64_t) origPart->GetLastLBA(); in AsGPT()