Lines Matching refs:setpoint
810 * setpoint - dirty 3
812 * limit - setpoint
817 * (2) f(setpoint) = 1.0 => the balance point
820 * (5) the closer to setpoint, the smaller |df/dx| (and the reverse)
821 * => fast response on large errors; small oscillation near setpoint
823 static long long pos_ratio_polynom(unsigned long setpoint,
830 x = div64_s64(((s64)setpoint - (s64)dirty) << RATELIMIT_CALC_SHIFT,
831 (limit - setpoint) | 1);
846 * When the number of dirty pages is higher/lower than the setpoint, the
848 * decreased/increased to bring the dirty pages back to the setpoint.
852 * if (dirty < setpoint) scale up pos_ratio
853 * if (dirty > setpoint) scale down pos_ratio
879 * freerun^ setpoint^ limit^ dirty pages
923 unsigned long setpoint; /* dirty pages' target balance point */
935 * global setpoint
939 setpoint = (freerun + limit) / 2;
940 pos_ratio = pos_ratio_polynom(setpoint, dtc->dirty, limit);
989 * Typically, for strictlimit case, wb_setpoint << setpoint
1005 * setpoint). Now the maximum pos_ratio in the same situation
1020 * wb setpoint
1055 * scale global setpoint to wb's:
1056 * wb_setpoint = setpoint * wb_thresh / thresh
1059 wb_setpoint = setpoint * (u64)x >> 16;
1080 * than setpoint.
1206 unsigned long setpoint = (freerun + limit) / 2;
1256 * the dirty count meet the setpoint, but also where the slope of
1289 * - dirty_ratelimit > task_ratelimit (dirty pages are above setpoint)
1308 * "dirty" and wb_setpoint as "setpoint".
1317 setpoint = dtc->wb_dirty + 1;
1319 setpoint = (dtc->wb_thresh + dtc->wb_bg_thresh) / 2;
1322 if (dirty < setpoint) {