Lines Matching refs:max
119 #define fits_capacity(cap, max) ((cap) * 1280 < (max) * 1024) argument
708 slice = max(slice, (u64)sysctl_sched_min_granularity); in sched_slice()
850 max(delta_exec, curr->statistics.exec_max)); in update_curr()
927 max(schedstat_val(se->statistics.wait_max), delta)); in update_stats_wait_end()
1174 return max(smin, period); in task_scan_start()
1197 smax = max(smax, period); in task_scan_max()
1200 return max(smin, smax); in task_scan_max()
1937 imbalance = max(0, dst_running - src_running); in task_numa_find_cpu()
2232 int ratio = max(lr_ratio, ps_ratio); in update_task_scan_period()
2814 start = max(start, vma->vm_start); in task_numa_work()
3212 load = max(scale_load_down(cfs_rq->load.weight), cfs_rq->avg.load_avg); in calc_group_shares()
3598 runnable_sum = max(runnable_sum, running_sum); in update_tg_cfs_load()
3977 return max(ue.ewma, (ue.enqueued & ~UTIL_AVG_UNCHANGED)); in _task_util_est()
3982 return max(task_util(p), _task_util_est(p)); in task_util_est()
4697 max((u64)se->statistics.slice_max, in set_next_entity()
6757 util = max(util, READ_ONCE(cfs_rq->avg.util_est.enqueued)); in cpu_util()
6840 util = max(util, estimated); in cpu_util_without()
6883 util = max(util, util_est); in cpu_util_next()
6957 max_util = max(max_util, min(cpu_util, _cpu_cap)); in compute_energy()
7099 util_min = max(rq_util_min, p_util_min); in find_energy_efficient_cpu()
7100 util_max = max(rq_util_max, p_util_max); in find_energy_efficient_cpu()
8701 unsigned long max = arch_scale_cpu_capacity(cpu); in scale_rt_capacity() local
8707 if (unlikely(irq >= max)) in scale_rt_capacity()
8720 if (unlikely(used >= max)) in scale_rt_capacity()
8723 free = max - used; in scale_rt_capacity()
8725 return scale_irq_capacity(free, irq, max); in scale_rt_capacity()
8778 max_capacity = max(cpu_cap, max_capacity); in update_group_capacity()
8792 max_capacity = max(sgc->max_capacity, max_capacity); in update_group_capacity()
9641 env->imbalance = max(local->group_capacity, local->group_util) - in calculate_imbalance()
10625 max((u64)sysctl_sched_migration_cost, max_cost); in rebalance_domains()