Lines Matching refs:rp
322 struct rcu_torture *rp = container_of(p, struct rcu_torture, rtort_rcu);
329 i = rp->rtort_pipe_count;
333 if (++rp->rtort_pipe_count >= RCU_TORTURE_PIPE_LEN) {
334 rp->rtort_mbtest = 0;
335 rcu_torture_free(rp);
337 cur_ops->deferred_free(rp);
369 struct rcu_torture *rp;
374 list_for_each_entry_safe(rp, rp1, &rcu_torture_removed, rtort_free) {
375 i = rp->rtort_pipe_count;
379 if (++rp->rtort_pipe_count >= RCU_TORTURE_PIPE_LEN) {
380 rp->rtort_mbtest = 0;
381 list_del(&rp->rtort_free);
382 rcu_torture_free(rp);
720 struct rcu_torture *rp;
729 rp = rcu_torture_alloc();
730 if (rp == NULL)
732 rp->rtort_pipe_count = 0;
735 rp->rtort_mbtest = 1;
736 rcu_assign_pointer(rcu_torture_current, rp);