Home
last modified time | relevance | path

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

/linux-6.12.1/block/
Dblk-cgroup-rwstat.h18 BLKG_RWSTAT_NR, enumerator
19 BLKG_RWSTAT_TOTAL = BLKG_RWSTAT_NR,
27 struct percpu_counter cpu_cnt[BLKG_RWSTAT_NR];
28 atomic64_t aux_cnt[BLKG_RWSTAT_NR];
32 u64 cnt[BLKG_RWSTAT_NR];
94 for (i = 0; i < BLKG_RWSTAT_NR; i++) in blkg_rwstat_read()
123 for (i = 0; i < BLKG_RWSTAT_NR; i++) { in blkg_rwstat_reset()
139 u64 sum[BLKG_RWSTAT_NR]; in blkg_rwstat_add_aux()
142 for (i = 0; i < BLKG_RWSTAT_NR; i++) in blkg_rwstat_add_aux()
145 for (i = 0; i < BLKG_RWSTAT_NR; i++) in blkg_rwstat_add_aux()
Dblk-cgroup-rwstat.c12 ret = percpu_counter_init_many(rwstat->cpu_cnt, 0, gfp, BLKG_RWSTAT_NR); in blkg_rwstat_init()
16 for (i = 0; i < BLKG_RWSTAT_NR; i++) in blkg_rwstat_init()
24 percpu_counter_destroy_many(rwstat->cpu_cnt, BLKG_RWSTAT_NR); in blkg_rwstat_exit()
53 for (i = 0; i < BLKG_RWSTAT_NR; i++) in __blkg_prfill_rwstat()
119 for (i = 0; i < BLKG_RWSTAT_NR; i++) in blkg_rwstat_recursive_sum()