Home
last modified time | relevance | path

Searched refs:numHeads (Results 1 – 5 of 5) sorted by relevance

/third_party/gptfdisk/
Dmbrpart.cc33 uint32_t MBRPart::numHeads = MAX_HEADS; member in MBRPart
54 numHeads = MAX_HEADS; in MBRPart()
127 numHeads = heads; 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()
286 if (head < numHeads) in LBAtoCHS()
Dbasicmbr.cc40 numHeads = MAX_HEADS; in BasicMBRData()
58 numHeads = orig.numHeads; in BasicMBRData()
83 numHeads = MAX_HEADS; in BasicMBRData()
115 numHeads = orig.numHeads; in operator =()
656 numHeads = myDisk->GetNumHeads(); 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()
722 if (head < numHeads) in LBAtoCHS()
Ddiskio-unix.cc223 uint32_t numHeads = 255; in GetNumHeads() local
233 numHeads = (uint32_t) geometry.heads; in GetNumHeads()
235 return numHeads; in GetNumHeads()
Dmbrpart.h64 static uint32_t numHeads; variable
Dbasicmbr.h54 uint32_t numHeads; // number of heads, in CHS scheme variable