| /xnu-11215/osfmk/kern/ |
| H A D | thread.h | 1142 thread_t dst_thread, 1371 thread_t thread); 1374 thread_t thread); 1528 thread_t, 1537 thread_t, 1556 extern kern_return_t thread_dup2(thread_t, thread_t); 1646 thread_t); 1718 thread_t thread, 1737 thread_t thread, 1790 thread_t thread; [all …]
|
| H A D | sched_prim.h | 117 thread_t thread, 122 thread_t thread); 126 thread_t thread, 178 thread_t thread, 229 thread_t thread, 276 thread_t thread, 302 thread_t thread, 315 thread_t thread); 328 thread_t thread, 433 thread_t thread_run_queue_remove_for_handoff(thread_t thread); [all …]
|
| H A D | policy_internal.h | 132 extern boolean_t thread_has_qos_policy(thread_t thread); 177 extern void thread_freeze_base_pri(thread_t thread); 178 extern bool thread_unfreeze_base_pri(thread_t thread); 315 uintptr_t threquested_0(thread_t thread); 316 uintptr_t threquested_1(thread_t thread); 317 uintptr_t theffective_0(thread_t thread); 318 uintptr_t theffective_1(thread_t thread); 328 extern void thread_policy_create(thread_t thread); 334 extern void thead_remove_taskwatch(thread_t thread); 359 extern void thread_policy_reset(thread_t thread); [all …]
|
| H A D | thread_act.c | 197 thread_t thread, in thread_start_in_assert_wait() 378 thread_hold(thread_t thread) in thread_hold() 512 thread_t thread) in act_abort() 532 thread_t thread) in thread_abort() 901 thread_t target) in thread_dup() 943 thread_t source, in thread_dup2() 944 thread_t target) in thread_dup2() 1227 thread_t thread, in thread_raise_exception() 1266 thread_t thread) in thread_debug_return_to_user_ast() 1366 thread_t thread, in act_set_ast() [all …]
|
| H A D | work_interval.h | 73 kern_work_interval_create(thread_t thread, struct kern_work_interval_create_args *create_params); 124 kern_work_interval_explicit_join(thread_t thread, struct work_interval *work_interval); 128 kern_work_interval_destroy(thread_t thread, uint64_t work_interval_id); 130 kern_work_interval_join(thread_t thread, mach_port_name_t port_name); 133 kern_work_interval_notify(thread_t thread, struct kern_work_interval_args* kwi_args); 145 bool work_interval_should_propagate(thread_t cthread, thread_t thread); 146 void work_interval_auto_join_propagate(thread_t from, thread_t to); 147 void work_interval_auto_join_unwind(thread_t thread); 148 void work_interval_auto_join_demote(thread_t thread); 154 extern kern_return_t work_interval_thread_terminate(thread_t thread); [all …]
|
| H A D | thread.c | 375 thread_t 905 thread_t thread; in thread_exception_queue_invoke() 1010 thread_t dst_thread, in thread_copy_resource_info() 1011 thread_t src_thread) in thread_copy_resource_info() 1175 thread_t th_remove; in thread_terminate_crashed_threads() 1714 thread_t thread; in thread_create_waiting_internal() 2249 thread_t thread, in thread_read_times() 2491 guard_ast(thread_t t) in guard_ast() 3956 thread_t thread; in thread_port_with_flavor_no_senders() 4100 thread_t [all …]
|
| H A D | machine.h | 89 extern thread_t machine_processor_shutdown( 90 thread_t thread, 126 extern void machine_thread_going_on_core(thread_t new_thread, 132 extern void machine_thread_going_off_core(thread_t old_thread, boolean_t thread_terminating, 139 extern void machine_work_interval_notify(thread_t thread, struct kern_work_interval_args* kwi_args); 148 thread_t old, 149 thread_t new); 154 thread_t thread); 160 …read_group *tg_blocked, struct thread_group *tg_blocking, uint32_t flags, thread_t blocked_thread); 161 …roup *tg_unblocked, struct thread_group *tg_unblocking, uint32_t flags, thread_t unblocked_thread);
|
| H A D | ast.h | 175 extern void ast_context(thread_t thread); 178 extern void ast_propagate(thread_t thread); 195 extern void act_set_astbsd(thread_t); 196 extern void bsd_ast(thread_t); 211 extern void kevent_ast(thread_t thread, uint16_t bits); 212 extern void act_set_astkevent(thread_t thread, uint16_t bits); 213 extern uint16_t act_clear_astkevent(thread_t thread, uint16_t bits); 214 extern bool act_set_ast_reset_pcs(task_t task, thread_t thread); 221 extern void thread_debug_return_to_user_ast(thread_t thread);
|
| H A D | syscall_subr.c | 179 thread_t self = current_thread(); in thread_switch_continue() 201 thread_t thread = THREAD_NULL; in thread_switch() 352 thread_t self = current_thread(); in thread_handoff_internal() 417 thread_depress_timer_setup(thread_t self) in thread_depress_timer_setup() 433 thread_t self = current_thread(); in thread_depress_abstime() 474 thread_t thread = (thread_t)p0; in thread_depress_expire() 497 thread_depress_abort(thread_t thread) in thread_depress_abort() 525 thread_depress_abort_locked(thread_t thread) in thread_depress_abort_locked() 553 thread_poll_yield(thread_t self) in thread_poll_yield() 599 thread_t self = current_thread(); in thread_yield_internal() [all …]
|
| H A D | affinity.h | 57 extern void thread_affinity_dup(thread_t parent, thread_t child); 58 extern void thread_affinity_terminate(thread_t thread); 71 extern kern_return_t thread_affinity_set(thread_t thread, uint32_t tag); 72 extern uint32_t thread_affinity_get(thread_t thread); 73 extern void thread_affinity_exec(thread_t thread);
|
| H A D | bsd_kern.c | 147 get_thread_ro(thread_t th) in get_thread_ro() 185 thread_t 237 thread_t 849 get_threadtask(thread_t th) in get_threadtask() 976 thread_t th) in get_thread_userstop() 997 thread_t th) in thread_should_abort() 1039 thread_t inc; in task_act_iterate_wth_args() 1059 thread_t thread; in fill_taskprocinfo() 1125 thread_t thact; in fill_taskthreadinfo() 1175 thread_t thact; in fill_taskthreadlist() [all …]
|
| H A D | ipc_tt.h | 102 thread_t thread); 121 thread_t thread, 127 thread_t thread); 131 thread_t thread); 135 thread_t thread); 139 thread_t thread); 264 extern thread_t convert_port_to_thread( 275 extern thread_t port_name_to_thread( 291 extern void thread_dealloc_kernel_special_reply_port(thread_t thread); 305 thread_t thread,
|
| H A D | thread_group.h | 123 void thread_group_init_thread(thread_t t, task_t task); 139 struct thread_group *thread_group_get(thread_t t); 140 struct thread_group *thread_group_get_home_group(thread_t t); 141 void thread_group_set_bank(thread_t t, struct thread_group *tg); 155 void thread_set_work_interval_thread_group(thread_t t, struct thread_group *tg); 157 void thread_set_autojoin_thread_group_locked(thread_t t, struct thread_group *tg); 160 void thread_set_preadopt_thread_group(thread_t t, struct thread_group *tg); 163 void thread_resolve_and_enforce_thread_group_hierarchy_if_needed(thread_t t);
|
| H A D | sched_amp.c | 53 static thread_t 90 static thread_t 231 static thread_t 235 __unused thread_t prev_thread, in sched_amp_choose_thread() 279 thread_t thread, in sched_amp_processor_enqueue() 424 thread_t thread; in sched_amp_processor_queue_shutdown() 456 thread_t thread) in sched_amp_processor_queue_remove() 487 thread_t 490 thread_t thread = THREAD_NULL; in sched_amp_steal_thread() 538 thread_t thread; in sched_amp_thread_update_scan() [all …]
|
| H A D | thread_policy.c | 1054 thread_t thread) in thread_recompute_priority() 1187 thread_t thread, in thread_policy_update_tasklocked() 1240 thread_t thread) in thread_policy_reset() 2500 threquested_0(thread_t thread) in threquested_0() 2510 threquested_1(thread_t thread) in threquested_1() 2521 theffective_0(thread_t thread) in theffective_0() 2530 theffective_1(thread_t thread) in theffective_1() 2618 find_qos_override(thread_t thread, in find_qos_override() 2805 thread_t thread, in proc_thread_qos_add_override() 2903 thread_t thread, in proc_thread_qos_remove_override() [all …]
|
| /xnu-11215/osfmk/kperf/ |
| H A D | kperf.h | 44 uint32_t kperf_get_thread_ast(thread_t thread); 45 void kperf_set_thread_ast(thread_t thread, uint32_t flags); 51 boolean_t kperf_thread_get_dirty(thread_t thread); 52 void kperf_thread_set_dirty(thread_t thread, boolean_t dirty); 105 kperf_on_cpu(thread_t thread, thread_continue_t continuation, in kperf_on_cpu() 109 void kperf_on_cpu_internal(thread_t thread, thread_continue_t continuation, in kperf_on_cpu() 121 kperf_off_cpu(thread_t thread) in kperf_off_cpu() 124 void kperf_lazy_off_cpu(thread_t thread); in kperf_off_cpu() 135 kperf_make_runnable(thread_t thread, int interrupt) in kperf_make_runnable() 138 void kperf_lazy_make_runnable(thread_t thread, bool interrupt); in kperf_make_runnable() [all …]
|
| /xnu-11215/osfmk/arm/ |
| H A D | thread.h | 188 extern struct arm_saved_state * get_user_regs(thread_t); 189 extern struct arm_saved_state * find_user_regs(thread_t); 190 extern struct arm_saved_state * find_kern_regs(thread_t); 191 extern struct arm_vfpsaved_state * find_user_vfp(thread_t); 192 extern arm_debug_state32_t * find_debug_state32(thread_t); 193 extern arm_debug_state32_t * find_or_allocate_debug_state32(thread_t); 194 extern arm_debug_state64_t * find_debug_state64(thread_t); 196 extern arm_neon_saved_state_t * get_user_neon_regs(thread_t); 219 extern kern_return_t machine_thread_sme_state_alloc(thread_t thread); 220 extern void machine_thread_sme_state_free(thread_t thread); [all …]
|
| H A D | cpu_data.h | 51 static inline __attribute__((const)) thread_t 64 return __unsafe_forge_single(thread_t, result); in current_thread_fast() 67 return __unsafe_forge_single(thread_t, __builtin_arm_mrc(15, 0, 13, 0, 4)); in current_thread_fast() 86 static inline thread_t 99 return __unsafe_forge_single(thread_t, result); in current_thread_volatile() 102 return __unsafe_forge_single(thread_t, __builtin_arm_mrc(15, 0, 13, 0, 4)); in current_thread_volatile() 127 extern unsigned int get_preemption_level_for_thread(thread_t);
|
| /xnu-11215/osfmk/i386/ |
| H A D | fpu.h | 115 thread_t thr_act, 118 thread_t thr_act, 122 thread_t thr_act, 126 thread_t parent, 127 thread_t child); 132 extern void fpflush(thread_t); 137 thread_t old, 138 thread_t new); 140 thread_t thread, 149 extern uint32_t thread_fpsimd_hash(thread_t);
|
| H A D | pal_routines.h | 100 extern void pal_set_signal_delivery(thread_t); 107 extern void pal_dbg_page_fault( thread_t thread, user_addr_t vadddr, 114 void pal_syscall_restart(thread_t thread, x86_saved_state_t *state); 117 void pal_execve_return(thread_t thread); 120 void pal_thread_terminate_self(thread_t thread); 123 void pal_ast_check(thread_t thread); 139 void pal_register_cache_state(thread_t thread, pal_cache_state_t state);
|
| H A D | misc_protos.h | 115 thread_t Switch_context(thread_t, thread_continue_t, thread_t); 117 __not_tail_called thread_t 118 Shutdown_context(thread_t thread, void (*doshutdown)(processor_t), processor_t processor); 137 extern void act_machine_switch_pcb(thread_t old, thread_t new);
|
| /xnu-11215/bsd/kern/ |
| H A D | ast.h | 41 extern void act_set_astbsd(thread_t); 42 extern void bsd_ast(thread_t); 48 extern void kevent_ast(thread_t thread, uint16_t bits); 49 extern void act_set_astkevent(thread_t thread, uint16_t bits); 50 extern uint16_t act_clear_astkevent(thread_t thread, uint16_t bits); 51 extern bool act_set_ast_reset_pcs(struct task *task, thread_t thread); 57 extern void act_set_astproc_resource(thread_t);
|
| /xnu-11215/bsd/sys/ |
| H A D | pthread_shims.h | 56 typedef void (*sched_call_t)(int type, thread_t thread); 118 void *(*pthread_get_thread_kwq)(thread_t thread); 161 thread_t (*task_findtid)(task_t t, uint64_t tid); 162 void (*thread_deallocate_safe)(thread_t); 222 struct uthread* (*get_bsdthread_info)(thread_t th); 288 uint16_t (*thread_set_tag)(thread_t thread, uint16_t tag); 289 uint16_t (*thread_get_tag)(thread_t thread); 293 kern_return_t (*thread_terminate_pinned)(thread_t thread); 294 ipc_port_t (*convert_thread_to_port_pinned)(thread_t th); 303 void (*thread_will_park_or_terminate)(thread_t thread); [all …]
|
| H A D | signalvar.h | 188 void execsigs(struct proc *p, thread_t thread); 199 int setsigvec(proc_t, thread_t, int signum, struct __kern_sigaction *, boolean_t in_sigstart); 211 void psignal_try_thread(proc_t, thread_t, int signum); 212 void psignal_try_thread_with_reason(proc_t, thread_t, int, struct os_reason*); 213 void psignal_thread_with_reason(proc_t, thread_t, int, struct os_reason*); 214 void psignal_uthread(thread_t, int); 217 void threadsignal(thread_t sig_actthread, int signum, 219 int thread_issignal(proc_t p, thread_t th, sigset_t mask); 220 void psignal_vfork(struct proc *p, task_t new_task, thread_t thread, 222 void psignal_vfork_with_reason(proc_t p, task_t new_task, thread_t thread, [all …]
|
| /xnu-11215/tests/sched/sched_test_harness/shadow_headers/kern/ |
| H A D | sched_prim.h | 109 thread_t (*choose_thread)( 112 thread_t prev_thread, 121 thread_t thread, 127 thread_t thread); 158 uint32_t (*initial_quantum_size)(thread_t thread); 178 bool (*thread_avoid_processor)(processor_t processor, thread_t thread, ast_t reason); 181 void (*update_thread_bucket)(thread_t thread); 186 bool (*thread_eligible_for_pset)(thread_t thread, processor_set_t pset);
|