Home
last modified time | relevance | path

Searched refs:sched_mode_t (Results 1 – 13 of 13) sorted by relevance

/xnu-12377.81.4/osfmk/kern/
H A Dpriority.c386 sched_mode_t sched_mode = thread->sched_mode; in thread_recompute_sched_pri()
924 sched_validate_mode(sched_mode_t mode) in sched_validate_mode()
946 sched_set_thread_mode(thread_t thread, sched_mode_t new_mode) in sched_set_thread_mode()
975 sched_set_thread_mode_user(thread_t thread, sched_mode_t new_mode) in sched_set_thread_mode_user()
989 sched_mode_t
H A Dsched_prim.h193 sched_mode_t mode);
200 sched_mode_t mode);
206 extern sched_mode_t sched_get_thread_mode_user(thread_t thread);
968 sched_mode_t (*initial_thread_sched_mode)(task_t parent_task);
H A Dthread_policy.c127 thread_set_user_sched_mode_and_recompute_pri(thread_t thread, sched_mode_t mode);
369 sched_mode_t mode = (timeshare == TRUE) ? TH_MODE_TIMESHARE : TH_MODE_FIXED; in thread_policy_set_internal()
637 static sched_mode_t
658 sched_mode_t mode, in thread_set_mode_and_absolute_pri_internal()
679 sched_mode_t old_mode = thread->sched_mode; in thread_set_mode_and_absolute_pri_internal()
870 sched_mode_t mode = convert_policy_to_sched_mode(policy); in thread_set_workq_pri()
919 sched_mode_t mode = convert_policy_to_sched_mode(policy); in thread_set_mode_and_absolute_pri()
957 thread_set_user_sched_mode_and_recompute_pri(thread_t thread, sched_mode_t mode) in thread_set_user_sched_mode_and_recompute_pri()
1267 sched_mode_t newmode = SCHED(initial_thread_sched_mode)(get_threadtask(thread)); in thread_policy_reset()
2174 const sched_mode_t mode = value2; in thread_set_requested_policy_spinlocked()
H A Dwork_interval.c673 sched_mode_t sched_mode;
733 const sched_mode_t mode = work_interval_class_data[work_interval->wi_class].sched_mode; in kern_work_interval_get_policy()
785 const sched_mode_t mode = work_interval_class_data[work_interval->wi_class].sched_mode; in work_interval_set_policy()
814 const sched_mode_t mode = sched_get_thread_mode_user(thread); in work_interval_clear_policy()
H A Dsched_dualq.c96 static sched_mode_t
193 static sched_mode_t
H A Dsched.h189 } sched_mode_t; typedef
H A Dsched_amp.c101 static sched_mode_t
208 static sched_mode_t
H A Dthread.h524 sched_mode_t sched_mode; /* scheduling mode */
525 sched_mode_t saved_mode; /* saved mode during forced mode demotion */
H A Dsfi.c745 sched_mode_t thmode = thread->sched_mode; in sfi_thread_classify()
H A Dsched_clutch.c3181 static sched_mode_t
3296 static sched_mode_t
H A Dsched_prim.c6859 const sched_mode_t saved_mode = thread->saved_mode; // if reporting in thread_update_process_threads()
/xnu-12377.81.4/tests/sched/sched_test_harness/shadow_headers/
H A Dmisc_needed_deps.c120 sched_mode_t sched_mode;
/xnu-12377.81.4/tests/sched/sched_test_harness/
H A Dsched_clutch_harness_impl.c275 ((thread_t)thread)->sched_mode = (sched_mode_t)mode; in impl_set_thread_sched_mode()