/vbox/src/VBox/Frontends/VirtualBox/src/platform/darwin/ |
H A D | DockIconPreview.h | 27 UIDockIconPreview(UISession *pSession, const QPixmap& overlayImage) argument 28 : UICocoaDockIconPreview(pSession, overlayImage) {}
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPDrvSem.cpp | 67 SUPDECL(int) SUPSemEventCreate(PSUPDRVSESSION pSession, PSUPSEMEVENT phEvent) argument 75 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER); 84 void *pvObj = SUPR0ObjRegister(pSession, SUPDRVOBJTYPE_SEM_EVENT, supR0SemEventDestructor, hEventReal, NULL); 88 rc = RTHandleTableAllocWithCtx(pSession->hHandleTable, pvObj, SUPDRV_HANDLE_CTX_EVENT, &h32); 94 SUPR0ObjRelease(pvObj, pSession); 103 SUPDECL(int) SUPSemEventClose(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 111 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER); 121 pObj = (PSUPDRVOBJ)RTHandleTableFreeWithCtx(pSession->hHandleTable, h32, SUPDRV_HANDLE_CTX_EVENT); 126 SUPR0ObjRelease(pObj, pSession); /* The free call above. */ 127 return SUPR0ObjRelease(pObj, pSession); /* Th 131 SUPSemEventSignal(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 158 supR0SemEventWaitEx(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t fFlags, uint64_t uTimeout) argument 185 SUPSemEventWait(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t cMillies) argument 194 SUPSemEventWaitNoResume(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t cMillies) argument 203 SUPSemEventWaitNsAbsIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_t uNsTimeout) argument 210 SUPSemEventWaitNsRelIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_t cNsTimeout) argument 217 SUPSemEventGetResolution(PSUPDRVSESSION pSession) argument 239 SUPSemEventMultiCreate(PSUPDRVSESSION pSession, PSUPSEMEVENTMULTI phEventMulti) argument 275 SUPSemEventMultiClose(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti) argument 303 SUPSemEventMultiSignal(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti) argument 330 SUPSemEventMultiReset(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti) argument 357 supR0SemEventMultiWaitEx(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti, uint32_t fFlags, uint64_t uTimeout) argument 383 SUPSemEventMultiWait(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti, uint32_t cMillies) argument 393 SUPSemEventMultiWaitNoResume(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti, uint32_t cMillies) argument 402 SUPSemEventMultiWaitNsAbsIntr(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti, uint64_t uNsTimeout) argument 409 SUPSemEventMultiWaitNsRelIntr(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti, uint64_t cNsTimeout) argument 416 SUPSemEventMultiGetResolution(PSUPDRVSESSION pSession) argument [all...] |
H A D | SUPR0IdcClientStubs.c | 53 Req.Hdr.pSession = pHandle->s.pSession; 70 static void supR0IdcGetSymbolBySession(PSUPDRVSESSION pSession, PFNRT *ppfn, const char *pszName) argument 72 PSUPDRVIDCHANDLE pHandle = supR0IdcGetHandleFromSession(pSession); 78 SUPR0DECL(void *) SUPR0ObjRegister(PSUPDRVSESSION pSession, SUPDRVOBJTYPE enmType, PFNSUPDRVDESTRUCTOR pfnDestructor, void *pvUser1, void *pvUser2) argument 80 static DECLCALLBACKPTR(void *, s_pfn)(PSUPDRVSESSION /* pSession */, SUPDRVOBJTYPE /* enmType */, PFNSUPDRVDESTRUCTOR /* pfnDestructor */, void * /* pvUser1 */, void * /* pvUser2 */); 81 DECLCALLBACKPTR(void *, pfn)(PSUPDRVSESSION /* pSession */, SUPDRVOBJTYPE /* enmType */, PFNSUPDRVDESTRUCTOR /* pfnDestructor */, void * /* pvUser1 */, void * /* pvUser2 */); 85 supR0IdcGetSymbolBySession(pSession, (PFNRT *)&s_pfn, "SUPR0ObjRegister"); 91 return pfn(pSession, enmType, pfnDestructor, pvUser1, pvUser2); 95 SUPR0DECL(int) SUPR0ObjAddRef(void *pvObj, PSUPDRVSESSION pSession) argument 112 SUPR0ObjRelease(void *pvObj, PSUPDRVSESSION pSession) argument 129 SUPR0ObjVerifyAccess(void *pvObj, PSUPDRVSESSION pSession, const char *pszObjName) argument [all...] |
H A D | SUPLibSem.cpp | 46 * @param pSession The session handle. 52 DECLINLINE(int) supSemOp2(PSUPDRVSESSION pSession, uint32_t uType, uintptr_t hSem, uint32_t uOp, uint64_t u64Arg) argument 54 NOREF(pSession); 80 * @param pSession The session handle. 87 DECLINLINE(int) supSemOp3(PSUPDRVSESSION pSession, uint32_t uType, uintptr_t hSem, uint32_t uOp, PSUPSEMOP3 pReq) argument 89 NOREF(pSession); 110 SUPDECL(int) SUPSemEventCreate(PSUPDRVSESSION pSession, PSUPSEMEVENT phEvent) argument 115 int rc = supSemOp3(pSession, SUP_SEM_TYPE_EVENT, (uintptr_t)NIL_SUPSEMEVENT, SUPSEMOP3_CREATE, &Req); 122 SUPDECL(int) SUPSemEventClose(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 126 return supSemOp2(pSession, SUP_SEM_TYPE_EVEN 130 SUPSemEventSignal(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 136 SUPSemEventWaitNoResume(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t cMillies) argument 142 SUPSemEventWaitNsAbsIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_t uNsTimeout) argument 148 SUPSemEventWaitNsRelIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_t cNsTimeout) argument 154 SUPSemEventGetResolution(PSUPDRVSESSION pSession) argument 167 SUPSemEventMultiCreate(PSUPDRVSESSION pSession, PSUPSEMEVENTMULTI phEventMulti) argument 179 SUPSemEventMultiClose(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti) argument 187 SUPSemEventMultiSignal(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti) argument 193 SUPSemEventMultiReset(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti) argument 199 SUPSemEventMultiWaitNoResume(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti, uint32_t cMillies) argument 205 SUPSemEventMultiWaitNsAbsIntr(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti, uint64_t uNsTimeout) argument 211 SUPSemEventMultiWaitNsRelIntr(PSUPDRVSESSION pSession, SUPSEMEVENTMULTI hEventMulti, uint64_t cNsTimeout) argument 217 SUPSemEventMultiGetResolution(PSUPDRVSESSION pSession) argument [all...] |
H A D | SUPR0IdcClient.c | 66 pHandle->s.pSession = NULL; 104 Req.Hdr.pSession = NULL; 111 pHandle->s.pSession = Req.u.Out.pSession; 123 if ( VALID_PTR(Req.u.Out.pSession) 131 AssertMsgFailed(("pSession=%p uSessionVersion=0x%x (r%u)\n", Req.u.Out.pSession, Req.u.Out.uSessionVersion, Req.u.Out.uDriverRevision)); 155 if (!pHandle->s.pSession) 157 AssertPtrReturn(pHandle->s.pSession, VERR_INVALID_HANDLE); 164 Req.pSession 187 PSUPDRVSESSION pSession; local 203 supR0IdcGetHandleFromSession(PSUPDRVSESSION pSession) argument [all...] |
H A D | SUPDrv.d | 21 probe session__create(struct SUPDRVSESSION *pSession, int fUser); 22 probe session__close(struct SUPDRVSESSION *pSession); 23 probe ioctl__entry(struct SUPDRVSESSION *pSession, uintptr_t uIOCtl, void *pvReqHdr); 24 probe ioctl__return(struct SUPDRVSESSION *pSession, uintptr_t uIOCtl, void *pvReqHdr, int rc, int rcReq);
|
H A D | SUPR0IdcClientComponent.c | 49 AssertPtrReturn(pHandle->s.pSession, VERR_INVALID_HANDLE); 56 Req.Hdr.pSession = pHandle->s.pSession; 78 AssertPtrReturn(pHandle->s.pSession, VERR_INVALID_HANDLE); 85 Req.Hdr.pSession = pHandle->s.pSession;
|
H A D | SUPDrv.cpp | 105 static int supdrvMemAdd(PSUPDRVMEMREF pMem, PSUPDRVSESSION pSession); 106 static int supdrvMemRelease(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr, SUPDRVMEMREFTYPE eType); 107 static int supdrvIOCtl_LdrOpen(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPLDROPEN pReq); 108 static int supdrvIOCtl_LdrLoad(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPLDRLOAD pReq); 109 static int supdrvIOCtl_LdrFree(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPLDRFREE pReq); 111 static int supdrvIOCtl_LdrGetSymbol(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPLDRGETSYMBOL pReq); 112 static int supdrvIDC_LdrGetSymbol(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPDRVIDCREQGETSYM pReq); 115 static int supdrvLdrAddUsage(PSUPDRVSESSION pSession, PSUPDRVLDRIMAGE pImage); 119 static int supdrvIOCtl_CallServiceModule(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPCALLSERVICE pReq); 120 static int supdrvIOCtl_LoggerSettings(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPLOGGERSETTING 707 PSUPDRVSESSION pSession; local 791 supdrvCleanupSession(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession) argument 1011 supdrvDestroySession(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession) argument 1051 supdrvSessionHashTabInsert(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPDRVSESSION *ppOsSessionPtr, void *pvUser) argument 1138 supdrvSessionHashTabRemove(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, void *pvUser) argument 1293 supdrvSessionRetain(PSUPDRVSESSION pSession) argument 1311 supdrvSessionRelease(PSUPDRVSESSION pSession) argument 1369 supdrvIOCtlFast(uintptr_t uIOCtl, VMCPUID idCpu, PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession) argument 1435 supdrvIOCtlInnerUnrestricted(uintptr_t uIOCtl, PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPREQHDR pReqHdr) argument 2260 supdrvIOCtlInnerRestricted(uintptr_t uIOCtl, PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPREQHDR pReqHdr) argument 2345 supdrvIOCtl(uintptr_t uIOCtl, PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPREQHDR pReqHdr, size_t cbReq) argument 2419 supdrvIDC(uintptr_t uReq, PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPDRVIDCREQHDR pReqHdr) argument 2570 SUPR0ObjRegister(PSUPDRVSESSION pSession, SUPDRVOBJTYPE enmType, PFNSUPDRVDESTRUCTOR pfnDestructor, void *pvUser1, void *pvUser2) argument 2655 SUPR0ObjAddRef(void *pvObj, PSUPDRVSESSION pSession) argument 2680 SUPR0ObjAddRefEx(void *pvObj, PSUPDRVSESSION pSession, bool fNoBlocking) argument 2794 SUPR0ObjRelease(void *pvObj, PSUPDRVSESSION pSession) argument 2904 SUPR0ObjVerifyAccess(void *pvObj, PSUPDRVSESSION pSession, const char *pszObjName) argument 2944 SUPR0LockMem(PSUPDRVSESSION pSession, RTR3PTR pvR3, uint32_t cPages, PRTHCPHYS paPages) argument 3004 SUPR0UnlockMem(PSUPDRVSESSION pSession, RTR3PTR pvR3) argument 3023 SUPR0ContAlloc(PSUPDRVSESSION pSession, uint32_t cPages, PRTR0PTR ppvR0, PRTR3PTR ppvR3, PRTHCPHYS pHCPhys) argument 3085 SUPR0ContFree(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr) argument 3105 SUPR0LowAlloc(PSUPDRVSESSION pSession, uint32_t cPages, PRTR0PTR ppvR0, PRTR3PTR ppvR3, PRTHCPHYS paPages) argument 3173 SUPR0LowFree(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr) argument 3192 SUPR0MemAlloc(PSUPDRVSESSION pSession, uint32_t cb, PRTR0PTR ppvR0, PRTR3PTR ppvR3) argument 3250 SUPR0MemGetPhys(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr, PSUPPAGE paPages) argument 3307 SUPR0MemFree(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr) argument 3331 SUPR0PageAllocEx(PSUPDRVSESSION pSession, uint32_t cPages, uint32_t fFlags, PRTR3PTR ppvR3, PRTR0PTR ppvR0, PRTHCPHYS paPages) argument 3412 SUPR0PageMapKernel(PSUPDRVSESSION pSession, RTR3PTR pvR3, uint32_t offSub, uint32_t cbSub, uint32_t fFlags, PRTR0PTR ppvR0) argument 3498 SUPR0PageProtect(PSUPDRVSESSION pSession, RTR3PTR pvR3, RTR0PTR pvR0, uint32_t offSub, uint32_t cbSub, uint32_t fProt) argument 3581 SUPR0PageFree(PSUPDRVSESSION pSession, RTR3PTR pvR3) argument 3902 SUPR0QueryVTCaps(PSUPDRVSESSION pSession, uint32_t *pfCaps) argument 4013 SUPR0ComponentRegisterFactory(PSUPDRVSESSION pSession, PCSUPDRVFACTORY pFactory) argument 4092 SUPR0ComponentDeregisterFactory(PSUPDRVSESSION pSession, PCSUPDRVFACTORY pFactory) argument 4153 SUPR0ComponentQueryFactory(PSUPDRVSESSION pSession, const char *pszName, const char *pszInterfaceUuid, void **ppvFactoryIf) argument 4217 supdrvMemAdd(PSUPDRVMEMREF pMem, PSUPDRVSESSION pSession) argument 4275 supdrvMemRelease(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr, SUPDRVMEMREFTYPE eType) argument 4345 supdrvIOCtl_LdrOpen(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPLDROPEN pReq) argument 4510 supdrvIOCtl_LdrLoad(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPLDRLOAD pReq) argument 4721 supdrvIOCtl_LdrFree(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPLDRFREE pReq) argument 4852 supdrvIOCtl_LdrGetSymbol(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPLDRGETSYMBOL pReq) argument 4919 supdrvIDC_LdrGetSymbol(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPDRVIDCREQGETSYM pReq) argument 5070 supdrvLdrAddUsage(PSUPDRVSESSION pSession, PSUPDRVLDRIMAGE pImage) argument 5232 supdrvIOCtl_CallServiceModule(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPCALLSERVICE pReq) argument 5293 supdrvIOCtl_LoggerSettings(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, PSUPLOGGERSETTINGS pReq) argument [all...] |
/vbox/src/VBox/HostDrivers/Support/os2/ |
H A D | SUPDrv-os2.cpp | 148 PSUPDRVSESSION pSession; local 153 rc = supdrvCreateSession(&g_DevExt, true /* fUser */, true /*fUnrestricted*/, &pSession); 156 pSession->sfn = sfn; 163 pSession->pNextHash = g_apSessionHashTab[iHash]; 164 g_apSessionHashTab[iHash] = pSession; 168 Log(("VBoxDrvOpen: g_DevExt=%p pSession=%p rc=%d pid=%d\n", &g_DevExt, pSession, rc, (int)RTProcSelf())); 180 PSUPDRVSESSION pSession; local 185 pSession = g_apSessionHashTab[iHash]; 186 if (pSession) 236 PSUPDRVSESSION pSession; local 273 PSUPDRVSESSION pSession; local 366 supdrvOSCleanupSession(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession) argument 373 supdrvOSSessionHashTabInserted(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, void *pvUser) argument 379 supdrvOSSessionHashTabRemoved(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, void *pvUser) argument 385 supdrvOSObjInitCreator(PSUPDRVOBJ pObj, PSUPDRVSESSION pSession) argument 392 supdrvOSObjCanAccess(PSUPDRVOBJ pObj, PSUPDRVSESSION pSession, const char *pszObjName, int *prc) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/ |
H A D | VBoxMPCm.cpp | 98 Assert(pContext->pSession); 99 if (!pContext->pSession) 173 static void vboxVideoCmCmdPostByHdr(PVBOXVIDEOCM_SESSION pSession, PVBOXVIDEOCM_CMD_DR pHdr, uint32_t cbSize) argument 186 KeAcquireSpinLock(&pSession->SynchLock, &OldIrql); 188 InsertHeadList(&pSession->CommandsList, &pHdr->QueueList); 189 if (pSession->bEventNeeded) 191 pSession->bEventNeeded = false; 195 KeReleaseSpinLock(&pSession->SynchLock, OldIrql); 198 KeSetEvent(pSession->pUmEvent, 0, FALSE); 220 vboxVideoCmCmdPostByHdr(pHdr->pContext->pSession, pHd 225 PVBOXVIDEOCM_SESSION pSession = pContext->pSession; local 277 vboxVideoCmSessionCtxAddLocked(PVBOXVIDEOCM_SESSION pSession, PVBOXVIDEOCM_CTX pContext) argument 283 vboxVideoCmSessionCtxAdd(PVBOXVIDEOCM_SESSION pSession, PVBOXVIDEOCM_CTX pContext) argument 294 vboxVideoCmSessionSignalEvent(PVBOXVIDEOCM_SESSION pSession) argument 301 vboxVideoCmSessionDestroyLocked(PVBOXVIDEOCM_SESSION pSession) argument 352 vboxVideoCmSessionCtxRemoveLocked(PVBOXVIDEOCM_SESSION pSession, PVBOXVIDEOCM_CTX pContext) argument 402 PVBOXVIDEOCM_SESSION pSession = (PVBOXVIDEOCM_SESSION)vboxWddmMemAllocZero(sizeof (VBOXVIDEOCM_SESSION)); local 442 PVBOXVIDEOCM_SESSION pSession = NULL; local 480 PVBOXVIDEOCM_SESSION pSession = pContext->pSession; local 510 PVBOXVIDEOCM_SESSION pSession = NULL; local 528 PVBOXVIDEOCM_SESSION pSession = pContext->pSession; local 677 PVBOXVIDEOCM_SESSION pSession = NULL; local [all...] |
/vbox/src/VBox/Additions/common/VBoxGuest/ |
H A D | VBoxGuest-os2.cpp | 356 PVBOXGUESTSESSION pSession; local 361 rc = VbgdCommonCreateUserSession(&g_DevExt, &pSession); 364 pSession->sfn = sfn; 371 pSession->pNextHash = g_apSessionHashTab[iHash]; 372 g_apSessionHashTab[iHash] = pSession; 376 Log(("VBoxGuestOS2Open: g_DevExt=%p pSession=%p rc=%d pid=%d\n", &g_DevExt, pSession, rc, (int)RTProcSelf())); 388 PVBOXGUESTSESSION pSession; local 393 pSession = g_apSessionHashTab[iHash]; 394 if (pSession) 444 PVBOXGUESTSESSION pSession; local 488 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)u32Session; local 517 PVBOXGUESTSESSION pSession; local 535 PVBOXGUESTSESSION pSession; local [all...] |
H A D | VBoxGuestIDC-unix.c.h | 47 PVBOXGUESTSESSION pSession; local 71 rc = VbgdCommonCreateKernelSession(&g_DevExt, &pSession); 75 return pSession; 104 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)pvSession; local 107 AssertPtrReturn(pSession, VERR_INVALID_POINTER); 108 VbgdCommonCloseSession(&g_DevExt, pSession); 139 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)pvSession; local 142 AssertPtrReturn(pSession, VERR_INVALID_POINTER); 143 AssertMsgReturn(pSession->pDevExt == &g_DevExt, 144 ("SC: %p != %p\n", pSession [all...] |
H A D | VBoxDev-haiku.c | 108 PVBOXGUESTSESSION pSession; local 115 rc = VbgdCommonCreateUserSession(&g_DevExt, &pSession); 118 Log((DRIVER_NAME ":VBoxGuestHaikuOpen success: g_DevExt=%p pSession=%p rc=%d pid=%d\n",&g_DevExt, pSession, rc,(int)RTProcSelf())); 120 *cookie = pSession; 137 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)cookie; local 138 Log(("VBoxGuestHaikuClose: pSession=%p\n", pSession)); 166 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)cookie; local 167 Log(("VBoxGuestHaikuFree: pSession 194 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)cookie; local 298 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)cookie; local 342 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)cookie; local 390 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)cookie; local [all...] |
H A D | VBoxGuest.cpp | 74 static int vbgdIoCtl_CancelAllWaitEvents(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession); 76 static uint32_t vbgdGetAllowedEventMaskForSession(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession); 80 static int vbgdSetSessionEventFilter(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, 82 static int vbgdSetSessionMouseStatus(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, 84 static int vbgdSetSessionCapabilities(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, 86 static int vbgdAcquireSessionCapabilities(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, uint32_t fOrMask, 482 * @param pSession The session. 590 * @param pSession The session. 595 static int vbgdSetBalloonSizeFromUser(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, uint64_t u64ChunkAddr, bool fInflate) argument 709 static void vbgdCloseMemBalloon(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession) argument 1227 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)RTMemAllocZ(sizeof(*pSession)); local 1261 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)RTMemAllocZ(sizeof(*pSession)); local 1289 VbgdCommonCloseSession(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession) argument 1337 vbgdWaitAlloc(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession) argument 1492 VbgdCommonIoCtlFast(unsigned iFunction, PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession) argument 1550 vbdgCheckWaitEventCondition(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, VBoxGuestWaitEventInfo *pInfo, int iEvent, const uint32_t fReqEvents) argument 1576 vbgdIoCtl_WaitEvent(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, VBoxGuestWaitEventInfo *pInfo, size_t *pcbDataReturned, bool fInterruptible) argument 1698 vbgdIoCtl_CancelAllWaitEvents(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession) argument 1752 vbgdCheckIfVmmReqIsAllowed(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, VMMDevRequestType enmType, VMMDevRequestHeader const *pReqHdr) argument 1897 vbgdIoCtl_VMMRequest(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, VMMDevRequestHeader *pReqHdr, size_t cbData, size_t *pcbDataReturned) argument 2084 vbgdIoCtl_HGCMConnect(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, VBoxGuestHGCMConnectInfo *pInfo, size_t *pcbDataReturned) argument 2137 vbgdIoCtl_HGCMDisconnect(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, VBoxGuestHGCMDisconnectInfo *pInfo, size_t *pcbDataReturned) argument 2184 vbgdIoCtl_HGCMCall(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, VBoxGuestHGCMCallInfo *pInfo, uint32_t cMillies, bool fInterruptible, bool f32bit, bool fUserData, size_t cbExtra, size_t cbData, size_t *pcbDataReturned) argument 2290 vbgdIoCtl_CheckMemoryBalloon(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, VBoxGuestCheckBalloonInfo *pInfo, size_t *pcbDataReturned) argument 2363 vbgdIoCtl_ChangeMemoryBalloon(PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, VBoxGuestChangeBalloonInfo *pInfo, size_t *pcbDataReturned) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/ |
H A D | VBoxDispCm.cpp | 46 HRESULT vboxDispCmSessionTerm(PVBOXDISPCM_SESSION pSession) argument 49 Assert(RTListIsEmpty(&pSession->CtxList)); 51 BOOL bRc = CloseHandle(pSession->hEvent); 55 DeleteCriticalSection(&pSession->CritSect); 63 HRESULT vboxDispCmSessionInit(PVBOXDISPCM_SESSION pSession) argument 73 pSession->hEvent = hEvent; 74 InitializeCriticalSection(&pSession->CritSect); 75 RTListInit(&pSession->CtxList); 76 pSession->bQueryMp = false; 84 void vboxDispCmSessionCtxAdd(PVBOXDISPCM_SESSION pSession, PVBOXWDDMDISP_CONTEX argument 91 vboxDispCmSessionCtxRemoveLocked(PVBOXDISPCM_SESSION pSession, PVBOXWDDMDISP_CONTEXT pContext) argument 96 vboxDispCmSessionCtxRemove(PVBOXDISPCM_SESSION pSession, PVBOXWDDMDISP_CONTEXT pContext) argument 192 vboxDispCmSessionCtxDestroy(PVBOXDISPCM_SESSION pSession, PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_CONTEXT pContext) argument 214 vboxDispCmSessionCmdQueryData(PVBOXDISPCM_SESSION pSession, PVBOXDISPIFESCAPE_GETVBOXVIDEOCMCMD pCmd, uint32_t cbCmd) argument 269 vboxDispCmCmdSessionInterruptWait(PVBOXDISPCM_SESSION pSession) argument 275 vboxDispCmSessionCmdGet(PVBOXDISPCM_SESSION pSession, PVBOXDISPIFESCAPE_GETVBOXVIDEOCMCMD pCmd, uint32_t cbCmd, DWORD dwMilliseconds) argument 332 PVBOXDISPCM_SESSION pSession = &g_pVBoxCmMgr.Session; local [all...] |
/vbox/src/VBox/HostDrivers/Support/testcase/ |
H A D | tstSupSem.cpp | 101 PSUPDRVSESSION pSession; local 102 rc = SUPR3Init(&pSession); 108 g_pSession = pSession; 116 RTTESTI_CHECK_RC(SUPSemEventCreate(pSession, &hEvent), VINF_SUCCESS); 117 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 0), VERR_TIMEOUT); 118 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 1), VERR_TIMEOUT); 119 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 2), VERR_TIMEOUT); 120 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 8), VERR_TIMEOUT); 121 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent,20), VERR_TIMEOUT); 122 RTTESTI_CHECK_RC(SUPSemEventSignal(pSession, hEven [all...] |
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTR0DbgKrnlInfo.h | 29 DECLEXPORT(int) TSTR0DbgKrnlInfoSrvReqHandler(PSUPDRVSESSION pSession, uint32_t uOperation,
|
H A D | tstRTR0Thread.h | 31 DECLEXPORT(int) TSTRTR0ThreadSrvReqHandler(PSUPDRVSESSION pSession, uint32_t uOperation, uint64_t u64Arg,
|
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxServiceControlSession.cpp | 56 static int gstcntlSessionFileAdd(PVBOXSERVICECTRLSESSION pSession, PVBOXSERVICECTRLFILE pFile); 57 static PVBOXSERVICECTRLFILE gstcntlSessionFileGetLocked(const PVBOXSERVICECTRLSESSION pSession, uint32_t uHandle); 60 static int gstcntlSessionHandleDirRemove(PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx); 61 static int gstcntlSessionHandleFileOpen(PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx); 62 static int gstcntlSessionHandleFileClose(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx); 63 static int gstcntlSessionHandleFileRead(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx); 64 static int gstcntlSessionHandleFileWrite(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx, void *pvScratchBuf, size_t cbScratchBuf); 65 static int gstcntlSessionHandleFileSeek(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx); 66 static int gstcntlSessionHandleFileTell(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx); 67 static int gstcntlSessionHandlePathRename(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCT 109 gstcntlSessionFileGetLocked(const PVBOXSERVICECTRLSESSION pSession, uint32_t uHandle) argument 126 gstcntlSessionHandleDirRemove(PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) argument 199 gstcntlSessionHandleFileOpen(PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) argument 303 gstcntlSessionHandleFileClose(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) argument 339 gstcntlSessionHandleFileRead(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx, void *pvScratchBuf, size_t cbScratchBuf) argument 397 gstcntlSessionHandleFileReadAt(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx, void *pvScratchBuf, size_t cbScratchBuf) argument 457 gstcntlSessionHandleFileWrite(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx, void *pvScratchBuf, size_t cbScratchBuf) argument 505 gstcntlSessionHandleFileWriteAt(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx, void *pvScratchBuf, size_t cbScratchBuf) argument 554 gstcntlSessionHandleFileSeek(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) argument 624 gstcntlSessionHandleFileTell(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) argument 666 gstcntlSessionHandlePathRename(PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) argument 726 gstcntlSessionHandleProcExec(PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) argument 838 gstcntlSessionHandleProcInput(PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx, void *pvScratchBuf, size_t cbScratchBuf) argument 914 gstcntlSessionHandleProcOutput(PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) argument 960 gstcntlSessionHandleProcTerminate(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) argument 989 gstcntlSessionHandleProcWaitFor(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) argument 1015 GstCntlSessionHandler(PVBOXSERVICECTRLSESSION pSession, uint32_t uMsg, PVBGLR3GUESTCTRLCMDCTX pHostCtx, void *pvScratchBuf, size_t cbScratchBuf, volatile bool *pfShutdown) argument 1349 gstcntlSessionForkWorker(PVBOXSERVICECTRLSESSION pSession) argument 1483 GstCntlSessionRetainProcess(PVBOXSERVICECTRLSESSION pSession, uint32_t uPID) argument 1518 GstCntlSessionClose(PVBOXSERVICECTRLSESSION pSession) argument 1628 GstCntlSessionDestroy(PVBOXSERVICECTRLSESSION pSession) argument 1641 GstCntlSessionInit(PVBOXSERVICECTRLSESSION pSession, uint32_t uFlags) argument 1665 GstCntlSessionProcessAdd(PVBOXSERVICECTRLSESSION pSession, PVBOXSERVICECTRLPROCESS pProcess) argument 1696 GstCntlSessionProcessRemove(PVBOXSERVICECTRLSESSION pSession, PVBOXSERVICECTRLPROCESS pProcess) argument 1728 GstCntlSessionProcessStartAllowed(const PVBOXSERVICECTRLSESSION pSession, bool *pbAllowed) argument [all...] |
H A D | VBoxServiceControl.h | 239 PVBOXSERVICECTRLSESSION pSession; member in struct:VBOXSERVICECTRLPROCESS 298 extern int GstCntlSessionThreadDestroy(PVBOXSERVICECTRLSESSIONTHREAD pSession, uint32_t uFlags); 300 extern int GstCntlSessionThreadTerminate(PVBOXSERVICECTRLSESSIONTHREAD pSession); 303 extern PVBOXSERVICECTRLPROCESS GstCntlSessionRetainProcess(PVBOXSERVICECTRLSESSION pSession, uint32_t uPID); 304 extern int GstCntlSessionClose(PVBOXSERVICECTRLSESSION pSession); 305 extern int GstCntlSessionDestroy(PVBOXSERVICECTRLSESSION pSession); 306 extern int GstCntlSessionInit(PVBOXSERVICECTRLSESSION pSession, uint32_t uFlags); 307 extern int GstCntlSessionHandler(PVBOXSERVICECTRLSESSION pSession, uint32_t uMsg, PVBGLR3GUESTCTRLCMDCTX pHostCtx, void *pvScratchBuf, size_t cbScratchBuf, volatile bool *pfShutdown); 308 extern int GstCntlSessionProcessAdd(PVBOXSERVICECTRLSESSION pSession, PVBOXSERVICECTRLPROCESS pProcess); 309 extern int GstCntlSessionProcessRemove(PVBOXSERVICECTRLSESSION pSession, PVBOXSERVICECTRLPROCES [all...] |
/vbox/src/VBox/NetworkServices/NetLib/ |
H A D | VBoxNetLib.h | 50 int VBoxNetUDPUnicast(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf, PINTNETBUF pBuf, 54 int VBoxNetUDPBroadcast(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf, PINTNETBUF pBuf, 59 bool VBoxNetArpHandleIt(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf, PINTNETBUF pBuf, PCRTMAC pMacAddr, RTNETADDRIPV4 IPv4Addr); 61 int VBoxNetIntIfFlush(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf); 63 int VBoxNetIntIfSend(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf, PINTNETBUF pBuf, size_t cSegs, PCINTNETSEG paSegs, bool fFlush);
|
/vbox/src/VBox/HostDrivers/Support/freebsd/ |
H A D | SUPDrv-freebsd.c | 77 static int VBoxDrvFreeBSDIOCtlSlow(PSUPDRVSESSION pSession, u_long ulCmd, caddr_t pvData, struct thread *pTd); 232 PSUPDRVSESSION pSession; local 247 rc = supdrvCreateSession(&g_VBoxDrvFreeBSDDevExt, true /* fUser */, fUnrestricted, &pSession); 251 pSession->Uid = stuff; 252 pSession->Gid = stuff; */ 253 devfs_set_cdevpriv(pSession, VBoxDrvFreeBSDDtr); 254 Log(("VBoxDrvFreeBSDOpen: pSession=%p\n", pSession)); 288 PSUPDRVSESSION pSession = pData; local 289 Log(("VBoxDrvFreeBSDDtr: pSession 311 PSUPDRVSESSION pSession; local 336 VBoxDrvFreeBSDIOCtlSlow(PSUPDRVSESSION pSession, u_long ulCmd, caddr_t pvData, struct thread *pTd) argument 474 PSUPDRVSESSION pSession; local 500 supdrvOSCleanupSession(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession) argument 507 supdrvOSSessionHashTabInserted(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, void *pvUser) argument 513 supdrvOSSessionHashTabRemoved(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession, void *pvUser) argument 519 supdrvOSObjInitCreator(PSUPDRVOBJ pObj, PSUPDRVSESSION pSession) argument 526 supdrvOSObjCanAccess(PSUPDRVOBJ pObj, PSUPDRVSESSION pSession, const char *pszObjName, int *prc) argument [all...] |
/vbox/src/VBox/ValidationKit/utils/misc/ |
H A D | loadgeneratorR0.cpp | 75 extern "C" DECLEXPORT(int) LoadGenR0ServiceReqHandler(PSUPDRVSESSION pSession, uint32_t uOperation, argument 87 NOREF(pSession);
|
/vbox/src/VBox/HostDrivers/Support/solaris/ |
H A D | SUPDrv-solaris.c | 98 static int VBoxDrvSolarisIOCtlSlow(PSUPDRVSESSION pSession, int Cmd, int Mode, intptr_t pArgs); 175 PSUPDRVSESSION pSession; member in struct:__anon16371 470 PSUPDRVSESSION pSession; local 509 rc = supdrvCreateSession(&g_DevExt, true /* fUser */, fUnrestricted, &pSession); 512 pSession->Uid = crgetruid(pCred); 513 pSession->Gid = crgetrgid(pCred); 515 pState->pSession = pSession; 517 LogFlow(("VBoxDrvSolarisOpen: Dev=%#x pSession=%p pid=%d r0proc=%p thread=%p\n", 518 *pDev, pSession, RTProcSel [all...] |
/vbox/src/VBox/Additions/WINNT/VBoxTray/ |
H A D | VBoxIPC.cpp | 87 int vboxIPCSessionStop(PVBOXIPCSESSION pSession); 89 static int vboxIPCHandleVBoxTrayRestart(PVBOXIPCSESSION pSession, PVBOXTRAYIPCHEADER pHdr) argument 91 AssertPtrReturn(pSession, VERR_INVALID_POINTER); 98 static int vboxIPCHandleShowBalloonMsg(PVBOXIPCSESSION pSession, PVBOXTRAYIPCHEADER pHdr) argument 100 AssertPtrReturn(pSession, VERR_INVALID_POINTER); 105 int rc = RTLocalIpcSessionRead(pSession->hSession, &ipcMsg, pHdr->uMsgLen, 121 static int vboxIPCHandleUserLastInput(PVBOXIPCSESSION pSession, PVBOXTRAYIPCHEADER pHdr) argument 123 AssertPtrReturn(pSession, VERR_INVALID_POINTER); 153 int rc2 = RTLocalIpcSessionWrite(pSession->hSession, &ipcRes, sizeof(ipcRes)); 255 PVBOXIPCSESSION pSession; local 475 PVBOXIPCSESSION pSession = (PVBOXIPCSESSION)RTMemAllocZ(sizeof(VBOXIPCSESSION)); local 513 vboxIPCSessionStop(PVBOXIPCSESSION pSession) argument [all...] |