ewma 1188 block/blk-mq.c unsigned int ewma; ewma 1193 block/blk-mq.c ewma = hctx->dispatch_busy; ewma 1195 block/blk-mq.c if (!ewma && !busy) ewma 1198 block/blk-mq.c ewma *= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT - 1; ewma 1200 block/blk-mq.c ewma += 1 << BLK_MQ_DISPATCH_BUSY_EWMA_FACTOR; ewma 1201 block/blk-mq.c ewma /= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT; ewma 1203 block/blk-mq.c hctx->dispatch_busy = ewma; ewma 429 drivers/md/bcache/util.h #define ewma_add(ewma, val, weight, factor) \ ewma 431 drivers/md/bcache/util.h (ewma) *= (weight) - 1; \ ewma 432 drivers/md/bcache/util.h (ewma) += (val) << factor; \ ewma 433 drivers/md/bcache/util.h (ewma) /= (weight); \ ewma 434 drivers/md/bcache/util.h (ewma) >> factor; \ ewma 25 drivers/net/wireless/ralink/rt2x00/rt2x00link.c static inline int rt2x00link_get_avg_rssi(struct ewma_rssi *ewma) ewma 29 drivers/net/wireless/ralink/rt2x00/rt2x00link.c avg = ewma_rssi_read(ewma); ewma 349 include/linux/sched.h unsigned int ewma; ewma 952 kernel/sched/debug.c P(se.avg.util_est.ewma); ewma 3702 kernel/sched/fair.c return (max(ue.ewma, ue.enqueued) | UTIL_AVG_UNCHANGED); ewma 3772 kernel/sched/fair.c last_ewma_diff = ue.enqueued - ue.ewma; ewma 3801 kernel/sched/fair.c ue.ewma <<= UTIL_EST_WEIGHT_SHIFT; ewma 3802 kernel/sched/fair.c ue.ewma += last_ewma_diff; ewma 3803 kernel/sched/fair.c ue.ewma >>= UTIL_EST_WEIGHT_SHIFT;