Home
last modified time | relevance | path

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

/mm/
Dpage-writeback.c60 #define RATELIMIT_CALC_SHIFT 10 macro
582 x = div64_s64(((s64)setpoint - (s64)dirty) << RATELIMIT_CALC_SHIFT, in pos_ratio_polynom()
585 pos_ratio = pos_ratio * x >> RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
586 pos_ratio = pos_ratio * x >> RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
587 pos_ratio += 1 << RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
589 return clamp(pos_ratio, 0LL, 2LL << RATELIMIT_CALC_SHIFT); in pos_ratio_polynom()
726 2 << RATELIMIT_CALC_SHIFT); in bdi_position_ratio()
983 pos_ratio >> RATELIMIT_CALC_SHIFT; in bdi_update_dirty_ratelimit()
1431 RATELIMIT_CALC_SHIFT; in balance_dirty_pages()