Lines Matching refs:srcu_ctl
509 static struct srcu_struct srcu_ctl;
513 init_srcu_struct(&srcu_ctl);
519 synchronize_srcu(&srcu_ctl);
520 cleanup_srcu_struct(&srcu_ctl);
523 static int srcu_torture_read_lock(void) __acquires(&srcu_ctl)
525 return srcu_read_lock(&srcu_ctl);
541 static void srcu_torture_read_unlock(int idx) __releases(&srcu_ctl)
543 srcu_read_unlock(&srcu_ctl, idx);
548 return srcu_batches_completed(&srcu_ctl);
553 synchronize_srcu(&srcu_ctl);
560 int idx = srcu_ctl.completed & 0x1;
566 per_cpu_ptr(srcu_ctl.per_cpu_ref, cpu)->c[!idx],
567 per_cpu_ptr(srcu_ctl.per_cpu_ref, cpu)->c[idx]);
589 synchronize_srcu_expedited(&srcu_ctl);
804 srcu_read_lock_held(&srcu_ctl));
865 srcu_read_lock_held(&srcu_ctl));