Lines Matching full:ssp
55 void synchronize_srcu(struct srcu_struct *ssp);
63 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock() argument
68 idx = ((READ_ONCE(ssp->srcu_idx) + 1) & 0x2) >> 1; in __srcu_read_lock()
69 WRITE_ONCE(ssp->srcu_lock_nesting[idx], READ_ONCE(ssp->srcu_lock_nesting[idx]) + 1); in __srcu_read_lock()
74 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp) in synchronize_srcu_expedited() argument
76 synchronize_srcu(ssp); in synchronize_srcu_expedited()
79 static inline void srcu_barrier(struct srcu_struct *ssp) in srcu_barrier() argument
81 synchronize_srcu(ssp); in srcu_barrier()
85 static inline void srcu_torture_stats_print(struct srcu_struct *ssp, in srcu_torture_stats_print() argument
90 idx = ((data_race(READ_ONCE(ssp->srcu_idx)) + 1) & 0x2) >> 1; in srcu_torture_stats_print()
93 data_race(READ_ONCE(ssp->srcu_lock_nesting[!idx])), in srcu_torture_stats_print()
94 data_race(READ_ONCE(ssp->srcu_lock_nesting[idx])), in srcu_torture_stats_print()
95 data_race(READ_ONCE(ssp->srcu_idx)), in srcu_torture_stats_print()
96 data_race(READ_ONCE(ssp->srcu_idx_max))); in srcu_torture_stats_print()