/vbox/src/VBox/Storage/ |
H A D | Parallels.cpp | 86 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 D | VHD.cpp | 150 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 D | RAW.cpp | 66 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 D | VD.cpp | 249 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 D | DMG.cpp | 345 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 D | VHDX.cpp | 541 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 D | VMDK.cpp | 453 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...] |
H A D | QCOW.cpp | 190 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 D | QED.cpp | 171 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 D | VDICore.h | 547 VDGEOMETRY PCHSGeometry; member in struct:VDIIMAGEDESC
|
H A D | VDI.cpp | 569 pImage->PCHSGeometry = *pPCHSGeometry; 1856 if (pImage->PCHSGeometry.cCylinders) 1858 *pPCHSGeometry = pImage->PCHSGeometry; 1888 pImage->PCHSGeometry = *pPCHSGeometry; 2829 pImage->PCHSGeometry = *pPCHSGeometry;
|
/vbox/src/VBox/Devices/Storage/ |
H A D | DrvBlock.cpp | 120 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 D | DrvHostBase.h | 104 PDMMEDIAGEOMETRY PCHSGeometry; member in struct:DRVHOSTBASE
|
H A D | DevATA.cpp | 127 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 D | DrvHostBase.cpp | 379 if ( pThis->PCHSGeometry.cCylinders > 0 380 && pThis->PCHSGeometry.cHeads > 0 381 && pThis->PCHSGeometry.cSectors > 0) 383 *pPCHSGeometry = pThis->PCHSGeometry; 393 pThis->pDrvIns->pReg->szName, pThis->pDrvIns->iInstance, __FUNCTION__, rc, pThis->PCHSGeometry.cCylinders, pThis->PCHSGeometry.cHeads, pThis->PCHSGeometry.cSectors)); 409 pThis->PCHSGeometry = *pPCHSGeometry; 1503 pThis->PCHSGeometry.cCylinders = 0; 1504 pThis->PCHSGeometry [all...] |
H A D | DevAHCI.cpp | 517 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/testcase/ |
H A D | vbox-img.cpp | 1493 VDGEOMETRY LCHSGeometry, PCHSGeometry; local 1498 memset(&PCHSGeometry, 0, sizeof(PCHSGeometry)); 1574 NULL, &PCHSGeometry, &LCHSGeometry, NULL, VD_OPEN_FLAGS_NORMAL,
|
/vbox/src/VBox/Devices/testcase/ |
H A D | tstDeviceStructSizeRC.cpp | 830 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cCylinders); 831 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cHeads); 832 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cSectors); 1352 GEN_CHECK_OFF(AHCIPort, PCHSGeometry);
|