Lines Matching refs:pDrvIns
140 PPDMDRVINS pDrvIns;
1262 PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface);
1263 PDRVDISKINTEGRITY pThis = PDMINS_2_DATA(pDrvIns, PDRVDISKINTEGRITY);
1265 PDMIBASE_RETURN_INTERFACE(pszIID, PDMIBASE, &pDrvIns->IBase);
1288 static DECLCALLBACK(void) drvdiskintDestruct(PPDMDRVINS pDrvIns)
1290 PDRVDISKINTEGRITY pThis = PDMINS_2_DATA(pDrvIns, PDRVDISKINTEGRITY);
1325 static DECLCALLBACK(int) drvdiskintConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)
1328 PDRVDISKINTEGRITY pThis = PDMINS_2_DATA(pDrvIns, PDRVDISKINTEGRITY);
1329 LogFlow(("drvdiskintConstruct: iInstance=%d\n", pDrvIns->iInstance));
1330 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
1373 pThis->pDrvIns = pDrvIns;
1376 pDrvIns->IBase.pfnQueryInterface = drvdiskintQueryInterface;
1403 pThis->pDrvMediaPort = PDMIBASE_QUERY_INTERFACE(pDrvIns->pUpBase, PDMIMEDIAPORT);
1405 return PDMDRV_SET_ERROR(pDrvIns, VERR_PDM_MISSING_INTERFACE_BELOW,
1409 pThis->pDrvMediaAsyncPort = PDMIBASE_QUERY_INTERFACE(pDrvIns->pUpBase, PDMIMEDIAASYNCPORT);
1415 rc = PDMDrvHlpAttach(pDrvIns, fFlags, &pBase);
1417 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS,
1422 return PDMDRV_SET_ERROR(pDrvIns, VERR_PDM_MISSING_INTERFACE_BELOW,
1513 return PDMDRV_SET_ERROR(pDrvIns, VERR_INTERNAL_ERROR,