Home
last modified time | relevance | path

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

/third_party/gptfdisk/
H A Dgptcl.cc71 uint64_t low, high, startSector, endSector, sSize, mainTableLBA, secondTableLBA; in DoOptions() local
329 endSector = IeeeToInt(GetString(newPartInfo, 3), sSize, startSector, high, sectorAlignment, high); in DoOptions()
330 if (CreatePartition(newPartNum, startSector, endSector)) { in DoOptions()
334 << startSector << " to " << endSector << "\n"; in DoOptions() local
343 endSector = FindLastInFree(startSector, alignEnd); in DoOptions()
348 if (CreatePartition(largestPartNum - 1, startSector, endSector)) { in DoOptions()
352 << startSector << " to " << endSector << "\n"; in DoOptions() local
H A 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()
H A Dbsd.h75 int ReadBSDData(const std::string & deviceFilename, uint64_t startSector, uint64_t endSector);
76 int ReadBSDData(DiskIO *myDisk, uint64_t startSector, uint64_t endSector);
H A Dgpt.h148 uint32_t CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector);
H A Dgpt.cc1978 uint32_t GPTData::CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector) { in CreatePartition() argument
1988 if (IsFree(startSector) && (startSector <= endSector)) { in CreatePartition()
1989 if (FindLastInFree(startSector) >= endSector) { in CreatePartition()
1991 partitions[partNum].SetLastLBA(endSector); in CreatePartition()
1994 } else retval = 0; // if free space until endSector in CreatePartition()
1998 } // GPTData::CreatePartition(partNum, startSector, endSector) in CreatePartition()

Completed in 7 milliseconds