Lines Matching refs:srcu_ctlp
617 static struct srcu_struct *srcu_ctlp = &srcu_ctl; variable
619 static int srcu_torture_read_lock(void) __acquires(srcu_ctlp) in srcu_torture_read_lock()
621 return srcu_read_lock(srcu_ctlp); in srcu_torture_read_lock()
643 static void srcu_torture_read_unlock(int idx) __releases(srcu_ctlp) in srcu_torture_read_unlock()
645 srcu_read_unlock(srcu_ctlp, idx); in srcu_torture_read_unlock()
650 return srcu_read_lock_held(srcu_ctlp); in torture_srcu_read_lock_held()
655 return srcu_batches_completed(srcu_ctlp); in srcu_torture_completed()
660 call_srcu(srcu_ctlp, &rp->rtort_rcu, rcu_torture_cb); in srcu_torture_deferred_free()
665 synchronize_srcu(srcu_ctlp); in srcu_torture_synchronize()
670 return get_state_synchronize_srcu(srcu_ctlp); in srcu_torture_get_gp_state()
675 return start_poll_synchronize_srcu(srcu_ctlp); in srcu_torture_start_gp_poll()
680 return poll_state_synchronize_srcu(srcu_ctlp, oldstate); in srcu_torture_poll_gp_state()
686 call_srcu(srcu_ctlp, head, func); in srcu_torture_call()
691 srcu_barrier(srcu_ctlp); in srcu_torture_barrier()
696 srcu_torture_stats_print(srcu_ctlp, torture_type, TORTURE_FLAG); in srcu_torture_stats()
701 synchronize_srcu_expedited(srcu_ctlp); in srcu_torture_synchronize_expedited()
731 srcu_ctlp = &srcu_ctld; in srcu_torture_init()
737 srcu_ctlp = &srcu_ctl; /* In case of a later rcutorture run. */ in srcu_torture_cleanup()
2216 srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp, in rcu_torture_stats_print()
3290 srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp, &flags, &gp_seq); in rcu_torture_cleanup()
3472 srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp, &flags, &gp_seq); in rcu_torture_init()