Home
last modified time | relevance | path

Searched refs:proc_get_effective_thread_policy (Results 1 – 19 of 19) sorted by relevance

/xnu-12377.41.6/osfmk/kperf/
H A Dthread_samplers.c239 if (proc_get_effective_thread_policy(thread, TASK_POLICY_PASSIVE_IO)) { in kperf_thread_snapshot_sample()
258 thsn->kpthsn_io_tier = (uint8_t)proc_get_effective_thread_policy(thread, TASK_POLICY_IO); in kperf_thread_snapshot_sample()
/xnu-12377.41.6/osfmk/kern/
H A Dsfi.c763 int thread_qos = proc_get_effective_thread_policy(thread, TASK_POLICY_QOS); in sfi_thread_classify()
764 int thread_bg = proc_get_effective_thread_policy(thread, TASK_POLICY_DARWIN_BG); in sfi_thread_classify()
H A Dpolicy_internal.h57 extern int proc_get_effective_thread_policy(thread_t thread, int flavor);
H A Dsyscall_subr.c265 int new_policy = proc_get_effective_thread_policy(self, TASK_POLICY_IO); in thread_switch()
H A Dtelemetry.c577 .tks_io_tier = (uint8_t)proc_get_effective_thread_policy(thread, TASK_POLICY_IO), in _telemetry_take_sample_kernel()
1134 if (proc_get_effective_thread_policy(thread, TASK_POLICY_DARWIN_BG)) { in _write_thread_snapshot()
H A Dthread_policy.c2355 proc_get_effective_thread_policy(thread_t thread, in proc_get_effective_thread_policy() function
2792 new_effective_qos = proc_get_effective_thread_policy(thread, TASK_POLICY_QOS); in proc_thread_qos_add_override_internal()
2886 new_effective_qos = proc_get_effective_thread_policy(thread, TASK_POLICY_QOS); in proc_thread_qos_remove_override_internal()
H A Dtimer_call.c1836 latency_qos = proc_get_effective_thread_policy(t, TASK_POLICY_LATENCY_QOS); in tcoal_qos_adjust()
1875 } else if (proc_get_effective_thread_policy(cthread, TASK_POLICY_DARWIN_BG) || in timer_compute_leeway()
H A Dkern_stackshot.c4445 if (proc_get_effective_thread_policy(thread, TASK_POLICY_PASSIVE_IO)) { in kcdata_record_thread_snapshot()
4497 cur_thread_snap->ths_io_tier = (uint8_t) proc_get_effective_thread_policy(thread, TASK_POLICY_IO); in kcdata_record_thread_snapshot()
4727 if (proc_get_effective_thread_policy(thread, TASK_POLICY_PASSIVE_IO)) { in kcdata_record_thread_delta_snapshot()
4752 …cur_thread_snap->tds_io_tier = (uint8_t) proc_get_effective_thread_policy(thread, … in kcdata_record_thread_delta_snapshot()
H A Dthread.c3971 iotier = proc_get_effective_thread_policy(thread, TASK_POLICY_IO); in thread_get_ipc_propagate_attr()
3972 qos = proc_get_effective_thread_policy(thread, TASK_POLICY_QOS); in thread_get_ipc_propagate_attr()
H A Dsched_prim.c6240 …boolean_t thread_lacks_qos = (proc_get_effective_thread_policy(thread, TASK_POLICY_QOS) == THREAD_… in thread_get_urgency()
6258 urgency_param1 = proc_get_effective_thread_policy(thread, TASK_POLICY_THROUGH_QOS); in thread_get_urgency()
/xnu-12377.41.6/bsd/kern/
H A Dprocess_policy.c678 bgstate = proc_get_effective_thread_policy(thread, TASK_POLICY_DARWIN_BG); in proc_get_originatorbgstate()
H A Dkern_aio.c3124 thread_qos_t qos = (thread_qos_t)proc_get_effective_thread_policy(src_th, TASK_POLICY_QOS); in workq_aio_thread_reset_pri()
H A Dkern_resource.c1284 background = proc_get_effective_thread_policy(thread, TASK_POLICY_ALL_SOCKETS_BG); in do_background_socket()
H A Duipc_socket.c647 proc_get_effective_thread_policy(current_thread(), TASK_POLICY_NEW_SOCKETS_BG)) { in socreate_internal()
/xnu-12377.41.6/osfmk/arm/
H A Dmachine_routines_common.c531 on_core.qos_class = (uint16_t)proc_get_effective_thread_policy(new_thread, TASK_POLICY_QOS); in machine_thread_going_on_core()
757 .qos_class = (uint16_t)proc_get_effective_thread_policy(thread, TASK_POLICY_QOS), in machine_work_interval_notify()
/xnu-12377.41.6/bsd/miscfs/specfs/
H A Dspec_vnops.c1781 return proc_get_effective_thread_policy(current_thread(), TASK_POLICY_IO); in throttle_get_io_policy()
1791 return proc_get_effective_thread_policy(current_thread(), TASK_POLICY_PASSIVE_IO); in throttle_get_passive_io_policy()
2185 return proc_get_effective_thread_policy(current_thread(), TASK_POLICY_IO); in throttle_get_thread_effective_io_policy()
/xnu-12377.41.6/osfmk/vm/
H A Dvm_fault.c169proc_get_effective_thread_policy(current_thread(), TASK_POLICY_IO) >= THROTTLE_LEVEL_THROTTLED); in NEED_TO_HARD_THROTTLE_THIS_TASK()
H A Dvm_object.c8304 cur_tier = proc_get_effective_thread_policy(current_thread(), TASK_POLICY_IO);
H A Dvm_pageout.c5798 upl->upl_priority = proc_get_effective_thread_policy(current_thread(), TASK_POLICY_IO);