Home
last modified time | relevance | path

Searched refs:numSecspTrack (Results 1 – 4 of 4) sorted by relevance

/external/gptfdisk/
Dmbrpart.cc32 uint32_t MBRPart::numSecspTrack = MAX_SECSPERTRACK; member in MBRPart
53 numSecspTrack = MAX_SECSPERTRACK; in MBRPart()
126 numSecspTrack = sectors; in SetGeometry()
271 if ((!done) && (lba >= (numHeads * numSecspTrack * MAX_CYLINDERS))) { in LBAtoCHS()
279 cylinder = lba / (numHeads * numSecspTrack); in LBAtoCHS()
280 remainder = lba - (cylinder * numHeads * numSecspTrack); in LBAtoCHS()
281 head = remainder / numSecspTrack; in LBAtoCHS()
282 remainder -= head * numSecspTrack; in LBAtoCHS()
288 if (sector < numSecspTrack) { in LBAtoCHS()
Dbasicmbr.cc39 numSecspTrack = MAX_SECSPERTRACK; in BasicMBRData()
52 numSecspTrack = MAX_SECSPERTRACK; in BasicMBRData()
83 numSecspTrack = orig.numSecspTrack; in operator =()
622 numSecspTrack = myDisk->GetNumSecsPerTrack(); in ReadCHSGeom()
625 partitions[0].SetGeometry(numHeads, numSecspTrack, diskSize, blockSize); in ReadCHSGeom()
674 if ((!done) && (lba >= ((uint64_t) numHeads * numSecspTrack * MAX_CYLINDERS))) { in LBAtoCHS()
682 cylinder = lba / (uint64_t) (numHeads * numSecspTrack); in LBAtoCHS()
683 remainder = lba - (cylinder * numHeads * numSecspTrack); in LBAtoCHS()
684 head = remainder / numSecspTrack; in LBAtoCHS()
685 remainder -= head * numSecspTrack; in LBAtoCHS()
[all …]
Dmbrpart.h66 static uint32_t numSecspTrack; variable
Dbasicmbr.h56 uint32_t numSecspTrack; // number of sectors per track, in CHS scheme variable