Lines Matching refs:syncp

118 static inline void u64_stats_init(struct u64_stats_sync *syncp)  in u64_stats_init()  argument
121 seqcount_init(&syncp->seq); in u64_stats_init()
125 static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) in u64_stats_update_begin() argument
128 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin()
132 static inline void u64_stats_update_end(struct u64_stats_sync *syncp) in u64_stats_update_end() argument
135 write_seqcount_end(&syncp->seq); in u64_stats_update_end()
140 u64_stats_update_begin_irqsave(struct u64_stats_sync *syncp) in u64_stats_update_begin_irqsave() argument
146 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin_irqsave()
152 u64_stats_update_end_irqrestore(struct u64_stats_sync *syncp, in u64_stats_update_end_irqrestore() argument
156 write_seqcount_end(&syncp->seq); in u64_stats_update_end_irqrestore()
161 static inline unsigned int __u64_stats_fetch_begin(const struct u64_stats_sync *syncp) in __u64_stats_fetch_begin() argument
164 return read_seqcount_begin(&syncp->seq); in __u64_stats_fetch_begin()
170 static inline unsigned int u64_stats_fetch_begin(const struct u64_stats_sync *syncp) in u64_stats_fetch_begin() argument
175 return __u64_stats_fetch_begin(syncp); in u64_stats_fetch_begin()
178 static inline bool __u64_stats_fetch_retry(const struct u64_stats_sync *syncp, in __u64_stats_fetch_retry() argument
182 return read_seqcount_retry(&syncp->seq, start); in __u64_stats_fetch_retry()
188 static inline bool u64_stats_fetch_retry(const struct u64_stats_sync *syncp, in u64_stats_fetch_retry() argument
194 return __u64_stats_fetch_retry(syncp, start); in u64_stats_fetch_retry()
203 static inline unsigned int u64_stats_fetch_begin_irq(const struct u64_stats_sync *syncp) in u64_stats_fetch_begin_irq() argument
208 return __u64_stats_fetch_begin(syncp); in u64_stats_fetch_begin_irq()
211 static inline bool u64_stats_fetch_retry_irq(const struct u64_stats_sync *syncp, in u64_stats_fetch_retry_irq() argument
217 return __u64_stats_fetch_retry(syncp, start); in u64_stats_fetch_retry_irq()