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, mainTableLBA; in DoOptions() local
302 endSector = IeeeToInt(GetString(newPartInfo, 3), sSize, startSector, high, high); in DoOptions()
303 if (CreatePartition(newPartNum, startSector, endSector)) { in DoOptions()
307 << startSector << " to " << endSector << "\n"; in DoOptions()
316 endSector = FindLastInFree(startSector); in DoOptions()
319 if (CreatePartition(largestPartNum - 1, startSector, endSector)) { in DoOptions()
323 << 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.cc48 int BSDData::ReadBSDData(const string & device, uint64_t startSector, uint64_t endSector) { in ReadBSDData() argument
54 allOK = ReadBSDData(&myDisk, startSector, endSector); in ReadBSDData()
68 int BSDData::ReadBSDData(DiskIO *theDisk, uint64_t startSector, uint64_t endSector) { in ReadBSDData() argument
80 labelLastLBA = endSector; in ReadBSDData()
Dgpt.h149 uint32_t CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector);
Dgpt.cc1920 uint32_t GPTData::CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector) { in CreatePartition() argument
1930 if (IsFree(startSector) && (startSector <= endSector)) { in CreatePartition()
1931 if (FindLastInFree(startSector) >= endSector) { in CreatePartition()
1933 partitions[partNum].SetLastLBA(endSector); in CreatePartition()