Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/rcu/
Drcuscale.c190 static struct srcu_struct *srcu_ctlp = &srcu_ctl_scale; variable
192 static int srcu_scale_read_lock(void) __acquires(srcu_ctlp) in srcu_scale_read_lock()
194 return srcu_read_lock(srcu_ctlp); in srcu_scale_read_lock()
197 static void srcu_scale_read_unlock(int idx) __releases(srcu_ctlp) in srcu_scale_read_unlock()
199 srcu_read_unlock(srcu_ctlp, idx); in srcu_scale_read_unlock()
204 return srcu_batches_completed(srcu_ctlp); in srcu_scale_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_scale_synchronize()
224 synchronize_srcu_expedited(srcu_ctlp); in srcu_scale_synchronize_expedited()
[all …]
Drcutorture.c573 static struct srcu_struct *srcu_ctlp = &srcu_ctl; variable
575 static int srcu_torture_read_lock(void) __acquires(srcu_ctlp) in srcu_torture_read_lock()
577 return srcu_read_lock(srcu_ctlp); in srcu_torture_read_lock()
599 static void srcu_torture_read_unlock(int idx) __releases(srcu_ctlp) in srcu_torture_read_unlock()
601 srcu_read_unlock(srcu_ctlp, idx); in srcu_torture_read_unlock()
606 return srcu_read_lock_held(srcu_ctlp); in torture_srcu_read_lock_held()
611 return srcu_batches_completed(srcu_ctlp); in srcu_torture_completed()
616 call_srcu(srcu_ctlp, &rp->rtort_rcu, rcu_torture_cb); in srcu_torture_deferred_free()
621 synchronize_srcu(srcu_ctlp); in srcu_torture_synchronize()
626 return get_state_synchronize_srcu(srcu_ctlp); in srcu_torture_get_gp_state()
[all …]
Drefscale.c178 static struct srcu_struct *srcu_ctlp = &srcu_refctl_scale; variable
186 idx = srcu_read_lock(srcu_ctlp); in srcu_ref_scale_read_section()
187 srcu_read_unlock(srcu_ctlp, idx); in srcu_ref_scale_read_section()
197 idx = srcu_read_lock(srcu_ctlp); in srcu_ref_scale_delay_section()
199 srcu_read_unlock(srcu_ctlp, idx); in srcu_ref_scale_delay_section()