Home
last modified time | relevance | path

Searched refs:srcu_ctlp (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/kernel/rcu/
Drcuperf.c227 static struct srcu_struct *srcu_ctlp = &srcu_ctl_perf; variable
229 static int srcu_perf_read_lock(void) __acquires(srcu_ctlp) in srcu_perf_read_lock()
231 return srcu_read_lock(srcu_ctlp); in srcu_perf_read_lock()
234 static void srcu_perf_read_unlock(int idx) __releases(srcu_ctlp) in srcu_perf_read_unlock()
236 srcu_read_unlock(srcu_ctlp, idx); in srcu_perf_read_unlock()
241 return srcu_batches_completed(srcu_ctlp); in srcu_perf_completed()
246 call_srcu(srcu_ctlp, head, func); in srcu_call_rcu()
251 srcu_barrier(srcu_ctlp); in srcu_rcu_barrier()
256 synchronize_srcu(srcu_ctlp); in srcu_perf_synchronize()
261 synchronize_srcu_expedited(srcu_ctlp); in srcu_perf_synchronize_expedited()
[all …]
Drcutorture.c527 static struct srcu_struct *srcu_ctlp = &srcu_ctl; variable
529 static int srcu_torture_read_lock(void) __acquires(srcu_ctlp) in srcu_torture_read_lock()
531 return srcu_read_lock(srcu_ctlp); in srcu_torture_read_lock()
550 static void srcu_torture_read_unlock(int idx) __releases(srcu_ctlp) in srcu_torture_read_unlock()
552 srcu_read_unlock(srcu_ctlp, idx); in srcu_torture_read_unlock()
557 return srcu_batches_completed(srcu_ctlp); in srcu_torture_completed()
562 call_srcu(srcu_ctlp, &rp->rtort_rcu, rcu_torture_cb); in srcu_torture_deferred_free()
567 synchronize_srcu(srcu_ctlp); in srcu_torture_synchronize()
573 call_srcu(srcu_ctlp, head, func); in srcu_torture_call()
578 srcu_barrier(srcu_ctlp); in srcu_torture_barrier()
[all …]