Home
last modified time | relevance | path

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

/linux-6.3-rc2/block/
A Dblk-cgroup-rwstat.c16 percpu_counter_destroy(&rwstat->cpu_cnt[i]); in blkg_rwstat_init()
19 atomic64_set(&rwstat->aux_cnt[i], 0); in blkg_rwstat_init()
30 percpu_counter_destroy(&rwstat->cpu_cnt[i]); in blkg_rwstat_exit()
43 const struct blkg_rwstat_sample *rwstat) in __blkg_prfill_rwstat() argument
61 rwstat->cnt[i]); in __blkg_prfill_rwstat()
63 v = rwstat->cnt[BLKG_RWSTAT_READ] + in __blkg_prfill_rwstat()
64 rwstat->cnt[BLKG_RWSTAT_WRITE] + in __blkg_prfill_rwstat()
65 rwstat->cnt[BLKG_RWSTAT_DISCARD]; in __blkg_prfill_rwstat()
82 struct blkg_rwstat_sample rwstat = { }; in blkg_prfill_rwstat() local
115 struct blkg_rwstat *rwstat; in blkg_rwstat_recursive_sum() local
[all …]
A Dblk-cgroup-rwstat.h38 return atomic64_read(&rwstat->aux_cnt[idx]) + in blkg_rwstat_read_counter()
43 void blkg_rwstat_exit(struct blkg_rwstat *rwstat);
45 const struct blkg_rwstat_sample *rwstat);
67 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_DISCARD]; in blkg_rwstat_add()
69 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_WRITE]; in blkg_rwstat_add()
71 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_READ]; in blkg_rwstat_add()
76 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_SYNC]; in blkg_rwstat_add()
78 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_ASYNC]; in blkg_rwstat_add()
111 blkg_rwstat_read(rwstat, &tmp); in blkg_rwstat_total()
124 percpu_counter_set(&rwstat->cpu_cnt[i], 0); in blkg_rwstat_reset()
[all …]
A DMakefile18 obj-$(CONFIG_BLK_CGROUP_RWSTAT) += blk-cgroup-rwstat.o

Completed in 5 milliseconds