Searched refs:LCHSGeometry (Results 1 - 17 of 17) sorted by relevance

/vbox/src/VBox/Devices/PC/
H A DDevPcBios.cpp400 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 DDrvBlock.cpp122 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 DDrvHostBase.h106 PDMMEDIAGEOMETRY LCHSGeometry; member in struct:DRVHOSTBASE
H A DDrvHostBase.cpp431 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 DParallels.cpp88 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 DRAW.cpp68 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 DVHD.cpp152 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 DVDICore.h218 VDIDISKGEOMETRY LCHSGeometry; member in struct:VDIHEADER1PLUS
377 return &ph->u.v1plus.LCHSGeometry;
H A DVD.cpp251 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 DDMG.cpp347 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 DVHDX.cpp543 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 DVDI.cpp177 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 DQCOW.cpp192 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 DQED.cpp173 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 DVMDK.cpp455 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 Dvditool.cpp277 VDGEOMETRY LCHSGeometry = {0, 0, 0};
278 rc = VDIDiskSetLCHSGeometry(pVdi, &LCHSGeometry);
H A Dvbox-img.cpp1493 VDGEOMETRY LCHSGeometry, PCHSGeometry; local
1497 memset(&LCHSGeometry, 0, sizeof(LCHSGeometry));
1574 NULL, &PCHSGeometry, &LCHSGeometry, NULL, VD_OPEN_FLAGS_NORMAL,

Completed in 185 milliseconds