Home
last modified time | relevance | path

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

/kernel/rcu/
Drcuperf.c190 static struct srcu_struct *srcu_ctlp = &srcu_ctl_perf; variable
192 static int srcu_perf_read_lock(void) __acquires(srcu_ctlp) in srcu_perf_read_lock()
194 return srcu_read_lock(srcu_ctlp); in srcu_perf_read_lock()
197 static void srcu_perf_read_unlock(int idx) __releases(srcu_ctlp) in srcu_perf_read_unlock()
199 srcu_read_unlock(srcu_ctlp, idx); in srcu_perf_read_unlock()
204 return srcu_batches_completed(srcu_ctlp); in srcu_perf_completed()
209 call_srcu(srcu_ctlp, head, func); in srcu_call_rcu()
214 srcu_barrier(srcu_ctlp); in srcu_rcu_barrier()
219 synchronize_srcu(srcu_ctlp); in srcu_perf_synchronize()
224 synchronize_srcu_expedited(srcu_ctlp); in srcu_perf_synchronize_expedited()
[all …]
Drcutorture.c512 static struct srcu_struct *srcu_ctlp = &srcu_ctl; variable
514 static int srcu_torture_read_lock(void) __acquires(srcu_ctlp) in srcu_torture_read_lock()
516 return srcu_read_lock(srcu_ctlp); in srcu_torture_read_lock()
538 static void srcu_torture_read_unlock(int idx) __releases(srcu_ctlp) in srcu_torture_read_unlock()
540 srcu_read_unlock(srcu_ctlp, idx); in srcu_torture_read_unlock()
545 return srcu_batches_completed(srcu_ctlp); in srcu_torture_completed()
550 call_srcu(srcu_ctlp, &rp->rtort_rcu, rcu_torture_cb); in srcu_torture_deferred_free()
555 synchronize_srcu(srcu_ctlp); in srcu_torture_synchronize()
561 call_srcu(srcu_ctlp, head, func); in srcu_torture_call()
566 srcu_barrier(srcu_ctlp); in srcu_torture_barrier()
[all …]