Home
last modified time | relevance | path

Searched refs:rwstat (Results 1 – 2 of 2) sorted by relevance

/linux/block/
H A Dblk-cgroup-rwstat.h3 * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT.
35 static inline u64 blkg_rwstat_read_counter(struct blkg_rwstat *rwstat, in blkg_rwstat_read_counter() argument
38 return atomic64_read(&rwstat->aux_cnt[idx]) + in blkg_rwstat_read_counter()
39 percpu_counter_sum_positive(&rwstat->cpu_cnt[idx]); in blkg_rwstat_read_counter()
42 int blkg_rwstat_init(struct blkg_rwstat *rwstat, gfp_t gfp);
43 void blkg_rwstat_exit(struct blkg_rwstat *rwstat);
45 const struct blkg_rwstat_sample *rwstat);
54 * @rwstat: target blkg_rwstat
58 * Add @val to @rwstat. The counters are chosen according to @rw. The
61 static inline void blkg_rwstat_add(struct blkg_rwstat *rwstat, in blkg_rwstat_add() argument
90 blkg_rwstat_read(struct blkg_rwstat * rwstat,struct blkg_rwstat_sample * result) blkg_rwstat_read() argument
108 blkg_rwstat_total(struct blkg_rwstat * rwstat) blkg_rwstat_total() argument
120 blkg_rwstat_reset(struct blkg_rwstat * rwstat) blkg_rwstat_reset() argument
[all...]
H A DMakefile17 obj-$(CONFIG_BLK_CGROUP_RWSTAT) += blk-cgroup-rwstat.o