Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dpage-writeback.c61 #define RATELIMIT_CALC_SHIFT 10 macro
808 x = div64_s64(((s64)setpoint - (s64)dirty) << RATELIMIT_CALC_SHIFT, in pos_ratio_polynom()
811 pos_ratio = pos_ratio * x >> RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
812 pos_ratio = pos_ratio * x >> RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
813 pos_ratio += 1 << RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
815 return clamp(pos_ratio, 0LL, 2LL << RATELIMIT_CALC_SHIFT); in pos_ratio_polynom()
950 2 << RATELIMIT_CALC_SHIFT); in wb_position_ratio()
1204 dtc->pos_ratio >> RATELIMIT_CALC_SHIFT; in wb_update_dirty_ratelimit()
1724 RATELIMIT_CALC_SHIFT; in balance_dirty_pages()