Searched refs:srcu_ctlp (Results 1 – 3 of 3) sorted by relevance
190 static struct srcu_struct *srcu_ctlp = &srcu_ctl_scale; variable192 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 …]
178 static struct srcu_struct *srcu_ctlp = &srcu_refctl_scale; variable186 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()
617 static struct srcu_struct *srcu_ctlp = &srcu_ctl; variable619 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()[all …]