Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dpage-writeback.c1030 unsigned long x_intercept; in wb_position_ratio() local
1177 x_intercept = wb_setpoint + span; in wb_position_ratio()
1179 if (dtc->wb_dirty < x_intercept - span / 4) { in wb_position_ratio()
1180 pos_ratio = div64_u64(pos_ratio * (x_intercept - dtc->wb_dirty), in wb_position_ratio()
1181 (x_intercept - wb_setpoint) | 1); in wb_position_ratio()
1190 x_intercept = wb_thresh / 2; in wb_position_ratio()
1191 if (dtc->wb_dirty < x_intercept) { in wb_position_ratio()
1192 if (dtc->wb_dirty > x_intercept / 8) in wb_position_ratio()
1193 pos_ratio = div_u64(pos_ratio * x_intercept, in wb_position_ratio()