Searched refs:srcu_lock_nesting (Results 1 – 2 of 2) sorted by relevance
30 short srcu_lock_nesting[2]; /* srcu_read_lock() nesting depth. */ member76 WRITE_ONCE(sp->srcu_lock_nesting[idx], sp->srcu_lock_nesting[idx] + 1); in __srcu_read_lock()99 READ_ONCE(sp->srcu_lock_nesting[!idx]), in srcu_torture_stats_print()100 READ_ONCE(sp->srcu_lock_nesting[idx])); in srcu_torture_stats_print()
40 sp->srcu_lock_nesting[0] = 0; in init_srcu_struct_fields()41 sp->srcu_lock_nesting[1] = 0; in init_srcu_struct_fields()91 WARN_ON(sp->srcu_lock_nesting[0] || sp->srcu_lock_nesting[1]); in _cleanup_srcu_struct()109 int newval = sp->srcu_lock_nesting[idx] - 1; in __srcu_read_unlock()111 WRITE_ONCE(sp->srcu_lock_nesting[idx], newval); in __srcu_read_unlock()143 swait_event_exclusive(sp->srcu_wq, !READ_ONCE(sp->srcu_lock_nesting[idx])); in srcu_drive_gp()