Lines Matching refs:setpoint
958 * setpoint - dirty 3
960 * limit - setpoint
965 * (2) f(setpoint) = 1.0 => the balance point
968 * (5) the closer to setpoint, the smaller |df/dx| (and the reverse)
969 * => fast response on large errors; small oscillation near setpoint
971 static long long pos_ratio_polynom(unsigned long setpoint,
978 x = div64_s64(((s64)setpoint - (s64)dirty) << RATELIMIT_CALC_SHIFT,
979 (limit - setpoint) | 1);
994 * When the number of dirty pages is higher/lower than the setpoint, the
996 * decreased/increased to bring the dirty pages back to the setpoint.
1000 * if (dirty < setpoint) scale up pos_ratio
1001 * if (dirty > setpoint) scale down pos_ratio
1027 * freerun^ setpoint^ limit^ dirty pages
1071 unsigned long setpoint; /* dirty pages' target balance point */
1083 * global setpoint
1087 setpoint = (freerun + limit) / 2;
1088 pos_ratio = pos_ratio_polynom(setpoint, dtc->dirty, limit);
1129 * Typically, for strictlimit case, wb_setpoint << setpoint
1145 * setpoint). Now the maximum pos_ratio in the same situation
1160 * wb setpoint
1187 * scale global setpoint to wb's:
1188 * wb_setpoint = setpoint * wb_thresh / thresh
1191 wb_setpoint = setpoint * (u64)x >> 16;
1212 * than setpoint.
1338 unsigned long setpoint = (freerun + limit) / 2;
1388 * the dirty count meet the setpoint, but also where the slope of
1421 * - dirty_ratelimit > task_ratelimit (dirty pages are above setpoint)
1440 * "dirty" and wb_setpoint as "setpoint".
1444 setpoint = (dtc->wb_thresh + dtc->wb_bg_thresh) / 2;
1447 if (dirty < setpoint) {