• Home
  • Raw
  • Download

Lines Matching refs:syncp

73 #define u64_stats_init(syncp)	seqcount_init(&(syncp)->seq)  argument
75 static inline void u64_stats_init(struct u64_stats_sync *syncp) in u64_stats_init() argument
80 static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) in u64_stats_update_begin() argument
83 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin()
87 static inline void u64_stats_update_end(struct u64_stats_sync *syncp) in u64_stats_update_end() argument
90 write_seqcount_end(&syncp->seq); in u64_stats_update_end()
95 u64_stats_update_begin_irqsave(struct u64_stats_sync *syncp) in u64_stats_update_begin_irqsave() argument
101 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin_irqsave()
107 u64_stats_update_end_irqrestore(struct u64_stats_sync *syncp, in u64_stats_update_end_irqrestore() argument
111 write_seqcount_end(&syncp->seq); in u64_stats_update_end_irqrestore()
116 static inline unsigned int __u64_stats_fetch_begin(const struct u64_stats_sync *syncp) in __u64_stats_fetch_begin() argument
119 return read_seqcount_begin(&syncp->seq); in __u64_stats_fetch_begin()
125 static inline unsigned int u64_stats_fetch_begin(const struct u64_stats_sync *syncp) in u64_stats_fetch_begin() argument
130 return __u64_stats_fetch_begin(syncp); in u64_stats_fetch_begin()
133 static inline bool __u64_stats_fetch_retry(const struct u64_stats_sync *syncp, in __u64_stats_fetch_retry() argument
137 return read_seqcount_retry(&syncp->seq, start); in __u64_stats_fetch_retry()
143 static inline bool u64_stats_fetch_retry(const struct u64_stats_sync *syncp, in u64_stats_fetch_retry() argument
149 return __u64_stats_fetch_retry(syncp, start); in u64_stats_fetch_retry()
158 static inline unsigned int u64_stats_fetch_begin_irq(const struct u64_stats_sync *syncp) in u64_stats_fetch_begin_irq() argument
163 return __u64_stats_fetch_begin(syncp); in u64_stats_fetch_begin_irq()
166 static inline bool u64_stats_fetch_retry_irq(const struct u64_stats_sync *syncp, in u64_stats_fetch_retry_irq() argument
172 return __u64_stats_fetch_retry(syncp, start); in u64_stats_fetch_retry_irq()