Home
last modified time | relevance | path

Searched refs:thread_policy_t (Results 1 – 25 of 32) sorted by relevance

12

/xnu-11417.140.69/tools/tests/affinity/
H A Dtags.c50 (thread_policy_t) &policy, in thread_tag_set()
68 (thread_policy_t) &policy, &count, &get_default); in thread_tag_get()
H A Dpool.c176 (thread_policy_t) &policy, in affinity_set()
202 (thread_policy_t) &epolicy, in manager_fn()
H A Dsets.c193 (thread_policy_t) &epolicy, in manager_fn()
203 (thread_policy_t) &policy, in manager_fn()
/xnu-11417.140.69/tests/
H A Dthread_policy.c37 (thread_policy_t)&requested_policy, &count, &get_default); in get_thread_requested_qos()
H A Dwork_interval_test_unentitled.c46 kr = thread_policy_set(target_thread, THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol, in set_realtime()
60 kr = thread_policy_set(target_thread, THREAD_STANDARD_POLICY, (thread_policy_t) &pol, in set_nonrealtime()
H A Dwork_interval_test.c147 kr = thread_policy_set(target_thread, THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol, in set_realtime()
161 kr = thread_policy_set(target_thread, THREAD_STANDARD_POLICY, (thread_policy_t) &pol, in set_nonrealtime()
H A Dwork_interval_data_test.c57 kr = thread_policy_set(target_thread, THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol, in set_realtime()
H A Dturnstile_multihop.c228 (thread_policy_t)&thread_policy, &count, &get_default); in get_user_promotion_basepri()
H A Dmach_eventlink.c842 kr = thread_policy_set(target_thread, THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol, in set_realtime()
H A Dkevent_qos.c96 (thread_policy_t)&thread_policy, &count, &get_default); in get_user_promotion_basepri()
110 (thread_policy_t)&thread_policy, &count, &get_default); in get_thread_iotier()
/xnu-11417.140.69/libsyscall/mach/
H A Dthread_act.c50 thread_policy_set(thread_act_t thread, thread_policy_flavor_t flavor, thread_policy_t policy_info, … in thread_policy_set()
/xnu-11417.140.69/osfmk/mach/
H A Dthread_policy.h52 typedef integer_t *thread_policy_t; typedef
H A Dthread_act.defs319 policy_info : thread_policy_t);
324 out policy_info : thread_policy_t, CountInOut;
/xnu-11417.140.69/tools/tests/jitter/
H A Dtimer_jitter.c120 …res = thread_policy_set(mach_thread_self(), THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol,… in thread_setup()
129 …res = thread_policy_set(mach_thread_self(), THREAD_EXTENDED_POLICY, (thread_policy_t) &pol, THREAD… in thread_setup()
/xnu-11417.140.69/bsd/sys/
H A Dpthread_shims.h226 …ead_policy_set_internal)(thread_t t, thread_policy_flavor_t flavour, thread_policy_t info, mach_ms…
277 …kern_return_t (*thread_policy_get)(thread_t t, thread_policy_flavor_t flavor, thread_policy_t info…
/xnu-11417.140.69/tools/tests/MPMMTest/
H A DKQMPMMtest.c350 (thread_policy_t) &epolicy, in thread_setup()
361 (thread_policy_t) &policy, in thread_setup()
H A DMPMMtest.c470 (thread_policy_t) &epolicy, in thread_setup()
481 (thread_policy_t) &policy, in thread_setup()
/xnu-11417.140.69/osfmk/kern/
H A Dpolicy_internal.h255 thread_policy_t policy_info, mach_msg_type_number_t count);
H A Dthread_policy.c267 thread_policy_t policy_info, in thread_policy_set()
327 …(void)thread_policy_set_internal(thread, THREAD_QOS_POLICY, (thread_policy_t)&req_qos, THREAD_QOS_… in thread_policy_set()
343 thread_policy_t policy_info, in thread_policy_set_internal()
1285 thread_policy_t policy_info, in thread_policy_get()
/xnu-11417.140.69/tools/tests/zero-to-n/
H A Dzero-to-n.c451 (thread_policy_t) &pol, THREAD_TIME_CONSTRAINT_POLICY_COUNT); in rt_churn_thread_setup()
644 (thread_policy_t) &pol, THREAD_TIME_CONSTRAINT_POLICY_COUNT); in thread_setup()
663 (thread_policy_t)&affinity, THREAD_AFFINITY_POLICY_COUNT); in thread_setup()
/xnu-11417.140.69/tests/ipc/
H A Dipc_read_inspect.c481 (thread_policy_t)&info, &count, &get_default); in test_thread_port_mig_intrans()
/xnu-11417.140.69/osfmk/i386/
H A Dmachine_routines.c493 (thread_policy_t)&info, in ml_thread_policy()
/xnu-11417.140.69/bsd/skywalk/nexus/netif/
H A Dnx_netif_mit.c279 (thread_policy_t)&info, THREAD_PRECEDENCE_POLICY_COUNT); in nx_netif_mit_init()
/xnu-11417.140.69/bsd/dev/dtrace/
H A Dfasttrap.c493 …thread_policy_set(fasttrap_cleanup_thread, THREAD_PRECEDENCE_POLICY, (thread_policy_t) &precedence… in fasttrap_pid_cleanup_compute_priority()
497 …thread_policy_set(fasttrap_cleanup_thread, THREAD_PRECEDENCE_POLICY, (thread_policy_t) &precedence… in fasttrap_pid_cleanup_compute_priority()
/xnu-11417.140.69/bsd/net/
H A Ddlil_subr.c97 (thread_policy_t)&policy, THREAD_AFFINITY_POLICY_COUNT); in dlil_affinity_set()

12