Searched refs:startSector (Results 1 – 5 of 5) sorted by relevance
/external/gptfdisk/ |
D | gptcl.cc | 66 uint64_t low, high, startSector, endSector, sSize; in DoOptions() local 291 startSector = IeeeToInt(GetString(newPartInfo, 2), sSize, low, high, low); in DoOptions() 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() 304 startSector = FindFirstInLargest(); in DoOptions() 305 Align(&startSector); 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.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 77 labelFirstLBA = startSector; in ReadBSDData() 85 allOK = theDisk->Seek(startSector); in ReadBSDData() 166 partitions[i].firstLBA += (uint32_t) startSector; in ReadBSDData()
|
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 | gpt.cc | 1758 uint64_t startSector, length; in DeletePartition() local 1765 startSector = partitions[partNum].GetFirstLBA(); in DeletePartition() 1767 protectiveMBR.DeleteByLocation(startSector, length); in DeletePartition() 1780 uint32_t GPTData::CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector) { in CreatePartition() argument 1782 uint64_t origSector = startSector; in CreatePartition() 1785 if (Align(&startSector)) { in CreatePartition() 1787 << startSector << " in\norder to align on " << sectorAlignment in CreatePartition() 1790 if (IsFree(startSector) && (startSector <= endSector)) { in CreatePartition() 1791 if (FindLastInFree(startSector) >= endSector) { in CreatePartition() 1792 partitions[partNum].SetFirstLBA(startSector); in CreatePartition()
|
D | gpt.h | 145 uint32_t CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector);
|