Lines Matching refs:pImage
70 PSUPDRVLDRIMAGE pImage;
72 * SUPR0VtgRegisterDrv. NULL if pImage is set. */
75 * pImage is set. */
746 pProv->pImage = NULL;
872 * @param pImage The image if applicable.
878 static int supdrvTracerRegisterVtgObj(PSUPDRVDEVEXT pDevExt, PVTGOBJHDR pVtgHdr, PSUPDRVLDRIMAGE pImage,
891 AssertPtrNullReturn(pImage, VERR_INVALID_POINTER);
896 if (pImage)
898 (const uint8_t *)pImage->pvImage, pImage->cbImageBits,
912 if (pImage || !pSession || pSession->R0Process == NIL_RTPROCESS)
923 && pProv->pImage == pImage)
983 pProv->pImage = pImage;
1047 if (pImage)
1090 rc = supdrvTracerRegisterVtgObj(pSession->pDevExt, pVtgHdr, NULL /*pImage*/, pSession, NULL /*pUmod*/, pszName);
1146 PSUPDRVLDRIMAGE pImage = (PSUPDRVLDRIMAGE)hMod;
1155 AssertPtrReturn(pImage, VERR_INVALID_HANDLE);
1158 AssertPtrReturn(pImage, VERR_INVALID_POINTER);
1159 pDevExt = pImage->pDevExt;
1161 AssertReturn(pDevExt->pLdrInitImage == pImage, VERR_WRONG_ORDER);
1163 AssertReturn((uintptr_t)pVtgHdr - (uintptr_t)pImage->pvImage < pImage->cbImageBits, VERR_INVALID_PARAMETER);
1168 rc = supdrvTracerRegisterVtgObj(pDevExt, pVtgHdr, pImage, NULL /*pSession*/, NULL /*pUmod*/, pImage->szName);
1193 PSUPDRVLDRIMAGE pImage = (PSUPDRVLDRIMAGE)hMod;
1206 if (pImage)
1208 AssertPtrReturn(pImage, VERR_INVALID_POINTER);
1210 pDevExt = pImage->pDevExt;
1212 AssertReturn(pDevExt->pLdrInitImage == pImage, VERR_WRONG_ORDER);
1246 pDevExt->pTracerImage = pImage;
1416 PSUPDRVLDRIMAGE pImage = (PSUPDRVLDRIMAGE)hMod;
1423 if (pImage)
1425 AssertPtrReturn(pImage, VERR_INVALID_POINTER);
1427 pDevExt = pImage->pDevExt;
1443 if ( pImage
1444 ? pDevExt->pTracerImage == pImage
1511 * @param pImage The image being unloaded.
1513 void VBOXCALL supdrvTracerModuleUnloading(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage)
1516 AssertPtrReturnVoid(pImage); /* paranoia */
1523 if (pDevExt->pTracerImage == pImage)
1538 if (pProv->pImage == pImage)
2072 NULL /*pImage*/, pSession, pUmod, pszModName);
2442 rc = supdrvTracerRegisterVtgObj(pDevExt, &g_VTGObjHeader, NULL /*pImage*/, NULL /*pSession*/, NULL /*pUmod*/, "vboxdrv");