Home
last modified time | relevance | path

Searched refs:endSector (Results 1 – 5 of 5) sorted by relevance

/external/gptfdisk/
Dgptcl.cc66 uint64_t low, high, startSector, endSector, sSize; in DoOptions() local
292 endSector = IeeeToInt(GetString(newPartInfo, 3), sSize, startSector, high, high); in DoOptions()
293 if (CreatePartition(newPartNum, startSector, endSector)) { in DoOptions()
297 << startSector << " to " << endSector << "\n"; in DoOptions()
306 endSector = FindLastInFree(startSector); in DoOptions()
309 if (CreatePartition(largestPartNum - 1, startSector, endSector)) { in DoOptions()
313 << startSector << " to " << endSector << "\n"; in DoOptions()
Dbsd.h78 int ReadBSDData(const string & deviceFilename, uint64_t startSector, uint64_t endSector);
79 int ReadBSDData(DiskIO *myDisk, uint64_t startSector, uint64_t endSector);
Dbsd.cc46 int BSDData::ReadBSDData(const string & device, uint64_t startSector, uint64_t endSector) { in ReadBSDData() argument
52 allOK = ReadBSDData(&myDisk, startSector, endSector); in ReadBSDData()
66 int BSDData::ReadBSDData(DiskIO *theDisk, uint64_t startSector, uint64_t endSector) { in ReadBSDData() argument
78 labelLastLBA = endSector; in ReadBSDData()
Dgpt.h145 uint32_t CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector);
Dgpt.cc1780 uint32_t GPTData::CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector) { in CreatePartition() argument
1790 if (IsFree(startSector) && (startSector <= endSector)) { in CreatePartition()
1791 if (FindLastInFree(startSector) >= endSector) { in CreatePartition()
1793 partitions[partNum].SetLastLBA(endSector); in CreatePartition()