Home
last modified time | relevance | path

Searched refs:cache_stats (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dstats.h14 struct cache_stats { struct
34 struct cache_stats total;
35 struct cache_stats five_minute;
36 struct cache_stats hour;
37 struct cache_stats day;
H A Dstats.c32 * To reduce rounding error, the numbers in struct cache_stats are all
54 struct cache_stats *s = in SHOW()
55 container_of(kobj, struct cache_stats, kobj); in SHOW()
137 static void scale_stats(struct cache_stats *stats, unsigned long rescale_at) in scale_stats()
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dstats.h15 struct cache_stats { struct
36 struct cache_stats total;
37 struct cache_stats five_minute;
38 struct cache_stats hour;
39 struct cache_stats day;
H A Dstats.c32 * To reduce rounding error, the numbers in struct cache_stats are all
55 struct cache_stats *s = in SHOW()
56 container_of(kobj, struct cache_stats, kobj); in SHOW()
140 static void scale_stats(struct cache_stats *stats, unsigned long rescale_at) in scale_stats()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-cache-policy-smq.c828 struct stats cache_stats; member
1037 unsigned hits = mq->cache_stats.hits; in default_promote_level()
1038 unsigned misses = mq->cache_stats.misses; in default_promote_level()
1117 stats_reset(&mq->cache_stats); in end_cache_period()
1382 stats_level_accessed(&mq->cache_stats, e->level); in __lookup()
1389 stats_miss(&mq->cache_stats); in __lookup()
1795 stats_init(&mq->cache_stats, NR_CACHE_LEVELS); in __smq_create()
H A Ddm-cache-target.c352 struct cache_stats { struct
459 struct cache_stats stats;
1036 static void update_stats(struct cache_stats *stats, enum policy_operation op) in update_stats()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-cache-policy-smq.c831 struct stats cache_stats; member
1042 unsigned int hits = mq->cache_stats.hits; in default_promote_level()
1043 unsigned int misses = mq->cache_stats.misses; in default_promote_level()
1122 stats_reset(&mq->cache_stats); in end_cache_period()
1387 stats_level_accessed(&mq->cache_stats, e->level); in __lookup()
1394 stats_miss(&mq->cache_stats); in __lookup()
1801 stats_init(&mq->cache_stats, NR_CACHE_LEVELS); in __smq_create()
H A Ddm-cache-target.c283 struct cache_stats { struct
390 struct cache_stats stats;
969 static void update_stats(struct cache_stats *stats, enum policy_operation op) in update_stats()

Completed in 16 milliseconds