Lines Matching refs:uclamp_max
4815 unsigned long uclamp_max)
4819 unsigned long uclamp_max)
4822 return clamp(task_util_est(p), uclamp_min, uclamp_max);
4828 unsigned long uclamp_max)
4832 unsigned long uclamp_max)
4974 unsigned long uclamp_max,
4991 * uclamp_max. We only care about capacity pressure (by using
5006 * For uclamp_max, we can tolerate a drop in performance level as the
5013 * We want to force a task to fit a cpu as implied by uclamp_max.
5020 * |_ _ _ _ _ _ _ _ _ ___ _ _ _ | _ | _ _ _ _ _ uclamp_max
5035 * uclamp_max request.
5038 * uclamp_max <= capacity_orig. But when uclamp_max > capacity_orig,
5049 uclamp_max_fits = (capacity_orig == SCHED_CAPACITY_SCALE) && (uclamp_max == SCHED_CAPACITY_SCALE);
5050 uclamp_max_fits = !uclamp_max_fits && (uclamp_max <= capacity_orig);
5056 * | ___ (region a, capped, util >= uclamp_max)
5058 * |_ _ _ _ _ _ _ _ _ ___ _ _ _ | _ | _ _ _ _ _ uclamp_max
5060 * | ___ | | | | (region b, uclamp_min <= util <= uclamp_max)
5067 * a) If util > uclamp_max, then we're capped, we don't care about
5068 * actual fitness value here. We only care if uclamp_max fits
5072 * b) If uclamp_min <= util <= uclamp_max, then the normal
5074 * enforce we remain within uclamp_max, see comment above.
5082 * handle the case uclamp_min > uclamp_max.
5084 uclamp_min = min(uclamp_min, uclamp_max);
5094 unsigned long uclamp_max = uclamp_eff_value(p, UCLAMP_MAX);
5100 return (util_fits_cpu(util, uclamp_min, uclamp_max, cpu) > 0);