Lines Matching refs:hSession
76 RTLOCALIPCSESSION volatile hSession;
105 int rc = RTLocalIpcSessionRead(pSession->hSession, &ipcMsg, pHdr->uMsgLen,
153 int rc2 = RTLocalIpcSessionWrite(pSession->hSession, &ipcRes, sizeof(ipcRes));
337 RTLOCALIPCSESSION hSession = pThis->hSession;
338 AssertReturn(hSession != NIL_RTLOCALIPCSESSION, VERR_INVALID_PARAMETER);
351 rc = RTLocalIpcSessionWaitForData(hSession, RT_INDEFINITE_WAIT);
367 rc = RTLocalIpcSessionRead(hSession, &ipcHdr, sizeof(ipcHdr),
418 rc = RTLocalIpcSessionRead(hSession, &devNull, sizeof(devNull), &cbRead);
438 int rc2 = RTLocalIpcSessionClose(hSession);
467 static int vboxIPCSessionCreate(PVBOXIPCCONTEXT pCtx, RTLOCALIPCSESSION hSession)
470 AssertReturn(hSession != NIL_RTLOCALIPCSESSION, VERR_INVALID_PARAMETER);
479 pSession->hSession = hSession;
495 int rc2 = RTLocalIpcSessionClose(hSession);
519 RTLOCALIPCSESSION hSession;
520 ASMAtomicXchgHandle(&pSession->hSession, NIL_RTLOCALIPCSESSION, &hSession);
521 if (hSession)
522 return RTLocalIpcSessionClose(hSession);