Lines Matching defs:threshold
200 int threshold;
207 * value looks fine. The pressure threshold is a reduced value such
212 threshold = max(1, (int)(watermark_distance / num_online_cpus()));
215 * Maximum threshold is 125
217 threshold = min(125, threshold);
219 return threshold;
224 int threshold;
228 * The threshold scales with the number of processors and the amount
259 threshold = 2 * fls(num_online_cpus()) * (1 + fls(mem));
262 * Maximum threshold is 125
264 threshold = min(125, threshold);
266 return threshold;
277 int threshold;
290 threshold = calculate_normal_threshold(zone);
296 = threshold;
298 /* Base nodestat threshold on the largest populated zone. */
301 = max(threshold, pgdat_threshold);
310 max_drift = num_online_cpus() * threshold;
322 int threshold;
330 threshold = (*calculate_pressure)(zone);
333 = threshold;
554 * 1 Overstepping half of threshold
555 * -1 Overstepping minus half of threshold
569 * a counter threshold to the wrong the cpu if we get
571 * counter update will apply the threshold again and
572 * therefore bring the counter under the threshold again.
637 * a counter threshold to the wrong the cpu if we get
639 * counter update will apply the threshold again and
640 * therefore bring the counter under the threshold again.
1774 seq_printf(m, "\n vm stats threshold: %d",