Lines Matching defs:blkg_rwstat
26 struct blkg_rwstat {
35 static inline u64 blkg_rwstat_read_counter(struct blkg_rwstat *rwstat,
42 int blkg_rwstat_init(struct blkg_rwstat *rwstat, gfp_t gfp);
43 void blkg_rwstat_exit(struct blkg_rwstat *rwstat);
53 * blkg_rwstat_add - add a value to a blkg_rwstat
54 * @rwstat: target blkg_rwstat
61 static inline void blkg_rwstat_add(struct blkg_rwstat *rwstat,
84 * blkg_rwstat_read - read the current values of a blkg_rwstat
85 * @rwstat: blkg_rwstat to read
89 static inline void blkg_rwstat_read(struct blkg_rwstat *rwstat,
100 * blkg_rwstat_total - read the total count of a blkg_rwstat
101 * @rwstat: blkg_rwstat to read
107 static inline uint64_t blkg_rwstat_total(struct blkg_rwstat *rwstat)
116 * blkg_rwstat_reset - reset a blkg_rwstat
117 * @rwstat: blkg_rwstat to reset
119 static inline void blkg_rwstat_reset(struct blkg_rwstat *rwstat)
130 * blkg_rwstat_add_aux - add a blkg_rwstat into another's aux count
131 * @to: the destination blkg_rwstat
136 static inline void blkg_rwstat_add_aux(struct blkg_rwstat *to,
137 struct blkg_rwstat *from)