Home | History | Annotate | Download | only in gptfdisk

Lines Matching refs:startSector

1765    uint64_t startSector, length;
1772 startSector = partitions[partNum].GetFirstLBA();
1774 protectiveMBR.DeleteByLocation(startSector, length);
1787 uint32_t GPTData::CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector) {
1789 uint64_t origSector = startSector;
1792 if (Align(&startSector)) {
1794 << startSector << " in\norder to align on " << sectorAlignment
1797 if (IsFree(startSector) && (startSector <= endSector)) {
1798 if (FindLastInFree(startSector) >= endSector) {
1799 partitions[partNum].SetFirstLBA(startSector);
1804 } else retval = 0; // if startSector is free
1807 } // GPTData::CreatePartition(partNum, startSector, endSector)