/vbox/src/VBox/Devices/PC/ |
H A D | DevPcBios.cpp | 400 PDMMEDIAGEOMETRY LCHSGeometry; local 403 rc = pHardDisk->pfnGetLCHSGeometry(pHardDisk, &LCHSGeometry); 405 || LCHSGeometry.cCylinders == 0 406 || LCHSGeometry.cHeads == 0 407 || LCHSGeometry.cHeads > 255 408 || LCHSGeometry.cSectors == 0 409 || LCHSGeometry.cSectors > 63) 414 rc = biosGuessDiskLCHS(pBlock, &LCHSGeometry); 418 rc = pHardDisk->pfnGetPCHSGeometry(pHardDisk, &LCHSGeometry); 421 || LCHSGeometry 486 PDMMEDIAGEOMETRY LCHSGeometry; local 691 PDMMEDIAGEOMETRY LCHSGeometry; local 752 PDMMEDIAGEOMETRY LCHSGeometry; local 806 PDMMEDIAGEOMETRY LCHSGeometry; local [all...] |
/vbox/src/VBox/Devices/Storage/ |
H A D | DrvBlock.cpp | 122 PDMMEDIAGEOMETRY LCHSGeometry; member in struct:DRVBLOCK 537 if ( pThis->LCHSGeometry.cCylinders > 0 538 && pThis->LCHSGeometry.cHeads > 0 539 && pThis->LCHSGeometry.cSectors > 0) 541 *pLCHSGeometry = pThis->LCHSGeometry; 542 LogFlow(("%s: returns VINF_SUCCESS {%d,%d,%d}\n", __FUNCTION__, pThis->LCHSGeometry.cCylinders, pThis->LCHSGeometry.cHeads, pThis->LCHSGeometry.cSectors)); 549 int rc = pThis->pDrvMedia->pfnBiosGetLCHSGeometry(pThis->pDrvMedia, &pThis->LCHSGeometry); 553 *pLCHSGeometry = pThis->LCHSGeometry; [all...] |
H A D | DrvHostBase.h | 106 PDMMEDIAGEOMETRY LCHSGeometry; member in struct:DRVHOSTBASE
|
H A D | DrvHostBase.cpp | 431 if ( pThis->LCHSGeometry.cCylinders > 0 432 && pThis->LCHSGeometry.cHeads > 0 433 && pThis->LCHSGeometry.cSectors > 0) 435 *pLCHSGeometry = pThis->LCHSGeometry; 445 pThis->pDrvIns->pReg->szName, pThis->pDrvIns->iInstance, __FUNCTION__, rc, pThis->LCHSGeometry.cCylinders, pThis->LCHSGeometry.cHeads, pThis->LCHSGeometry.cSectors)); 461 pThis->LCHSGeometry = *pLCHSGeometry; 1506 pThis->LCHSGeometry.cCylinders = 0; 1507 pThis->LCHSGeometry [all...] |
/vbox/src/VBox/Storage/ |
H A D | Parallels.cpp | 88 VDGEOMETRY LCHSGeometry; member in struct:PARALLELSIMAGE 288 pImage->LCHSGeometry = *pLCHSGeometry; 890 if (pImage->LCHSGeometry.cCylinders) 892 *pLCHSGeometry = pImage->LCHSGeometry; 923 pImage->LCHSGeometry = *pLCHSGeometry; 1211 pImage->LCHSGeometry.cCylinders, pImage->LCHSGeometry.cHeads, pImage->LCHSGeometry.cSectors);
|
H A D | RAW.cpp | 68 VDGEOMETRY LCHSGeometry; member in struct:RAWIMAGE 245 pImage->LCHSGeometry = *pLCHSGeometry; 812 if (pImage->LCHSGeometry.cCylinders) 814 *pLCHSGeometry = pImage->LCHSGeometry; 845 pImage->LCHSGeometry = *pLCHSGeometry; 1136 pImage->LCHSGeometry.cCylinders, pImage->LCHSGeometry.cHeads, pImage->LCHSGeometry.cSectors,
|
H A D | VHD.cpp | 152 VDGEOMETRY LCHSGeometry; member in struct:VHDIMAGE 860 pImage->LCHSGeometry.cCylinders = 0; 861 pImage->LCHSGeometry.cHeads = 0; 862 pImage->LCHSGeometry.cSectors = 0; 979 pImage->LCHSGeometry.cCylinders = 0; 980 pImage->LCHSGeometry.cHeads = 0; 981 pImage->LCHSGeometry.cSectors = 0; 1978 if (pImage->LCHSGeometry.cCylinders) 1980 *pLCHSGeometry = pImage->LCHSGeometry; 1989 LogFlowFunc(("returns %Rrc (CHS=%u/%u/%u)\n", rc, pImage->LCHSGeometry [all...] |
H A D | VDICore.h | 218 VDIDISKGEOMETRY LCHSGeometry; member in struct:VDIHEADER1PLUS 377 return &ph->u.v1plus.LCHSGeometry;
|
H A D | VD.cpp | 251 VDGEOMETRY LCHSGeometry; member in struct:VBOXHDD 5986 pDisk->LCHSGeometry.cCylinders = 0; 5987 pDisk->LCHSGeometry.cHeads = 0; 5988 pDisk->LCHSGeometry.cSectors = 0; 6482 &pDisk->LCHSGeometry); 6485 pDisk->LCHSGeometry.cCylinders = 0; 6486 pDisk->LCHSGeometry.cHeads = 0; 6487 pDisk->LCHSGeometry.cSectors = 0; 6492 pDisk->LCHSGeometry.cHeads = RT_MIN(pDisk->LCHSGeometry [all...] |
H A D | DMG.cpp | 347 VDGEOMETRY LCHSGeometry; member in struct:DMGIMAGE 2151 if (pThis->LCHSGeometry.cCylinders) 2153 *pLCHSGeometry = pThis->LCHSGeometry; 2180 pThis->LCHSGeometry = *pLCHSGeometry; 2472 pThis->LCHSGeometry.cCylinders, pThis->LCHSGeometry.cHeads, pThis->LCHSGeometry.cSectors,
|
H A D | VHDX.cpp | 543 VDGEOMETRY LCHSGeometry; member in struct:VHDXIMAGE 2136 if (pImage->LCHSGeometry.cCylinders) 2137 *pLCHSGeometry = pImage->LCHSGeometry; 2163 pImage->LCHSGeometry = *pLCHSGeometry; 2447 pImage->LCHSGeometry.cCylinders, pImage->LCHSGeometry.cHeads, pImage->LCHSGeometry.cSectors,
|
H A D | VDI.cpp | 177 vdiConvGeometryEndianess(enmConv, &pHdrConv->LCHSGeometry, &pHdr->LCHSGeometry); 378 pHeader->u.v1plus.LCHSGeometry.cCylinders = 0; 379 pHeader->u.v1plus.LCHSGeometry.cHeads = 0; 380 pHeader->u.v1plus.LCHSGeometry.cSectors = 0; 381 pHeader->u.v1plus.LCHSGeometry.cbSector = VDI_GEOMETRY_SECTOR_SIZE; 571 pImage->Header.u.v1plus.LCHSGeometry.cCylinders = pLCHSGeometry->cCylinders; 572 pImage->Header.u.v1plus.LCHSGeometry.cHeads = pLCHSGeometry->cHeads; 573 pImage->Header.u.v1plus.LCHSGeometry.cSectors = pLCHSGeometry->cSectors; 574 pImage->Header.u.v1plus.LCHSGeometry [all...] |
H A D | QCOW.cpp | 192 VDGEOMETRY LCHSGeometry; member in struct:QCOWIMAGE 1228 pImage->LCHSGeometry = *pLCHSGeometry; 2075 if (pImage->LCHSGeometry.cCylinders) 2077 *pLCHSGeometry = pImage->LCHSGeometry; 2108 pImage->LCHSGeometry = *pLCHSGeometry; 2398 pImage->LCHSGeometry.cCylinders, pImage->LCHSGeometry.cHeads, pImage->LCHSGeometry.cSectors,
|
H A D | QED.cpp | 173 VDGEOMETRY LCHSGeometry; member in struct:QEDIMAGE 1328 pImage->LCHSGeometry = *pLCHSGeometry; 2170 if (pImage->LCHSGeometry.cCylinders) 2172 *pLCHSGeometry = pImage->LCHSGeometry; 2203 pImage->LCHSGeometry = *pLCHSGeometry; 2493 pImage->LCHSGeometry.cCylinders, pImage->LCHSGeometry.cHeads, pImage->LCHSGeometry.cSectors,
|
H A D | VMDK.cpp | 455 VDGEOMETRY LCHSGeometry; member in struct:VMDKIMAGE 2222 &pImage->LCHSGeometry.cCylinders); 2224 pImage->LCHSGeometry.cCylinders = 0; 2229 &pImage->LCHSGeometry.cHeads); 2231 pImage->LCHSGeometry.cHeads = 0; 2236 &pImage->LCHSGeometry.cSectors); 2238 pImage->LCHSGeometry.cSectors = 0; 2241 if ( pImage->LCHSGeometry.cCylinders == 0 2242 || pImage->LCHSGeometry.cHeads == 0 2243 || pImage->LCHSGeometry [all...] |
/vbox/src/VBox/Storage/testcase/ |
H A D | vditool.cpp | 277 VDGEOMETRY LCHSGeometry = {0, 0, 0}; 278 rc = VDIDiskSetLCHSGeometry(pVdi, &LCHSGeometry);
|
H A D | vbox-img.cpp | 1493 VDGEOMETRY LCHSGeometry, PCHSGeometry; local 1497 memset(&LCHSGeometry, 0, sizeof(LCHSGeometry)); 1574 NULL, &PCHSGeometry, &LCHSGeometry, NULL, VD_OPEN_FLAGS_NORMAL,
|