Lines Matching refs:MAX
1123 priority = MAX(priority, MAXPRI_USER); in thread_recompute_priority()
1126 priority = MAX(priority, thread->user_promotion_basepri); in thread_recompute_priority()
1139 adj_priority = MAX(adj_priority, MINPRI); in thread_recompute_priority()
1143 adj_priority = MAX(adj_priority, priority); in thread_recompute_priority()
1148 adj_priority = MAX(adj_priority, thread->user_promotion_basepri); in thread_recompute_priority()
1649 next_qos = MAX(requested.thrp_qos_override, next_qos); in thread_policy_update_internal_spinlocked()
1650 next_qos = MAX(requested.thrp_qos_promote, next_qos); in thread_policy_update_internal_spinlocked()
1651 next_qos = MAX(requested.thrp_qos_kevent_override, next_qos); in thread_policy_update_internal_spinlocked()
1652 next_qos = MAX(requested.thrp_qos_wlsvc_override, next_qos); in thread_policy_update_internal_spinlocked()
1653 next_qos = MAX(requested.thrp_qos_workq_override, next_qos); in thread_policy_update_internal_spinlocked()
1764 iopol = MAX(iopol, task_effective.tep_bg_iotier); in thread_policy_update_internal_spinlocked()
1768 iopol = MAX(iopol, task_effective.tep_io_tier); in thread_policy_update_internal_spinlocked()
1772 iopol = MAX(iopol, thread_qos_policy_params.qos_iotier[next.thep_qos]); in thread_policy_update_internal_spinlocked()
1774 iopol = MAX(iopol, requested.thrp_int_iotier); in thread_policy_update_internal_spinlocked()
1775 iopol = MAX(iopol, requested.thrp_ext_iotier); in thread_policy_update_internal_spinlocked()
1804 latency_qos = MAX(latency_qos, task_effective.tep_latency_qos); in thread_policy_update_internal_spinlocked()
1807 latency_qos = MAX(latency_qos, thread_qos_policy_params.qos_latency_qos[next.thep_qos]); in thread_policy_update_internal_spinlocked()
1815 through_qos = MAX(through_qos, task_effective.tep_through_qos); in thread_policy_update_internal_spinlocked()
1818 through_qos = MAX(through_qos, thread_qos_policy_params.qos_through_qos[next.thep_qos]); in thread_policy_update_internal_spinlocked()
2698 qos_override = MAX(qos_override, override->override_qos); in calculate_requested_qos_override()
2766 override->override_qos = MAX(override->override_qos, (int16_t)override_qos); in proc_thread_qos_add_override_internal()
3417 const uint8_t percent = MAX(MIN(rt_allow_limit_percent, 99), 1); in thread_rt_set_cpulimit()
3418 const uint16_t interval_ms = MAX(rt_allow_limit_interval_ms, 1); in thread_rt_set_cpulimit()