Lines Matching refs:MAX
1124 priority = MAX(priority, MAXPRI_USER); in thread_recompute_priority()
1127 priority = MAX(priority, thread->user_promotion_basepri); in thread_recompute_priority()
1140 adj_priority = MAX(adj_priority, MINPRI); in thread_recompute_priority()
1144 adj_priority = MAX(adj_priority, priority); in thread_recompute_priority()
1149 adj_priority = MAX(adj_priority, thread->user_promotion_basepri); in thread_recompute_priority()
1650 next_qos = MAX(requested.thrp_qos_override, next_qos); in thread_policy_update_internal_spinlocked()
1651 next_qos = MAX(requested.thrp_qos_promote, next_qos); in thread_policy_update_internal_spinlocked()
1652 next_qos = MAX(requested.thrp_qos_kevent_override, next_qos); in thread_policy_update_internal_spinlocked()
1653 next_qos = MAX(requested.thrp_qos_wlsvc_override, next_qos); in thread_policy_update_internal_spinlocked()
1654 next_qos = MAX(requested.thrp_qos_workq_override, next_qos); in thread_policy_update_internal_spinlocked()
1765 iopol = MAX(iopol, task_effective.tep_bg_iotier); in thread_policy_update_internal_spinlocked()
1769 iopol = MAX(iopol, task_effective.tep_io_tier); in thread_policy_update_internal_spinlocked()
1773 iopol = MAX(iopol, thread_qos_policy_params.qos_iotier[next.thep_qos]); in thread_policy_update_internal_spinlocked()
1775 iopol = MAX(iopol, requested.thrp_int_iotier); in thread_policy_update_internal_spinlocked()
1776 iopol = MAX(iopol, requested.thrp_ext_iotier); in thread_policy_update_internal_spinlocked()
1805 latency_qos = MAX(latency_qos, task_effective.tep_latency_qos); in thread_policy_update_internal_spinlocked()
1808 latency_qos = MAX(latency_qos, thread_qos_policy_params.qos_latency_qos[next.thep_qos]); in thread_policy_update_internal_spinlocked()
1816 through_qos = MAX(through_qos, task_effective.tep_through_qos); in thread_policy_update_internal_spinlocked()
1819 through_qos = MAX(through_qos, thread_qos_policy_params.qos_through_qos[next.thep_qos]); in thread_policy_update_internal_spinlocked()
2706 qos_override = MAX(qos_override, override->override_qos); in calculate_requested_qos_override()
2774 override->override_qos = MAX(override->override_qos, (int16_t)override_qos); in proc_thread_qos_add_override_internal()
3429 const uint8_t percent = MAX(MIN(rt_allow_limit_percent, 99), 1); in thread_rt_set_cpulimit()
3430 const uint16_t interval_ms = MAX(rt_allow_limit_interval_ms, 1); in thread_rt_set_cpulimit()