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 295 startSector = IeeeToInt(GetString(newPartInfo, 2), sSize, low, high, low); in DoOptions() 296 endSector = IeeeToInt(GetString(newPartInfo, 3), sSize, startSector, high, high); in DoOptions() 297 if (CreatePartition(newPartNum, startSector, endSector)) { in DoOptions() 301 << startSector << " to " << endSector << "\n"; in DoOptions() 308 startSector = FindFirstInLargest(); in DoOptions() 309 Align(&startSector); in DoOptions() 310 endSector = FindLastInFree(startSector); in DoOptions() 313 if (CreatePartition(largestPartNum - 1, startSector, endSector)) { in DoOptions() 317 << startSector << " to " << endSector << "\n"; in DoOptions()
|
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 79 labelFirstLBA = startSector; in ReadBSDData() 87 allOK = theDisk->Seek(startSector); in ReadBSDData() 168 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 | 1768 uint64_t startSector, length; in DeletePartition() local 1775 startSector = partitions[partNum].GetFirstLBA(); in DeletePartition() 1777 protectiveMBR.DeleteByLocation(startSector, length); in DeletePartition() 1790 uint32_t GPTData::CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector) { in CreatePartition() argument 1792 uint64_t origSector = startSector; in CreatePartition() 1795 if (Align(&startSector)) { in CreatePartition() 1797 << startSector << " in\norder to align on " << sectorAlignment in CreatePartition() 1800 if (IsFree(startSector) && (startSector <= endSector)) { in CreatePartition() 1801 if (FindLastInFree(startSector) >= endSector) { in CreatePartition() 1802 partitions[partNum].SetFirstLBA(startSector); in CreatePartition()
|
D | gpt.h | 146 uint32_t CreatePartition(uint32_t partNum, uint64_t startSector, uint64_t endSector);
|