Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dpage-writeback.c141 unsigned long pos_ratio; member
980 long long pos_ratio; in pos_ratio_polynom() local
985 pos_ratio = x; in pos_ratio_polynom()
986 pos_ratio = pos_ratio * x >> RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
987 pos_ratio = pos_ratio * x >> RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
988 pos_ratio += 1 << RATELIMIT_CALC_SHIFT; in pos_ratio_polynom()
990 return clamp(pos_ratio, 0LL, 2LL << RATELIMIT_CALC_SHIFT); in pos_ratio_polynom()
1079 long long pos_ratio; /* for scaling up/down the rate limit */ in wb_position_ratio() local
1082 dtc->pos_ratio = 0; in wb_position_ratio()
1093 pos_ratio = pos_ratio_polynom(setpoint, dtc->dirty, limit); in wb_position_ratio()
[all …]