Home
last modified time | relevance | path

Searched refs:thread_qos_policy_params (Results 1 – 4 of 4) sorted by relevance

/xnu-8796.121.2/osfmk/kern/
H A Dthread_policy.c77 const qos_policy_params_t thread_qos_policy_params = { variable
242 int prio_range_max = thread_qos_policy_params.qos_pri[qos]; in thread_qos_scaled_relative_priority()
243 int prio_range_min = next_lower_qos ? thread_qos_policy_params.qos_pri[next_lower_qos] : 0; in thread_qos_scaled_relative_priority()
768 return (uint8_t)thread_qos_policy_params.qos_pri[qos]; in thread_workq_pri_for_qos()
775 if (priority > thread_qos_policy_params.qos_pri[THREAD_QOS_USER_INTERACTIVE]) { in thread_workq_qos_for_pri()
782 if (thread_qos_policy_params.qos_pri[qos - 1] < priority) { in thread_workq_qos_for_pri()
1091 priority = thread_qos_policy_params.qos_pri[qos]; in thread_recompute_priority()
1765 iopol = MAX(iopol, thread_qos_policy_params.qos_iotier[next.thep_qos]); in thread_policy_update_internal_spinlocked()
1781 int next_qos_iotier = thread_qos_policy_params.qos_iotier[next.thep_qos]; in thread_policy_update_internal_spinlocked()
1782 int req_qos_iotier = thread_qos_policy_params.qos_iotier[requested.thrp_qos]; in thread_policy_update_internal_spinlocked()
[all …]
H A Dpolicy_internal.h320 extern const qos_policy_params_t thread_qos_policy_params;
H A Dtask_policy.c989 iopol = MAX(iopol, thread_qos_policy_params.qos_iotier[next.tep_qos_clamp]); in task_policy_update_internal_locked()
1022 latency_qos = MAX(latency_qos, (int)thread_qos_policy_params.qos_latency_qos[next.tep_qos_clamp]); in task_policy_update_internal_locked()
1044 through_qos = MAX(through_qos, (int)thread_qos_policy_params.qos_through_qos[next.tep_qos_clamp]); in task_policy_update_internal_locked()
1230 …int16_t qos_clamp_priority = thread_qos_policy_params.qos_pri[task->effective_policy.tep_qos_clamp… in task_policy_update_internal_locked()
H A Dturnstile.c2134 (thread_qos_policy_params.qos_pri[THREAD_QOS_USER_INTERACTIVE] + 1) && in turnstile_get_update_flags_for_above_UI_pri_change()