Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dpage-writeback.c60 #define RATELIMIT_CALC_SHIFT 10 macro
804 x = div64_s64(((s64)setpoint - (s64)dirty) << RATELIMIT_CALC_SHIFT, in pos_ratio_polynom()
807 pos_ratio = pos_ratio * x >> RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
808 pos_ratio = pos_ratio * x >> RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
809 pos_ratio += 1 << RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
811 return clamp(pos_ratio, 0LL, 2LL << RATELIMIT_CALC_SHIFT); in pos_ratio_polynom()
946 2 << RATELIMIT_CALC_SHIFT); in wb_position_ratio()
1200 dtc->pos_ratio >> RATELIMIT_CALC_SHIFT; in wb_update_dirty_ratelimit()
1743 RATELIMIT_CALC_SHIFT; in balance_dirty_pages()