Searched defs:PCHSGeometry (Results 1 - 15 of 15) sorted by relevance

/vbox/src/VBox/Devices/Storage/
H A DDrvHostBase.h104 PDMMEDIAGEOMETRY PCHSGeometry; member in struct:DRVHOSTBASE
H A DDrvBlock.cpp120 PDMMEDIAGEOMETRY PCHSGeometry; member in struct:DRVBLOCK
465 if ( pThis->PCHSGeometry.cCylinders > 0
466 && pThis->PCHSGeometry.cHeads > 0
467 && pThis->PCHSGeometry.cSectors > 0)
469 *pPCHSGeometry = pThis->PCHSGeometry;
470 LogFlow(("%s: returns VINF_SUCCESS {%d,%d,%d}\n", __FUNCTION__, pThis->PCHSGeometry.cCylinders, pThis->PCHSGeometry.cHeads, pThis->PCHSGeometry.cSectors));
477 int rc = pThis->pDrvMedia->pfnBiosGetPCHSGeometry(pThis->pDrvMedia, &pThis->PCHSGeometry);
481 *pPCHSGeometry = pThis->PCHSGeometry;
[all...]
H A DDevATA.cpp127 PDMMEDIAGEOMETRY PCHSGeometry; member in struct:ATADevState
1214 p[1] = RT_H2LE_U16(RT_MIN(s->PCHSGeometry.cCylinders, 16383));
1215 p[3] = RT_H2LE_U16(s->PCHSGeometry.cHeads);
1218 p[6] = RT_H2LE_U16(s->PCHSGeometry.cSectors);
1234 p[54] = RT_H2LE_U16(RT_MIN(s->PCHSGeometry.cCylinders, 16383));
1235 p[55] = RT_H2LE_U16(s->PCHSGeometry.cHeads);
1236 p[56] = RT_H2LE_U16(s->PCHSGeometry.cSectors);
1237 p[57] = RT_H2LE_U16( RT_MIN(s->PCHSGeometry.cCylinders, 16383)
1238 * s->PCHSGeometry.cHeads
1239 * s->PCHSGeometry
[all...]
H A DDevAHCI.cpp517 PDMMEDIAGEOMETRY PCHSGeometry; member in struct:AHCIPort
3037 p[1] = RT_H2LE_U16(RT_MIN(pAhciPort->PCHSGeometry.cCylinders, 16383));
3038 p[3] = RT_H2LE_U16(pAhciPort->PCHSGeometry.cHeads);
3041 p[6] = RT_H2LE_U16(pAhciPort->PCHSGeometry.cSectors);
3057 p[54] = RT_H2LE_U16(RT_MIN(pAhciPort->PCHSGeometry.cCylinders, 16383));
3058 p[55] = RT_H2LE_U16(pAhciPort->PCHSGeometry.cHeads);
3059 p[56] = RT_H2LE_U16(pAhciPort->PCHSGeometry.cSectors);
3060 p[57] = RT_H2LE_U16(RT_MIN(pAhciPort->PCHSGeometry.cCylinders, 16383) * pAhciPort->PCHSGeometry.cHeads * pAhciPort->PCHSGeometry
[all...]
/vbox/src/VBox/Storage/
H A DParallels.cpp86 VDGEOMETRY PCHSGeometry; member in struct:PARALLELSIMAGE
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
[all...]
H A DRAW.cpp66 VDGEOMETRY PCHSGeometry; member in struct:RAWIMAGE
244 pImage->PCHSGeometry = *pPCHSGeometry;
756 if (pImage->PCHSGeometry.cCylinders)
758 *pPCHSGeometry = pImage->PCHSGeometry;
789 pImage->PCHSGeometry = *pPCHSGeometry;
1135 pImage->PCHSGeometry.cCylinders, pImage->PCHSGeometry.cHeads, pImage->PCHSGeometry.cSectors,
H A DVDICore.h547 VDGEOMETRY PCHSGeometry; member in struct:VDIIMAGEDESC
H A DQCOW.cpp190 VDGEOMETRY PCHSGeometry; member in struct:QCOWIMAGE
1227 pImage->PCHSGeometry = *pPCHSGeometry;
2019 if (pImage->PCHSGeometry.cCylinders)
2021 *pPCHSGeometry = pImage->PCHSGeometry;
2052 pImage->PCHSGeometry = *pPCHSGeometry;
2397 pImage->PCHSGeometry.cCylinders, pImage->PCHSGeometry.cHeads, pImage->PCHSGeometry.cSectors,
H A DQED.cpp171 VDGEOMETRY PCHSGeometry; member in struct:QEDIMAGE
1327 pImage->PCHSGeometry = *pPCHSGeometry;
2114 if (pImage->PCHSGeometry.cCylinders)
2116 *pPCHSGeometry = pImage->PCHSGeometry;
2147 pImage->PCHSGeometry = *pPCHSGeometry;
2492 pImage->PCHSGeometry.cCylinders, pImage->PCHSGeometry.cHeads, pImage->PCHSGeometry.cSectors,
H A DDMG.cpp345 VDGEOMETRY PCHSGeometry; member in struct:DMGIMAGE
2098 if (pThis->PCHSGeometry.cCylinders)
2100 *pPCHSGeometry = pThis->PCHSGeometry;
2127 pThis->PCHSGeometry = *pPCHSGeometry;
2471 pThis->PCHSGeometry.cCylinders, pThis->PCHSGeometry.cHeads, pThis->PCHSGeometry.cSectors,
H A DVHD.cpp150 VDGEOMETRY PCHSGeometry; member in struct:VHDIMAGE
475 pImage->vhdFooterCopy.DiskGeometryCylinder = RT_H2BE_U16(pImage->PCHSGeometry.cCylinders);
476 pImage->vhdFooterCopy.DiskGeometryHeads = pImage->PCHSGeometry.cHeads;
477 pImage->vhdFooterCopy.DiskGeometrySectors = pImage->PCHSGeometry.cSectors;
863 pImage->PCHSGeometry.cCylinders = RT_BE2H_U16(vhdFooter.DiskGeometryCylinder);
864 pImage->PCHSGeometry.cHeads = vhdFooter.DiskGeometryHeads;
865 pImage->PCHSGeometry.cSectors = vhdFooter.DiskGeometrySectors;
976 pImage->PCHSGeometry.cCylinders = u32CylinderTimesHeads / u32Heads;
977 pImage->PCHSGeometry.cHeads = u32Heads;
978 pImage->PCHSGeometry
[all...]
H A DVHDX.cpp541 VDGEOMETRY PCHSGeometry; member in struct:VHDXIMAGE
2085 if (pImage->PCHSGeometry.cCylinders)
2087 *pPCHSGeometry = pImage->PCHSGeometry;
2115 pImage->PCHSGeometry = *pPCHSGeometry;
2446 pImage->PCHSGeometry.cCylinders, pImage->PCHSGeometry.cHeads, pImage->PCHSGeometry.cSectors,
H A DVD.cpp249 VDGEOMETRY PCHSGeometry; member in struct:VBOXHDD
5983 pDisk->PCHSGeometry.cCylinders = 0;
5984 pDisk->PCHSGeometry.cHeads = 0;
5985 pDisk->PCHSGeometry.cSectors = 0;
6465 &pDisk->PCHSGeometry);
6468 pDisk->PCHSGeometry.cCylinders = 0;
6469 pDisk->PCHSGeometry.cHeads = 0;
6470 pDisk->PCHSGeometry.cSectors = 0;
6475 pDisk->PCHSGeometry.cCylinders = RT_MIN(pDisk->PCHSGeometry
[all...]
H A DVMDK.cpp453 VDGEOMETRY PCHSGeometry; member in struct:VMDKIMAGE
2187 &pImage->PCHSGeometry.cCylinders);
2189 pImage->PCHSGeometry.cCylinders = 0;
2194 &pImage->PCHSGeometry.cHeads);
2196 pImage->PCHSGeometry.cHeads = 0;
2201 &pImage->PCHSGeometry.cSectors);
2203 pImage->PCHSGeometry.cSectors = 0;
2206 if ( pImage->PCHSGeometry.cCylinders == 0
2207 || pImage->PCHSGeometry.cHeads == 0
2208 || pImage->PCHSGeometry
[all...]
/vbox/src/VBox/Storage/testcase/
H A Dvbox-img.cpp1493 VDGEOMETRY LCHSGeometry, PCHSGeometry; local
1498 memset(&PCHSGeometry, 0, sizeof(PCHSGeometry));
1574 NULL, &PCHSGeometry, &LCHSGeometry, NULL, VD_OPEN_FLAGS_NORMAL,

Completed in 123 milliseconds