Lines Matching refs:rc2

183         int rc2 = VbglR3GuestCtrlMsgReply(pHostCtx, rc);
184 if (RT_FAILURE(rc2))
186 szDir, rc2);
188 rc = rc2;
287 int rc2 = VbglR3GuestCtrlFileCbOpen(pHostCtx, rc, uHandle);
288 if (RT_FAILURE(rc2))
290 szFile, rc2);
292 rc = rc2;
324 int rc2 = VbglR3GuestCtrlFileCbClose(pHostCtx, rc);
325 if (RT_FAILURE(rc2))
326 VBoxServiceError("Failed to report file close status, rc=%Rrc\n", rc2);
328 rc = rc2;
378 int rc2 = VbglR3GuestCtrlFileCbRead(pHostCtx, rc, pvDataRead, (uint32_t)cbRead);
383 if (RT_FAILURE(rc2))
384 VBoxServiceError("Failed to report file read status, rc=%Rrc\n", rc2);
386 rc = rc2;
438 int rc2 = VbglR3GuestCtrlFileCbRead(pHostCtx, rc, pvDataRead, (uint32_t)cbRead);
443 if (RT_FAILURE(rc2))
444 VBoxServiceError("Failed to report file read status, rc=%Rrc\n", rc2);
446 rc = rc2;
490 int rc2 = VbglR3GuestCtrlFileCbWrite(pHostCtx, rc, (uint32_t)cbWritten);
491 if (RT_FAILURE(rc2))
492 VBoxServiceError("Failed to report file write status, rc=%Rrc\n", rc2);
494 rc = rc2;
539 int rc2 = VbglR3GuestCtrlFileCbWrite(pHostCtx, rc, (uint32_t)cbWritten);
540 if (RT_FAILURE(rc2))
541 VBoxServiceError("Failed to report file write status, rc=%Rrc\n", rc2);
543 rc = rc2;
609 int rc2 = VbglR3GuestCtrlFileCbSeek(pHostCtx, rc, uOffsetActual);
610 if (RT_FAILURE(rc2))
611 VBoxServiceError("Failed to report file seek status, rc=%Rrc\n", rc2);
613 rc = rc2;
651 int rc2 = VbglR3GuestCtrlFileCbTell(pHostCtx, rc, uOffsetActual);
652 if (RT_FAILURE(rc2))
653 VBoxServiceError("Failed to report file tell status, rc=%Rrc\n", rc2);
655 rc = rc2;
704 int rc2 = VbglR3GuestCtrlMsgReply(pHostCtx, rc);
705 if (RT_FAILURE(rc2))
706 VBoxServiceError("Failed to report renaming status, rc=%Rrc\n", rc2);
708 rc = rc2;
817 int rc2 = VbglR3GuestCtrlProcCbStatus(pHostCtx, 0 /* PID, invalid */,
820 if (RT_FAILURE(rc2))
821 VBoxServiceError("Error sending start process status to host, rc=%Rrc\n", rc2);
1184 int rc2 = RTThreadUserSignal(RTThreadSelf());
1185 AssertRC(rc2);
1335 rc2 = VbglR3GuestCtrlSessionNotify(&ctx,
1337 if (RT_FAILURE(rc2))
1339 uSessionID, rc2);
1389 int rc2 = VbglR3GuestCtrlSessionNotify(&ctx,
1391 if (RT_FAILURE(rc2))
1394 pSession->StartupInfo.uSessionID, rc2);
1401 rc = rc2;
1551 int rc2 = RTCritSectLeave(&pSession->CritSect);
1552 AssertRC(rc2);
1554 rc2 = GstCntlProcessWait(pProcess,
1561 if (RT_SUCCESS(rc2))
1600 int rc2 = gstcntlSessionFileDestroy(pFile);
1601 if (RT_FAILURE(rc2))
1604 pFile->szName, rc2);
1606 rc = rc2;
1619 int rc2 = RTCritSectLeave(&pSession->CritSect);
1621 rc = rc2;
1680 int rc2 = RTCritSectLeave(&pSession->CritSect);
1682 rc = rc2;
1711 int rc2 = RTCritSectLeave(&pSession->CritSect);
1713 rc = rc2;
1763 int rc2 = RTCritSectLeave(&pSession->CritSect);
1765 rc = rc2;
1902 int rc2 = VINF_SUCCESS;
1904 for (int i = 0; i < g_cVerbosity && RT_SUCCESS(rc2); i++)
1907 rc2 = RTStrCat(szParmVerbose, sizeof(szParmVerbose), "-");
1908 if (RT_FAILURE(rc2))
1910 rc2 = RTStrCat(szParmVerbose, sizeof(szParmVerbose), "v");
1912 if (RT_SUCCESS(rc2))
1918 if ( RT_SUCCESS(rc2)
1934 rc2 = VERR_NO_MEMORY;
1943 rc2 = VERR_NO_MEMORY;
1948 rc2 = RTStrAAppend(&pszLogFile, pszLogNewSuffix);
1949 if (RT_SUCCESS(rc2) && pszLogSuff)
1950 rc2 = RTStrAAppend(&pszLogFile, pszLogSuff);
1951 if (RT_SUCCESS(rc2))
1956 rc2 = VERR_BUFFER_OVERFLOW;
1961 if (RT_FAILURE(rc2))
1963 pSessionStartupInfo->uSessionID, pSessionStartupInfo->szUser, rc2);
1968 if (RT_SUCCESS(rc2))
1971 rc = rc2;
1973 else if (RT_FAILURE(rc2))
1974 rc = rc2;
2062 int rc2 = RTHandleClose(pSession->StdIn.phChild); AssertRC(rc2);
2064 rc2 = RTHandleClose(pSession->StdOut.phChild); AssertRC(rc2);
2066 rc2 = RTHandleClose(pSession->StdErr.phChild); AssertRC(rc2);
2254 int rc2 = GstCntlSessionThreadDestroy(pSessionThread, uFlags);
2255 if (RT_FAILURE(rc2))
2257 VBoxServiceError("Closing session thread failed with rc=%Rrc\n", rc2);
2259 rc = rc2;