Home
last modified time | relevance | path

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

/linux/kernel/rcu/
H A Dsrcutiny.c34 ssp->srcu_lock_nesting[0] = 0; in init_srcu_struct_fields()
35 ssp->srcu_lock_nesting[1] = 0; in init_srcu_struct_fields()
88 WARN_ON(ssp->srcu_lock_nesting[0] || ssp->srcu_lock_nesting[1]); in cleanup_srcu_struct()
109 newval = READ_ONCE(ssp->srcu_lock_nesting[idx]) - 1; in __srcu_read_unlock()
110 WRITE_ONCE(ssp->srcu_lock_nesting[idx], newval); in __srcu_read_unlock()
151 !READ_ONCE(ssp->srcu_lock_nesting[idx]), HZ / 10); in srcu_drive_gp()
152 } while (READ_ONCE(ssp->srcu_lock_nesting[idx])); in srcu_drive_gp()
/linux/include/linux/
H A Dsrcutiny.h18 short srcu_lock_nesting[2]; /* srcu_read_lock() nesting depth. */ member
86 WRITE_ONCE(ssp->srcu_lock_nesting[idx], READ_ONCE(ssp->srcu_lock_nesting[idx]) + 1); in __srcu_read_lock()
151 data_race(READ_ONCE(ssp->srcu_lock_nesting[!idx])), in srcu_torture_stats_print()
152 data_race(READ_ONCE(ssp->srcu_lock_nesting[idx])), in srcu_torture_stats_print()