Lines Matching refs:MAX
1083 priority = MAX(priority, thread->user_promotion_basepri); in thread_recompute_priority()
1096 priority = MAX(thread->max_priority, thread->user_promotion_basepri); in thread_recompute_priority()
1576 next_qos = MAX(requested.thrp_qos_override, next_qos); in thread_policy_update_internal_spinlocked()
1577 next_qos = MAX(requested.thrp_qos_promote, next_qos); in thread_policy_update_internal_spinlocked()
1578 next_qos = MAX(requested.thrp_qos_kevent_override, next_qos); in thread_policy_update_internal_spinlocked()
1579 next_qos = MAX(requested.thrp_qos_wlsvc_override, next_qos); in thread_policy_update_internal_spinlocked()
1580 next_qos = MAX(requested.thrp_qos_workq_override, next_qos); in thread_policy_update_internal_spinlocked()
1689 iopol = MAX(iopol, task_effective.tep_bg_iotier); in thread_policy_update_internal_spinlocked()
1693 iopol = MAX(iopol, task_effective.tep_io_tier); in thread_policy_update_internal_spinlocked()
1697 iopol = MAX(iopol, thread_qos_policy_params.qos_iotier[next.thep_qos]); in thread_policy_update_internal_spinlocked()
1699 iopol = MAX(iopol, requested.thrp_int_iotier); in thread_policy_update_internal_spinlocked()
1700 iopol = MAX(iopol, requested.thrp_ext_iotier); in thread_policy_update_internal_spinlocked()
1729 latency_qos = MAX(latency_qos, task_effective.tep_latency_qos); in thread_policy_update_internal_spinlocked()
1732 latency_qos = MAX(latency_qos, thread_qos_policy_params.qos_latency_qos[next.thep_qos]); in thread_policy_update_internal_spinlocked()
1740 through_qos = MAX(through_qos, task_effective.tep_through_qos); in thread_policy_update_internal_spinlocked()
1743 through_qos = MAX(through_qos, thread_qos_policy_params.qos_through_qos[next.thep_qos]); in thread_policy_update_internal_spinlocked()
2578 qos_override = MAX(qos_override, override->override_qos); in calculate_requested_qos_override()
2646 override->override_qos = MAX(override->override_qos, (int16_t)override_qos); in proc_thread_qos_add_override_internal()