Searched refs:endSector (Results 1 – 5 of 5) sorted by relevance
/external/gptfdisk/ |
D | gptcl.cc | 66 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()
|
D | bsd.h | 78 int ReadBSDData(const string & deviceFilename, uint64_t startSector, uint64_t endSector); 79 int ReadBSDData(DiskIO *myDisk, uint64_t startSector, uint64_t endSector);
|
D | bsd.cc | 46 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()
|
D | gpt.h | 145 uint32_t CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector);
|
D | gpt.cc | 1780 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()
|