Home
last modified time | relevance | path

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

/mm/
Dpage-writeback.c61 #define RATELIMIT_CALC_SHIFT 10 macro
819 x = div64_s64(((s64)setpoint - (s64)dirty) << RATELIMIT_CALC_SHIFT, in pos_ratio_polynom()
822 pos_ratio = pos_ratio * x >> RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
823 pos_ratio = pos_ratio * x >> RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
824 pos_ratio += 1 << RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
826 return clamp(pos_ratio, 0LL, 2LL << RATELIMIT_CALC_SHIFT); in pos_ratio_polynom()
961 2 << RATELIMIT_CALC_SHIFT); in wb_position_ratio()
1215 dtc->pos_ratio >> RATELIMIT_CALC_SHIFT; in wb_update_dirty_ratelimit()
1716 RATELIMIT_CALC_SHIFT; in balance_dirty_pages()