Lines Matching defs:rtrcp
512 struct rcu_torture_reader_check *rtrcp = READ_ONCE(rp->rtort_chkp);
514 if (rtrcp) {
516 smp_store_release(&rtrcp->rtc_ready, 1); // Pair with smp_load_acquire().
1941 struct rcu_torture_reader_check *rtrcp; // Me.
1950 rtrcp = &rcu_torture_reader_mbchk[myid];
1951 WRITE_ONCE(rtrcp->rtc_myloops, rtrcp->rtc_myloops + 1);
1959 smp_load_acquire(&rtrcp->rtc_chkrdr) < 0 && // Pairs with smp_store_release below.
1962 rtrcp->rtc_chkloops = READ_ONCE(rtrcp_chked->rtc_myloops);
1963 WARN_ON_ONCE(rtrcp->rtc_chkrdr >= 0);
1964 rtrcp->rtc_chkrdr = rdrchked;
1965 WARN_ON_ONCE(rtrcp->rtc_ready); // This gets set after the grace period ends.
1966 if (cmpxchg_relaxed(&rtrcp_chker->rtc_assigner, NULL, rtrcp) ||
1967 cmpxchg_relaxed(&rtp->rtort_chkp, NULL, rtrcp))
1968 (void)cmpxchg_relaxed(&rtrcp_chker->rtc_assigner, rtrcp, NULL); // Back out.
1972 rtrcp_assigner = READ_ONCE(rtrcp->rtc_assigner);
1985 smp_store_release(&rtrcp->rtc_assigner, NULL); // Someone else can assign us work.