Searched refs:proc_get_effective_thread_policy (Results 1 – 18 of 18) sorted by relevance
| /xnu-8019.80.24/osfmk/kperf/ |
| H A D | thread_samplers.c | 240 if (proc_get_effective_thread_policy(thread, TASK_POLICY_PASSIVE_IO)) { in kperf_thread_snapshot_sample() 254 thsn->kpthsn_io_tier = (uint8_t)proc_get_effective_thread_policy(thread, TASK_POLICY_IO); in kperf_thread_snapshot_sample()
|
| /xnu-8019.80.24/osfmk/kern/ |
| H A D | sfi.c | 759 int thread_qos = proc_get_effective_thread_policy(thread, TASK_POLICY_QOS); in sfi_thread_classify() 760 int thread_bg = proc_get_effective_thread_policy(thread, TASK_POLICY_DARWIN_BG); in sfi_thread_classify()
|
| H A D | policy_internal.h | 57 extern int proc_get_effective_thread_policy(thread_t thread, int flavor);
|
| H A D | syscall_subr.c | 263 int new_policy = proc_get_effective_thread_policy(self, TASK_POLICY_IO); in thread_switch()
|
| H A D | thread_policy.c | 2209 proc_get_effective_thread_policy(thread_t thread, in proc_get_effective_thread_policy() function 2646 new_effective_qos = proc_get_effective_thread_policy(thread, TASK_POLICY_QOS); in proc_thread_qos_add_override_internal() 2740 new_effective_qos = proc_get_effective_thread_policy(thread, TASK_POLICY_QOS); in proc_thread_qos_remove_override_internal()
|
| H A D | kern_stackshot.c | 1870 if (proc_get_effective_thread_policy(thread, TASK_POLICY_PASSIVE_IO)) { in kcdata_record_thread_snapshot() 1905 cur_thread_snap->ths_io_tier = (uint8_t) proc_get_effective_thread_policy(thread, TASK_POLICY_IO); in kcdata_record_thread_snapshot() 2141 if (proc_get_effective_thread_policy(thread, TASK_POLICY_PASSIVE_IO)) { in kcdata_record_thread_delta_snapshot() 2166 …cur_thread_snap->tds_io_tier = (uint8_t) proc_get_effective_thread_policy(thread, … in kcdata_record_thread_delta_snapshot()
|
| H A D | timer_call.c | 1716 latency_qos = proc_get_effective_thread_policy(t, TASK_POLICY_LATENCY_QOS); in tcoal_qos_adjust() 1748 } else if (proc_get_effective_thread_policy(cthread, TASK_POLICY_DARWIN_BG) || in timer_compute_leeway()
|
| H A D | telemetry.c | 1023 if (proc_get_effective_thread_policy(thread, TASK_POLICY_DARWIN_BG)) { in telemetry_process_sample()
|
| H A D | sched_prim.c | 6189 …boolean_t thread_lacks_qos = (proc_get_effective_thread_policy(thread, TASK_POLICY_QOS) == THREAD_… in thread_get_urgency() 6207 urgency_param1 = proc_get_effective_thread_policy(thread, TASK_POLICY_THROUGH_QOS); in thread_get_urgency()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | process_policy.c | 671 bgstate = proc_get_effective_thread_policy(thread, TASK_POLICY_DARWIN_BG); in proc_get_originatorbgstate()
|
| H A D | kern_resource.c | 810 background = proc_get_effective_thread_policy(thread, TASK_POLICY_ALL_SOCKETS_BG); in do_background_socket()
|
| H A D | uipc_socket.c | 803 proc_get_effective_thread_policy(current_thread(), TASK_POLICY_NEW_SOCKETS_BG)) { in socreate_internal()
|
| /xnu-8019.80.24/osfmk/arm/ |
| H A D | machine_routines_common.c | 514 on_core.qos_class = (uint16_t)proc_get_effective_thread_policy(new_thread, TASK_POLICY_QOS); in machine_thread_going_on_core() 737 .qos_class = (uint16_t)proc_get_effective_thread_policy(thread, TASK_POLICY_QOS), in machine_work_interval_notify()
|
| /xnu-8019.80.24/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 1728 return proc_get_effective_thread_policy(current_thread(), TASK_POLICY_IO); in throttle_get_io_policy() 1738 return proc_get_effective_thread_policy(current_thread(), TASK_POLICY_PASSIVE_IO); in throttle_get_passive_io_policy() 2128 return proc_get_effective_thread_policy(current_thread(), TASK_POLICY_IO); in throttle_get_thread_effective_io_policy()
|
| /xnu-8019.80.24/osfmk/vm/ |
| H A D | vm_resident.c | 2860 if (proc_get_effective_thread_policy(current_thread(), TASK_POLICY_QOS) <= THREAD_QOS_LEGACY) { in vm_page_update_background_state() 2898 if (proc_get_effective_thread_policy(current_thread(), TASK_POLICY_QOS) <= THREAD_QOS_LEGACY) { in vm_page_assign_background_state()
|
| H A D | vm_object.c | 7999 cur_tier = proc_get_effective_thread_policy(current_thread(), TASK_POLICY_IO); in vm_page_handle_prio_inversion()
|
| H A D | vm_fault.c | 157 … proc_get_effective_thread_policy(current_thread(), TASK_POLICY_IO) >= THROTTLE_LEVEL_THROTTLED); in NEED_TO_HARD_THROTTLE_THIS_TASK()
|
| H A D | vm_pageout.c | 5263 upl->upl_priority = proc_get_effective_thread_policy(current_thread(), TASK_POLICY_IO); in upl_create()
|