Lines Matching refs:pSession

116     PSUPDRVSESSION      pSession;
530 * @param pSession The session handle. Used for authentication.
534 GVMMR0DECL(int) GVMMR0SetConfig(PSUPDRVSESSION pSession, const char *pszName, uint64_t u64Value)
541 AssertPtrReturn(pSession, VERR_INVALID_HANDLE);
597 * @param pSession The session handle. Used for authentication.
601 GVMMR0DECL(int) GVMMR0QueryConfig(PSUPDRVSESSION pSession, const char *pszName, uint64_t *pu64Value)
608 AssertPtrReturn(pSession, VERR_INVALID_HANDLE);
710 if (!VALID_PTR(pReq->pSession))
719 int rc = GVMMR0CreateVM(pReq->pSession, pReq->cCpus, &pVM);
735 * @param pSession The support driver session.
741 GVMMR0DECL(int) GVMMR0CreateVM(PSUPDRVSESSION pSession, uint32_t cCpus, PVM *ppVM)
743 LogFlow(("GVMMR0CreateVM: pSession=%p\n", pSession));
779 pHandle->pvObj = SUPR0ObjRegister(pSession, SUPDRVOBJTYPE_VM, gvmmR0HandleObjDestructor, pGVMM, pHandle);
795 pHandle->pSession = pSession;
801 rc = SUPR0ObjVerifyAccess(pHandle->pvObj, pSession, NULL);
830 pVM->pSession = pSession;
926 SUPR0ObjRelease(pvObj, pSession);
1111 && VALID_PTR(pHandle->pSession)
1128 SUPR0ObjRelease(pvObj, pHandle->pSession);
1314 ASMAtomicWriteNullPtr(&pHandle->pSession);
2340 * @param pSession The current session.
2343 GVMMR0DECL(int) GVMMR0QueryStatistics(PGVMMSTATS pStats, PSUPDRVSESSION pSession, PVM pVM)
2345 LogFlow(("GVMMR0QueryStatistics: pStats=%p pSession=%p pVM=%p\n", pStats, pSession, pVM));
2350 AssertPtrReturn(pSession, VERR_INVALID_POINTER);
2391 && RT_SUCCESS(SUPR0ObjVerifyAccess(pvObj, pSession, NULL)))
2465 return GVMMR0QueryStatistics(&pReq->Stats, pReq->pSession, pVM);
2475 * @param pSession The current session.
2478 GVMMR0DECL(int) GVMMR0ResetStatistics(PCGVMMSTATS pStats, PSUPDRVSESSION pSession, PVM pVM)
2480 LogFlow(("GVMMR0ResetStatistics: pStats=%p pSession=%p pVM=%p\n", pStats, pSession, pVM));
2485 AssertPtrReturn(pSession, VERR_INVALID_POINTER);
2537 && RT_SUCCESS(SUPR0ObjVerifyAccess(pvObj, pSession, NULL)))
2580 return GVMMR0ResetStatistics(&pReq->Stats, pReq->pSession, pVM);