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.cc451 if (partitions[i].GetLastLBA() > lastUsedBlock) { in CheckGPTSize()
452 lastUsedBlock = partitions[i].GetLastLBA(); in CheckGPTSize()
689 (partitions[j].GetLastLBA() == mbrLast) && (partitions[j].IsUsed())) in FindHybridMismatches()
724 << " to " << partitions[i].GetLastLBA() << "\n"; in FindOverlaps()
726 << " to " << partitions[j].GetLastLBA() << "\n"; in FindOverlaps()
744 if (partitions[i].GetFirstLBA() > partitions[i].GetLastLBA()) { in FindInsanePartitions()
748 if (partitions[i].GetLastLBA() >= diskSize) { in FindInsanePartitions()
1720 partitions[partNum].GetLastLBA()); in XFormDisklabel()
1777 if (allOK && (partitions[gptPart].GetLastLBA() == UINT64_C(0))) { in OnePartToMBR()
1783 if (partitions[gptPart].GetLastLBA() > UINT32_MAX) { in OnePartToMBR()
[all …]
Dbasicmbr.cc821 usedAsEBR = (SectorUsedAs(partitions[i].GetLastLBA()) == EBR); in UpdateCanBeLogical()
858 (partitions[i].GetLastLBA() < lastLogical)) in UpdateCanBeLogical()
888 (partitions[i].GetLastLBA() > lastFound)) in LastLogicalLBA()
889 lastFound = partitions[i].GetLastLBA(); in LastLogicalLBA()
922 if ((partitions[i].GetStartLBA() > diskSize) || (partitions[i].GetLastLBA() > diskSize)) { in DoTheyFit()
1176 if ((partitions[i].GetStartLBA() > diskSize) || (partitions[i].GetLastLBA() > diskSize) || in DeleteOversizedParts()
1285 (partitions[i].GetLastLBA() <= lastLogicalLBA)) { in MakeLogicalsContiguous()
1470 thisLastLBA = partitions[i].GetLastLBA() + 1; in FindFirstInFree()
1487 if ((partitions[i].GetStartLBA() <= sector) && (partitions[i].GetLastLBA() >= sector)) in SectorUsedAs()
Dgptcurses.cc97 tempSpace->lastLBA = partitions[i].GetLastLBA(); in MakeSpacesFromParts()
334 printw("Last sector: %lld (at %s)\n", partitions[partNum].GetLastLBA(), in ShowInfo()
335 BytesToIeee(partitions[partNum].GetLastLBA(), blockSize).c_str()); in ShowInfo()
336 size = partitions[partNum].GetLastLBA() - partitions[partNum].GetFirstLBA() + 1; in ShowInfo()
Dgptpart.h66 uint64_t GetLastLBA(void) const {return lastLBA;} in GetLastLBA() function
Dmbrpart.h98 uint64_t GetLastLBA(void) const;
Dmbr.cc154 lastSector = (uint64_t) origPart->GetLastLBA(); in AsGPT()