Lines Matching refs:uPass

881 static DECLCALLBACK(int)    ssmR3SelfLiveExec(PVM pVM, PSSMHANDLE pSSM, uint32_t uPass);
883 static DECLCALLBACK(int) ssmR3SelfLoadExec(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass);
884 static DECLCALLBACK(int) ssmR3LiveControlLoadExec(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass);
886 static int ssmR3LiveControlEmit(PSSMHANDLE pSSM, long double lrdPct, uint32_t uPass);
945 STAM_REL_REG_USED(pVM, &pVM->ssm.s.uPass, STAMTYPE_U32, "/SSM/uPass", STAMUNIT_COUNT, "Current pass");
959 * @param uPass The data pass number.
961 static DECLCALLBACK(int) ssmR3SelfLiveExec(PVM pVM, PSSMHANDLE pSSM, uint32_t uPass)
963 if (uPass == 0)
1013 * @param uPass The pass.
1015 static DECLCALLBACK(int) ssmR3SelfLoadExec(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass)
1018 NOREF(pVM); NOREF(uPass);
1025 if ( uPass == 0
1026 || uPass == SSM_PASS_FINAL)
1077 * @param uPass The pass.
1079 static DECLCALLBACK(int) ssmR3LiveControlLoadExec(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass)
1082 NOREF(uPass);
1477 static DECLCALLBACK(int) ssmR3LoadExecStub(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass)
1479 NOREF(pVM); NOREF(uVersion); NOREF(uPass);
4345 * @param uPass The current pass.
4347 static int ssmR3LiveControlEmit(PSSMHANDLE pSSM, long double lrdPct, uint32_t uPass)
4370 UnitHdr.u32Pass = uPass;
4532 pVM->ssm.s.uPass = 0;
5257 * @param uPass The current pass.
5259 static int ssmR3LiveDoVoteRun(PVM pVM, PSSMHANDLE pSSM, uint32_t uPass)
5279 rc = pUnit->u.Dev.pfnLiveVote(pUnit->u.Dev.pDevIns, pSSM, uPass);
5282 rc = pUnit->u.Drv.pfnLiveVote(pUnit->u.Drv.pDrvIns, pSSM, uPass);
5285 rc = pUnit->u.Usb.pfnLiveVote(pUnit->u.Usb.pUsbIns, pSSM, uPass);
5288 rc = pUnit->u.Internal.pfnLiveVote(pVM, pSSM, uPass);
5291 rc = pUnit->u.External.pfnLiveVote(pSSM, pUnit->u.External.pvUser, uPass);
5304 Log(("ssmR3DoLiveVoteRun: '%s'/#%u -> VINF_SSM_VOTE_FOR_ANOTHER_PASS (pass=%u)\n", pUnit->szName, pUnit->u32Instance, uPass));
5310 Log(("ssmR3DoLiveVoteRun: '%s'/#%u -> VINF_SSM_VOTE_DONE_DONT_CALL_AGAIN (pass=%u)\n", pUnit->szName, pUnit->u32Instance, uPass));
5319 LogRel(("SSM: Error - '%s'/#%u voted %Rrc! (pass=%u)\n", pUnit->szName, pUnit->u32Instance, rc, uPass));
5328 LogRel(("SSM: Step 1 completed after pass %u.\n", uPass));
5346 ssmR3LiveControlEmit(pSSM, lrdPct, uPass);
5363 * @param uPass The current pass.
5365 static int ssmR3LiveDoExecRun(PVM pVM, PSSMHANDLE pSSM, uint32_t uPass)
5400 UnitHdr.u32Pass = uPass;
5422 rc = pUnit->u.Dev.pfnLiveExec(pUnit->u.Dev.pDevIns, pSSM, uPass);
5425 rc = pUnit->u.Drv.pfnLiveExec(pUnit->u.Drv.pDrvIns, pSSM, uPass);
5428 rc = pUnit->u.Usb.pfnLiveExec(pUnit->u.Usb.pUsbIns, pSSM, uPass);
5431 rc = pUnit->u.Internal.pfnLiveExec(pVM, pSSM, uPass);
5434 rc = pUnit->u.External.pfnLiveExec(pSSM, pUnit->u.External.pvUser, uPass);
5480 LogRel(("SSM: Failed terminating unit: %Rrc (pass=%u)\n", rc, uPass));
5519 for (uint32_t uPass = 0; uPass < SSM_MAX_PASSES; uPass++)
5521 pVM->ssm.s.uPass = uPass;
5526 int rc = ssmR3LiveDoExecRun(pVM, pSSM, uPass);
5529 rc = ssmR3LiveDoVoteRun(pVM, pSSM, uPass);