Lines Matching refs:ssp
55 void synchronize_srcu(struct srcu_struct *ssp);
63 static inline int __srcu_read_lock(struct srcu_struct *ssp)
67 idx = ((READ_ONCE(ssp->srcu_idx) + 1) & 0x2) >> 1;
68 WRITE_ONCE(ssp->srcu_lock_nesting[idx], READ_ONCE(ssp->srcu_lock_nesting[idx]) + 1);
72 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp)
74 synchronize_srcu(ssp);
77 static inline void srcu_barrier(struct srcu_struct *ssp)
79 synchronize_srcu(ssp);
83 static inline void srcu_torture_stats_print(struct srcu_struct *ssp,
88 idx = ((data_race(READ_ONCE(ssp->srcu_idx)) + 1) & 0x2) >> 1;
91 data_race(READ_ONCE(ssp->srcu_lock_nesting[!idx])),
92 data_race(READ_ONCE(ssp->srcu_lock_nesting[idx])),
93 data_race(READ_ONCE(ssp->srcu_idx)),
94 data_race(READ_ONCE(ssp->srcu_idx_max)));