Lines Matching refs:pSession
63 * @param pSession Guest session the process is bound to.
68 const PVBOXSERVICECTRLSESSION pSession,
73 AssertPtrReturn(pSession, VERR_INVALID_POINTER);
78 pProcess->pSession = pSession;
155 AssertPtr(pProcess->pSession);
156 rc = GstCntlSessionProcessRemove(pProcess->pSession, pProcess);
1165 AssertPtr(pProcess->pSession);
1166 int rc = RTCritSectEnter(&pProcess->pSession->CritSect);
1176 RTListForEach(&pProcess->pSession->lstProcesses, pProcessCur, VBOXSERVICECTRLPROCESS, Node)
1194 rc = RTCritSectLeave(&pProcess->pSession->CritSect);
1456 rc = GstCntlSessionProcessAdd(pProcess->pSession, pProcess);
1590 AssertPtr(pProcess->pSession);
1591 bool fNeedsImpersonation = !(pProcess->pSession->uFlags & VBOXSERVICECTRLSESSION_FLAG_FORK);
1764 * @param pSession Guest session.
1769 int GstCntlProcessStart(const PVBOXSERVICECTRLSESSION pSession,
1773 AssertPtrReturn(pSession, VERR_INVALID_POINTER);
1783 int rc = gstcntlProcessInit(pProcess, pSession, pStartupInfo, uContextID);
1913 const PVBOXSERVICECTRLSESSION pSession = pThis->pSession;
1914 AssertPtrReturn(pSession, VERR_INVALID_POINTER);
1947 if ( pSession->uFlags & VBOXSERVICECTRLSESSION_FLAG_DUMPSTDOUT
1954 pSession->StartupInfo.uSessionID, pThis->uPID)) rc = VERR_BUFFER_UNDERFLOW;
1959 else if ( pSession->uFlags & VBOXSERVICECTRLSESSION_FLAG_DUMPSTDERR
1964 pSession->StartupInfo.uSessionID, pThis->uPID))