Lines Matching refs:MAX
1116 priority = MAX(priority, MAXPRI_USER); in thread_recompute_priority()
1119 priority = MAX(priority, thread->user_promotion_basepri); in thread_recompute_priority()
1132 adj_priority = MAX(adj_priority, MINPRI); in thread_recompute_priority()
1136 adj_priority = MAX(adj_priority, priority); in thread_recompute_priority()
1141 adj_priority = MAX(adj_priority, thread->user_promotion_basepri); in thread_recompute_priority()
1642 next_qos = MAX(requested.thrp_qos_override, next_qos); in thread_policy_update_internal_spinlocked()
1643 next_qos = MAX(requested.thrp_qos_promote, next_qos); in thread_policy_update_internal_spinlocked()
1644 next_qos = MAX(requested.thrp_qos_kevent_override, next_qos); in thread_policy_update_internal_spinlocked()
1645 next_qos = MAX(requested.thrp_qos_wlsvc_override, next_qos); in thread_policy_update_internal_spinlocked()
1646 next_qos = MAX(requested.thrp_qos_workq_override, next_qos); in thread_policy_update_internal_spinlocked()
1757 iopol = MAX(iopol, task_effective.tep_bg_iotier); in thread_policy_update_internal_spinlocked()
1761 iopol = MAX(iopol, task_effective.tep_io_tier); in thread_policy_update_internal_spinlocked()
1765 iopol = MAX(iopol, thread_qos_policy_params.qos_iotier[next.thep_qos]); in thread_policy_update_internal_spinlocked()
1767 iopol = MAX(iopol, requested.thrp_int_iotier); in thread_policy_update_internal_spinlocked()
1768 iopol = MAX(iopol, requested.thrp_ext_iotier); in thread_policy_update_internal_spinlocked()
1797 latency_qos = MAX(latency_qos, task_effective.tep_latency_qos); in thread_policy_update_internal_spinlocked()
1800 latency_qos = MAX(latency_qos, thread_qos_policy_params.qos_latency_qos[next.thep_qos]); in thread_policy_update_internal_spinlocked()
1808 through_qos = MAX(through_qos, task_effective.tep_through_qos); in thread_policy_update_internal_spinlocked()
1811 through_qos = MAX(through_qos, thread_qos_policy_params.qos_through_qos[next.thep_qos]); in thread_policy_update_internal_spinlocked()
2689 qos_override = MAX(qos_override, override->override_qos); in calculate_requested_qos_override()
2757 override->override_qos = MAX(override->override_qos, (int16_t)override_qos); in proc_thread_qos_add_override_internal()
3400 const uint8_t percent = MAX(MIN(rt_allow_limit_percent, 99), 1); in thread_rt_set_cpulimit()
3401 const uint16_t interval_ms = MAX(rt_allow_limit_interval_ms, 1); in thread_rt_set_cpulimit()