Lines Matching defs:cShots

56     uint32_t volatile   cShots;
198 uint32_t iShot = ASMAtomicIncU32(&pState->cShots);
229 uint32_t iShot = ASMAtomicIncU32(&pState->cShots) - 1;
281 uint32_t iShot = ASMAtomicIncU32(&pState->cShots);
305 uint32_t iShot = ASMAtomicIncU32(&pState->cShots);
329 uint32_t iShot = ASMAtomicIncU32(&pState->cShots);
377 uint32_t cShots = pState->cShots;
379 for (uint32_t iShot = 0; iShot < cShots; iShot++)
455 RT_ZERO(State); ASMAtomicWriteU32(&State.cShots, State.cShots);
457 for (uint32_t i = 0; i < 1000 && !ASMAtomicUoReadU32(&State.cShots); i++)
459 RTR0TESTR0_CHECK_MSG_BREAK(ASMAtomicUoReadU32(&State.cShots) == 1, ("cShots=%u\n", State.cShots));
462 RT_ZERO(State); ASMAtomicWriteU32(&State.cShots, State.cShots);
464 for (uint32_t i = 0; i < 1000 && !ASMAtomicUoReadU32(&State.cShots); i++)
466 RTR0TESTR0_CHECK_MSG_BREAK(ASMAtomicUoReadU32(&State.cShots) == 1, ("cShots=%u\n", State.cShots));
469 RT_ZERO(State); ASMAtomicWriteU32(&State.cShots, State.cShots);
473 RTR0TESTR0_CHECK_MSG_BREAK(ASMAtomicUoReadU32(&State.cShots) == 0, ("cShots=%u\n", State.cShots));
476 RT_ZERO(State); ASMAtomicWriteU32(&State.cShots, State.cShots);
482 RTR0TESTR0_CHECK_MSG_BREAK(ASMAtomicUoReadU32(&State.cShots) == 0, ("cShots=%u\n", State.cShots));
508 ASMAtomicWriteU32(&State.cShots, State.cShots);
512 for (uint32_t i = 0; i < 1000 && ASMAtomicUoReadU32(&State.cShots) < 2; i++)
514 RTR0TESTR0_CHECK_MSG_BREAK(ASMAtomicUoReadU32(&State.cShots) == 2, ("cShots=%u\n", State.cShots));
542 ASMAtomicWriteU32(&State.cShots, State.cShots);
546 for (uint32_t i = 0; i < 1000 && (ASMAtomicUoReadU32(&State.cShots) < 1 || State.rc == VERR_IPE_UNINITIALIZED_STATUS); i++)
548 RTR0TESTR0_CHECK_MSG_BREAK(ASMAtomicReadU32(&State.cShots) == 1, ("cShots=%u\n", State.cShots));
571 ASMAtomicWriteU32(&State.cShots, State.cShots);
585 ASMAtomicWriteU32(&State.cShots, 0);
588 for (uint32_t j = 0; j < 1000 && ASMAtomicUoReadU32(&State.cShots) < 1; j++)
591 RTR0TESTR0_CHECK_MSG_BREAK(ASMAtomicReadU32(&State.cShots) == 1,
592 ("cShots=%u iCpu=%u i=%u iCurCpu=%u cNsElapsed=%'llu\n",
593 State.cShots, iCpu, i, RTMpCpuIdToSetIndex(RTMpCpuId()), cNsElapsed ));
625 ASMAtomicWriteU32(&State.cShots, State.cShots);
629 for (uint32_t i = 0; i < 1000 && ASMAtomicUoReadU32(&State.cShots) < 10; i++)
632 RTR0TESTR0_CHECK_MSG_BREAK(ASMAtomicUoReadU32(&State.cShots) == 10, ("cShots=%u\n", State.cShots));
655 ASMAtomicWriteU32(&State.cShots, State.cShots); /* ordered, necessary? */
658 for (uint32_t k = 0; k < 1000 && ASMAtomicUoReadU32(&State.cShots) < 2; k++)
672 State.cShots = 0;
693 ASMAtomicWriteU32(&State.cShots, State.cShots);
712 && ASMAtomicReadU32(&State.cShots) <= State.iActionShot
737 ASMAtomicWriteU32(&State.cShots, State.cShots);
751 ASMAtomicWriteU32(&State.cShots, 0);
754 for (uint32_t j = 0; j < 1000 && ASMAtomicUoReadU32(&State.cShots) < 8; j++)
758 RTR0TESTR0_CHECK_MSG_BREAK(ASMAtomicReadU32(&State.cShots) > 5,
759 ("cShots=%u iCpu=%u i=%u iCurCpu=%u cNsElapsed=%'llu\n",
760 State.cShots, iCpu, i, RTMpCpuIdToSetIndex(RTMpCpuId()), cNsElapsed));