Lines Matching refs:pHgsmi

244 static int _crVBoxHGSMIClientInit(PCRVBOXHGSMI_CLIENT pClient, PVBOXUHGSMI pHgsmi)
248 pClient->pHgsmi = pHgsmi;
250 rc = pHgsmi->pfnBufferCreate(pHgsmi, CRVBOXHGSMI_PAGE_ALIGN(1), Flags, &pClient->pCmdBuffer);
254 rc = pHgsmi->pfnBufferCreate(pHgsmi, CRVBOXHGSMI_PAGE_ALIGN(1), Flags, &pClient->pHGBuffer);
269 pClient->pHgsmi = NULL;
299 *ppHgsmi = pClient->pHgsmi;
301 pClient->pHgsmi = NULL;
309 DECLCALLBACK(HVBOXCRHGSMI_CLIENT) _crVBoxHGSMIClientCreate(PVBOXUHGSMI pHgsmi)
315 int rc = _crVBoxHGSMIClientInit(pClient, pHgsmi);
342 if (conn->HgsmiClient.pHgsmi)
345 PVBOXUHGSMI pHgsmi = conn->pExternalHgsmi ? conn->pExternalHgsmi : VBoxCrHgsmiCreate();
346 if (pHgsmi)
348 int rc = _crVBoxHGSMIClientInit(&conn->HgsmiClient, pHgsmi);
351 CRASSERT(conn->HgsmiClient.pHgsmi);
357 VBoxCrHgsmiDestroy(pHgsmi);
381 rc = pClient->pHgsmi->pfnBufferCreate(pClient->pHgsmi, cbSize, Flags, &buf);
594 return VBoxCrHgsmiCtlConCall(pClient->pHgsmi, (struct VBoxGuestHGCMCallInfo *)pvData, cbData);
1793 rc = pClient->pHgsmi->pfnBufferSubmit(pClient->pHgsmi, aSubmit, 2);
1923 rc = pClient->pHgsmi->pfnBufferSubmit(pClient->pHgsmi, aSubmit, 3);
1966 rc = pClient->pHgsmi->pfnBufferCreate(pClient->pHgsmi, CRVBOXHGSMI_PAGE_ALIGN(cbWriteback), Flags, &pNewBuf);
2040 rc = pClient->pHgsmi->pfnBufferSubmit(pClient->pHgsmi, aSubmit, 2);
2072 rc = pClient->pHgsmi->pfnBufferSubmit(pClient->pHgsmi, aSubmit, 2);
2270 rc = VBoxCrHgsmiCtlConGetClientID(pClient->pHgsmi, &conn->u32ClientID);
2277 rc = VBoxCrHgsmiCtlConGetHostCaps(pClient->pHgsmi, &g_crvboxhgcm.u32HostCaps);
2318 if (conn->HgsmiClient.pHgsmi)
2320 PVBOXUHGSMI pHgsmi;
2321 _crVBoxHGSMIClientTerm(&conn->HgsmiClient, &pHgsmi);
2322 CRASSERT(pHgsmi);
2324 VBoxCrHgsmiDestroy(pHgsmi);
2486 , struct VBOXUHGSMI *pHgsmi
2510 conn->pExternalHgsmi = pHgsmi;