Lines Matching defs:PCHSGeometry

86     VDGEOMETRY          PCHSGeometry;
220 pImage->PCHSGeometry.cHeads = 16;
221 pImage->PCHSGeometry.cSectors = 63;
222 uint64_t cCylinders = pImage->cbSize / (512 * pImage->PCHSGeometry.cSectors * pImage->PCHSGeometry.cHeads);
223 pImage->PCHSGeometry.cCylinders = (uint32_t)cCylinders;
256 pImage->PCHSGeometry.cCylinders = parallelsHeader.cCylinders;
257 pImage->PCHSGeometry.cHeads = parallelsHeader.cHeads;
258 pImage->PCHSGeometry.cSectors = parallelsHeader.cSectorsPerTrack;
287 pImage->PCHSGeometry = *pPCHSGeometry;
290 if (!pImage->PCHSGeometry.cCylinders)
293 pImage->PCHSGeometry.cSectors = 63;
294 pImage->PCHSGeometry.cHeads = 16;
295 pImage->PCHSGeometry.cCylinders = pImage->cbSize / (512 * pImage->PCHSGeometry.cSectors * pImage->PCHSGeometry.cHeads);
316 pImage->cAllocationBitmapEntries = cbSize / 512 / pImage->PCHSGeometry.cSectors;
317 if (pImage->cAllocationBitmapEntries * pImage->PCHSGeometry.cSectors * 512 < cbSize)
334 Header.cHeads = RT_H2LE_U32(pImage->PCHSGeometry.cHeads);
335 Header.cCylinders = RT_H2LE_U32(pImage->PCHSGeometry.cCylinders);
336 Header.cSectorsPerTrack = RT_H2LE_U32(pImage->PCHSGeometry.cSectors);
640 iIndexInAllocationTable = (uint32_t)(uSector / pImage->PCHSGeometry.cSectors);
641 uSector = uSector % pImage->PCHSGeometry.cSectors;
643 cbToRead = RT_MIN(cbToRead, (pImage->PCHSGeometry.cSectors - uSector)*512);
686 iIndexInAllocationTable = (uint32_t)(uSector / pImage->PCHSGeometry.cSectors);
687 uSector = uSector % pImage->PCHSGeometry.cSectors;
689 cbToWrite = RT_MIN(cbToWrite, (pImage->PCHSGeometry.cSectors - uSector)*512);
696 *pcbPostRead = pImage->PCHSGeometry.cSectors * 512 - cbToWrite - *pcbPreRead;
707 pImage->cbFileCurrent += pImage->PCHSGeometry.cSectors * 512;
834 if (pImage->PCHSGeometry.cCylinders)
836 *pPCHSGeometry = pImage->PCHSGeometry;
867 pImage->PCHSGeometry = *pPCHSGeometry;
1210 pImage->PCHSGeometry.cCylinders, pImage->PCHSGeometry.cHeads, pImage->PCHSGeometry.cSectors,