Home
last modified time | relevance | path

Searched refs:ewma_add (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/md/bcache/
H A Dutil.c178 ewma_add(stats->average_duration, duration, 8, 8); in bch_time_stats_update()
181 ewma_add(stats->average_frequency, last, 8, 8); in bch_time_stats_update()
H A Dstats.c134 *stat = ewma_add(*stat, 0, accounting_weight, 0); in scale_stat()
H A Dutil.h346 #define ewma_add(ewma, val, weight, factor) \ macro
H A Drequest.c352 ewma_add(t->sequential_io_avg, in add_sequential()
/linux/fs/bcachefs/
H A Dutil.h222 #define ewma_add(ewma, val, weight) \ macro
H A Dutil.c551 derivative = ewma_add(pd->smoothed_derivative, derivative, in bch2_pd_controller_update()
H A Dio_write.c85 new = ewma_add(old, io_latency, 5); in bch2_latency_acct()