Lines Matching refs:syncp
71 static inline void u64_stats_init(struct u64_stats_sync *syncp) in u64_stats_init() argument
74 seqcount_init(&syncp->seq); in u64_stats_init()
78 static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) in u64_stats_update_begin() argument
81 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin()
85 static inline void u64_stats_update_end(struct u64_stats_sync *syncp) in u64_stats_update_end() argument
88 write_seqcount_end(&syncp->seq); in u64_stats_update_end()
92 static inline unsigned int u64_stats_fetch_begin(const struct u64_stats_sync *syncp) in u64_stats_fetch_begin() argument
95 return read_seqcount_begin(&syncp->seq); in u64_stats_fetch_begin()
104 static inline bool u64_stats_fetch_retry(const struct u64_stats_sync *syncp, in u64_stats_fetch_retry() argument
108 return read_seqcount_retry(&syncp->seq, start); in u64_stats_fetch_retry()
123 static inline unsigned int u64_stats_fetch_begin_irq(const struct u64_stats_sync *syncp) in u64_stats_fetch_begin_irq() argument
126 return read_seqcount_begin(&syncp->seq); in u64_stats_fetch_begin_irq()
135 static inline bool u64_stats_fetch_retry_irq(const struct u64_stats_sync *syncp, in u64_stats_fetch_retry_irq() argument
139 return read_seqcount_retry(&syncp->seq, start); in u64_stats_fetch_retry_irq()