Home
last modified time | relevance | path

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

/external/gptfdisk/
Dmbrpart.cc34 uint32_t MBRPart::numSecspTrack = MAX_SECSPERTRACK; member in MBRPart
55 numSecspTrack = MAX_SECSPERTRACK; in MBRPart()
128 numSecspTrack = sectors; in SetGeometry()
273 if ((!done) && (lba >= (numHeads * numSecspTrack * MAX_CYLINDERS))) { in LBAtoCHS()
281 cylinder = lba / (numHeads * numSecspTrack); in LBAtoCHS()
282 remainder = lba - (cylinder * numHeads * numSecspTrack); in LBAtoCHS()
283 head = remainder / numSecspTrack; in LBAtoCHS()
284 remainder -= head * numSecspTrack; in LBAtoCHS()
290 if (sector < numSecspTrack) { in LBAtoCHS()
Dbasicmbr.cc41 numSecspTrack = MAX_SECSPERTRACK; in BasicMBRData()
59 numSecspTrack = orig.numSecspTrack; in BasicMBRData()
84 numSecspTrack = MAX_SECSPERTRACK; in BasicMBRData()
116 numSecspTrack = orig.numSecspTrack; in operator =()
657 numSecspTrack = myDisk->GetNumSecsPerTrack(); in ReadCHSGeom()
660 partitions[0].SetGeometry(numHeads, numSecspTrack, diskSize, blockSize); in ReadCHSGeom()
709 if ((!done) && (lba >= ((uint64_t) numHeads * numSecspTrack * MAX_CYLINDERS))) { in LBAtoCHS()
717 cylinder = lba / (uint64_t) (numHeads * numSecspTrack); in LBAtoCHS()
718 remainder = lba - (cylinder * numHeads * numSecspTrack); in LBAtoCHS()
719 head = remainder / numSecspTrack; in LBAtoCHS()
[all …]
Dmbrpart.h67 static uint32_t numSecspTrack; variable
Dbasicmbr.h57 uint32_t numSecspTrack; // number of sectors per track, in CHS scheme variable