Lines Matching defs:rc

49     int rc;
59 rc = SUPR3Init(&pSession);
60 rcRet += rc != 0;
61 RTPrintf("tstInt: SUPR3Init -> rc=%Rrc\n", rc);
63 if (!rc)
65 rc = RTPathExecDir(szFile, sizeof(szFile) - sizeof("/VMMR0.r0"));
68 if (RT_SUCCESS(rc))
71 rc = RTPathAbs(szFile, szAbsFile, sizeof(szAbsFile));
73 if (RT_SUCCESS(rc))
78 rc = SUPR3LoadVMM(szAbsFile);
79 if (RT_SUCCESS(rc))
89 rc = SUPR3LowAlloc(cPages, (void **)&pVM, &pVMR0, &paPages[0]);
91 rc = VERR_NO_MEMORY;
92 if (RT_SUCCESS(rc))
101 rc = SUPR3SetVMForFastIOCtl(pVMR0);
102 if (!rc)
110 rc = SUPR3CallVMMR0(pVMR0, NIL_VMCPUID, VMMR0_DO_SLOW_NOP, NULL);
111 if (rc != VINF_SUCCESS)
113 RTPrintf("tstInt: SUPR3CallVMMR0 -> rc=%Rrc i=%d Expected VINF_SUCCESS!\n", rc, i);
118 RTPrintf("tstInt: Performed SUPR3CallVMMR0 %d times (rc=%Rrc)\n", cIterations, rc);
123 if (rc == VINF_SUCCESS)
132 rc = SUPR3CallVMMR0Fast(pVMR0, VMMR0_DO_NOP, 0);
137 if (RT_UNLIKELY(rc != VINF_SUCCESS))
139 RTPrintf("tstInt: SUPR3CallVMMR0Fast -> rc=%Rrc i=%d Expected VINF_SUCCESS!\n", rc, i);
160 rc = SUPR3CallVMMR0Ex(pVMR0, NIL_VMCPUID, VMMR0_DO_SLOW_NOP, 0, NULL);
165 if (RT_UNLIKELY(rc != VINF_SUCCESS))
167 RTPrintf("tstInt: SUPR3CallVMMR0Ex -> rc=%Rrc i=%d Expected VINF_SUCCESS!\n", rc, i);
181 RTPrintf("tstInt: SUPR3SetVMForFastIOCtl failed: %Rrc\n", rc);
194 rc = SUPR3UnloadVMM();
195 if (rc)
197 RTPrintf("tstInt: SUPR3UnloadVMM failed with rc=%Rrc\n", rc);
203 RTPrintf("tstInt: SUPR3LoadVMM failed with rc=%Rrc\n", rc);
210 rc = SUPR3Term(false /*fForced*/);
211 rcRet += rc != 0;
212 RTPrintf("tstInt: SUPR3Term -> rc=%Rrc\n", rc);
215 return !!rc;