Lines Matching refs:syncp
72 # define u64_stats_init(syncp) seqcount_init(syncp.seq) argument
74 # define u64_stats_init(syncp) do { } while (0) argument
77 static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) in u64_stats_update_begin() argument
80 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin()
84 static inline void u64_stats_update_end(struct u64_stats_sync *syncp) in u64_stats_update_end() argument
87 write_seqcount_end(&syncp->seq); in u64_stats_update_end()
91 static inline unsigned int u64_stats_fetch_begin(const struct u64_stats_sync *syncp) in u64_stats_fetch_begin() argument
94 return read_seqcount_begin(&syncp->seq); in u64_stats_fetch_begin()
103 static inline bool u64_stats_fetch_retry(const struct u64_stats_sync *syncp, in u64_stats_fetch_retry() argument
107 return read_seqcount_retry(&syncp->seq, start); in u64_stats_fetch_retry()
122 static inline unsigned int u64_stats_fetch_begin_irq(const struct u64_stats_sync *syncp) in u64_stats_fetch_begin_irq() argument
125 return read_seqcount_begin(&syncp->seq); in u64_stats_fetch_begin_irq()
134 static inline bool u64_stats_fetch_retry_irq(const struct u64_stats_sync *syncp, in u64_stats_fetch_retry_irq() argument
138 return read_seqcount_retry(&syncp->seq, start); in u64_stats_fetch_retry_irq()