Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dpage-writeback.c896 unsigned long x_intercept; in wb_position_ratio() local
1043 x_intercept = wb_setpoint + span; in wb_position_ratio()
1045 if (dtc->wb_dirty < x_intercept - span / 4) { in wb_position_ratio()
1046 pos_ratio = div64_u64(pos_ratio * (x_intercept - dtc->wb_dirty), in wb_position_ratio()
1047 (x_intercept - wb_setpoint) | 1); in wb_position_ratio()
1056 x_intercept = wb_thresh / 2; in wb_position_ratio()
1057 if (dtc->wb_dirty < x_intercept) { in wb_position_ratio()
1058 if (dtc->wb_dirty > x_intercept / 8) in wb_position_ratio()
1059 pos_ratio = div_u64(pos_ratio * x_intercept, in wb_position_ratio()