Lines Matching refs:GetStartLBA
202 logicalNum = ReadLogicalParts(partitions[i].GetStartLBA(), abs(logicalNum) + 1); in ReadMBRData()
359 extFirstLBA = partitions[i].GetStartLBA(); in WriteMBRData()
385 if ((next < MAX_MBR_PARTS) && (next > 0) && (partitions[next].GetStartLBA() > 0)) { in WriteMBRData()
387 … tempMBR.partitions[1].firstLBA = (uint32_t) (partitions[next].GetStartLBA() - extFirstLBA - 1); in WriteMBRData()
643 if (partitions[i].GetStartLBA() != UINT32_C(0)) { // it exists in GetPartRange()
723 if (partitions[i].GetStartLBA() == 1) in FindOverlaps()
794 sectorBefore = SectorUsedAs(partitions[i].GetStartLBA() - 1); in UpdateCanBeLogical()
795 lStart = partitions[i].GetStartLBA(); // start of potential logical part. in UpdateCanBeLogical()
803 pStart = partitions[j].GetStartLBA(); in UpdateCanBeLogical()
824 if ((partitions[i].GetStartLBA() > (firstLogical + 1)) && in UpdateCanBeLogical()
840 (partitions[i].GetStartLBA() < firstFound)) { in FirstLogicalLBA()
841 firstFound = partitions[i].GetStartLBA(); in FirstLogicalLBA()
873 (partitions[i].GetStartLBA() >= firstLogical) && in AreLogicalsContiguous()
874 (partitions[i].GetStartLBA() <= lastLogical)) { in AreLogicalsContiguous()
889 if ((partitions[i].GetStartLBA() > diskSize) || (partitions[i].GetLastLBA() > diskSize)) { in DoTheyFit()
903 if ((partitions[i].GetStartLBA() > 0) && (partitions[i].GetInclusion() == LOGICAL)) { in SpaceBeforeAllLogicals()
904 allOK = allOK && (SectorUsedAs(partitions[i].GetStartLBA() - 1) == EBR); in SpaceBeforeAllLogicals()
1143 if ((partitions[i].GetStartLBA() > diskSize) || (partitions[i].GetLastLBA() > diskSize) || in DeleteOversizedParts()
1144 … (partitions[i].GetStartLBA() > UINT32_MAX) || (partitions[i].GetLengthLBA() > UINT32_MAX)) { in DeleteOversizedParts()
1146 … << partitions[i].GetStartLBA() << ", length = " << partitions[i].GetLengthLBA() << "\n"; in DeleteOversizedParts()
1251 (partitions[i].GetStartLBA() >= firstLogicalLBA) && in MakeLogicalsContiguous()
1253 if (SectorUsedAs(partitions[i].GetStartLBA() - 1) == NONE) in MakeLogicalsContiguous()
1399 if ((first >= partitions[i].GetStartLBA()) && in FindFirstAvailable()
1400 (first < (partitions[i].GetStartLBA() + partitions[i].GetLengthLBA()))) { in FindFirstAvailable()
1401 first = partitions[i].GetStartLBA() + partitions[i].GetLengthLBA(); in FindFirstAvailable()
1422 if ((nearestStart > partitions[i].GetStartLBA()) && in FindLastInFree()
1423 (partitions[i].GetStartLBA() > start)) { in FindLastInFree()
1424 nearestStart = partitions[i].GetStartLBA() - 1; in FindLastInFree()
1454 if ((partitions[i].GetStartLBA() <= sector) && (partitions[i].GetLastLBA() >= sector)) in SectorUsedAs()
1456 … if ((partitions[i].GetStartLBA() == (sector + 1)) && (partitions[i].GetInclusion() == LOGICAL)) in SectorUsedAs()
1503 retval = thePart->GetStartLBA(); in GetFirstSector()