Searched refs:endSector (Results 1 – 5 of 5) sorted by relevance
/external/gptfdisk/ |
D | gptcl.cc | 66 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()
|
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 | 48 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()
|
D | gpt.h | 149 uint32_t CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector);
|
D | gpt.cc | 1920 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()
|