Lines Matching full:ssp
51 void synchronize_srcu(struct srcu_struct *ssp);
59 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock() argument
63 idx = ((READ_ONCE(ssp->srcu_idx) + 1) & 0x2) >> 1; in __srcu_read_lock()
64 WRITE_ONCE(ssp->srcu_lock_nesting[idx], READ_ONCE(ssp->srcu_lock_nesting[idx]) + 1); in __srcu_read_lock()
68 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp) in synchronize_srcu_expedited() argument
70 synchronize_srcu(ssp); in synchronize_srcu_expedited()
73 static inline void srcu_barrier(struct srcu_struct *ssp) in srcu_barrier() argument
75 synchronize_srcu(ssp); in srcu_barrier()
79 static inline void srcu_torture_stats_print(struct srcu_struct *ssp, in srcu_torture_stats_print() argument
84 idx = ((data_race(READ_ONCE(ssp->srcu_idx)) + 1) & 0x2) >> 1; in srcu_torture_stats_print()
87 data_race(READ_ONCE(ssp->srcu_lock_nesting[!idx])), in srcu_torture_stats_print()
88 data_race(READ_ONCE(ssp->srcu_lock_nesting[idx])), in srcu_torture_stats_print()
89 data_race(READ_ONCE(ssp->srcu_idx)), in srcu_torture_stats_print()
90 data_race(READ_ONCE(ssp->srcu_idx_max))); in srcu_torture_stats_print()