Lines Matching refs:thread_t
205 thread_t exception_thread;
261 static void thread_deallocate_enqueue(thread_t thread);
262 static void thread_deallocate_complete(thread_t thread);
264 static void ctid_table_remove(thread_t thread);
265 static void ctid_table_add(thread_t thread);
329 init_thread_from_template(thread_t thread) in init_thread_from_template()
348 thread_ro_create(task_t parent_task, thread_t th, thread_ro_t tro_tpl) in thread_ro_create()
360 thread_ro_destroy(thread_t th) in thread_ro_destroy()
375 thread_t
418 thread_is_active(thread_t thread) in thread_is_active()
426 thread_t thread = current_thread(); in thread_corpse_continue()
456 thread_t thread = current_thread(); in thread_terminate_self()
750 thread_ref_release(thread_t thread) in thread_ref_release()
763 thread_deallocate_safe(thread_t thread) in thread_deallocate_safe()
772 thread_deallocate(thread_t thread) in thread_deallocate()
781 thread_t thread) in thread_deallocate_complete()
856 queue_remove(&terminated_threads, thread, thread_t, threads); in thread_deallocate_complete()
878 return thread_deallocate((thread_t)thread_inspect); in thread_inspect_deallocate()
890 return thread_deallocate((thread_t)thread_read); in thread_read_deallocate()
905 thread_t thread; in thread_exception_queue_invoke()
973 thread_t thread, in thread_exception_enqueue()
1010 thread_t dst_thread, in thread_copy_resource_info()
1011 thread_t src_thread) in thread_copy_resource_info()
1033 thread_t thread = mpsc_queue_element(e, struct thread, mpsc_links); in thread_terminate_queue_invoke()
1075 queue_remove(&task->threads, thread, thread_t, task_threads); in thread_terminate_queue_invoke()
1089 queue_remove(&threads, thread, thread_t, threads); in thread_terminate_queue_invoke()
1091 queue_enter(&terminated_threads, thread, thread_t, threads); in thread_terminate_queue_invoke()
1130 thread_t thread = mpsc_queue_element(e, struct thread, mpsc_links); in thread_deallocate_queue_invoke()
1146 thread_t thread) in thread_terminate_enqueue()
1161 thread_t thread) in thread_deallocate_enqueue()
1175 thread_t th_remove; in thread_terminate_crashed_threads()
1207 thread_t thread = mpsc_queue_element(elm, struct thread, mpsc_links); in thread_stack_queue_invoke()
1232 thread_t thread) in thread_stack_enqueue()
1291 main_thread_set_immovable_pinned(thread_t thread) in main_thread_set_immovable_pinned()
1309 thread_t *out_thread) in thread_create_internal()
1311 thread_t new_thread; in thread_create_internal()
1552 queue_enter(&parent_task->threads, new_thread, thread_t, task_threads); in thread_create_internal()
1558 queue_enter(&threads, new_thread, thread_t, threads); in thread_create_internal()
1604 DTRACE_PROC1(lwp__create, thread_t, *out_thread); in thread_create_internal()
1631 thread_t *new_thread, in thread_create_with_options_internal()
1637 thread_t thread; in thread_create_with_options_internal()
1676 thread_t *new_thread) in thread_create_immovable()
1685 thread_t *new_thread) in thread_create_from_user()
1695 thread_t *new_thread, in thread_create_with_continuation()
1711 thread_t *new_thread) in thread_create_waiting_internal()
1714 thread_t thread; in thread_create_waiting_internal()
1759 thread_t *new_thread) in main_thread_create_waiting()
1772 thread_t *new_thread, in thread_create_running_internal2()
1776 thread_t thread; in thread_create_running_internal2()
1840 thread_t *new_thread);
1848 thread_t *new_thread) in thread_create_running()
1861 thread_t *new_thread) in thread_create_running_from_user()
1872 thread_t *new_thread, in thread_create_workq_waiting()
1908 thread_t *new_thread) in kernel_thread_create()
1911 thread_t thread; in kernel_thread_create()
1943 thread_t *new_thread) in kernel_thread_start_priority()
1946 thread_t thread; in kernel_thread_start_priority()
1966 thread_t *new_thread) in kernel_thread_start()
1974 retrieve_thread_basic_info(thread_t thread, thread_basic_info_t basic_info) in retrieve_thread_basic_info()
2049 thread_t thread, in thread_info_internal()
2249 thread_t thread, in thread_read_times()
2288 thread_t thread, in thread_wire_internal()
2324 thread_t thread __unused, in thread_wire()
2363 thread_floor_boost_set_promotion_locked(thread_t thread) in thread_floor_boost_set_promotion_locked()
2388 thread_t thread = current_thread(); in thread_priority_floor_start()
2417 thread_t thread = current_thread(); in thread_priority_floor_end()
2441 thread_guard_violation(thread_t thread, in thread_guard_violation()
2478 extern void rejected_syscall_guard_ast(thread_t __unused t, mach_exception_data_type_t code, mach_e…
2491 guard_ast(thread_t t) in guard_ast()
2540 thread_t thread = current_thread(); in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
2745 thread_update_io_stats(thread_t thread, int size, int io_flags) in thread_update_io_stats()
2820 thread_t thread = current_thread(); in thread_cpulimit_remaining()
2844 thread_t thread = current_thread(); in thread_cpulimit_interval_has_expired()
2861 thread_t thread = current_thread(); in thread_cpulimit_restart()
2876 thread_t thread = current_thread(); in thread_get_cpulimit()
2929 thread_t thread = current_thread(); in thread_set_cpulimit()
3025 thread_t thread, in thread_sched_call()
3034 thread_t thread) in thread_tid()
3050 thread_set_tag(thread_t th, uint16_t tag) in thread_set_tag()
3056 thread_get_tag(thread_t th) in thread_get_tag()
3062 thread_last_run_time(thread_t th) in thread_last_run_time()
3091 thread_shared_rsrc_policy_get(thread_t thread, cluster_shared_rsrc_type_t type) in thread_shared_rsrc_policy_get()
3102 thread_shared_rsrc_policy_set(thread_t thread, __unused uint32_t index, cluster_shared_rsrc_type_t … in thread_shared_rsrc_policy_set()
3132 thread_shared_rsrc_policy_clear(thread_t thread, cluster_shared_rsrc_type_t type, shared_rsrc_polic… in thread_shared_rsrc_policy_clear()
3174 thread_shared_rsrc_policy_get(__unused thread_t thread, __unused cluster_shared_rsrc_type_t type) in thread_shared_rsrc_policy_get()
3180 thread_shared_rsrc_policy_set(thread_t thread, uint32_t index, __unused cluster_shared_rsrc_type_t … in thread_shared_rsrc_policy_set()
3186 thread_shared_rsrc_policy_clear(thread_t thread, __unused cluster_shared_rsrc_type_t type, __unused… in thread_shared_rsrc_policy_clear()
3195 thread_t thread) in thread_dispatchqaddr()
3225 thread_wqquantum_addr(thread_t thread) in thread_wqquantum_addr()
3250 thread_t thread) in thread_rettokern_addr()
3291 thread_mtx_lock(thread_t thread) in thread_mtx_lock()
3297 thread_mtx_unlock(thread_t thread) in thread_mtx_unlock()
3304 thread_t thread) in thread_reference()
3313 thread_require(thread_t thread) in thread_require()
3322 thread_t th) in thread_should_halt()
3336 thread_t thread = current_thread(); in thread_set_voucher_name()
3431 thread_t thread, in thread_set_mach_voucher()
3492 __unused thread_t thread, in thread_swap_mach_voucher()
3520 thread_get_voucher_origin_pid(thread_t thread, int32_t *pid) in thread_get_voucher_origin_pid()
3536 thread_get_voucher_origin_proximate_pid(thread_t thread, int32_t *origin_pid, int32_t *proximate_pi… in thread_get_voucher_origin_proximate_pid()
3562 thread_get_current_voucher_thread_group(thread_t thread) in thread_get_current_voucher_thread_group()
3583 thread_get_current_voucher_resource_coalition_id(thread_t thread) in thread_get_current_voucher_resource_coalition_id()
3617 thread_supports_cooperative_workqueue(thread_t thread) in thread_supports_cooperative_workqueue()
3629 thread_has_armed_workqueue_quantum(thread_t thread) in thread_has_armed_workqueue_quantum()
3651 thread_workq_quantum_size(thread_t thread) in thread_workq_quantum_size()
3662 thread_arm_workqueue_quantum(thread_t thread) in thread_arm_workqueue_quantum()
3697 thread_disarm_workqueue_quantum(thread_t thread) in thread_disarm_workqueue_quantum()
3714 thread_has_expired_workqueue_quantum(thread_t thread, bool should_trace) in thread_has_expired_workqueue_quantum()
3741 thread_evaluate_workqueue_quantum_expiry(thread_t thread) in thread_evaluate_workqueue_quantum_expiry()
3749 thread_has_thread_name(thread_t th) in thread_has_thread_name()
3763 thread_set_thread_name(thread_t th, const char* name) in thread_set_thread_name()
3771 thread_get_thread_name(thread_t th, char* name) in thread_get_thread_name()
3784 thread_get_runq(thread_t thread) in thread_get_runq()
3793 thread_get_runq_locked(thread_t thread) in thread_get_runq_locked()
3804 thread_set_runq_locked(thread_t thread, processor_t new_runq) in thread_set_runq_locked()
3813 thread_clear_runq(thread_t thread) in thread_clear_runq()
3821 thread_clear_runq_locked(thread_t thread) in thread_clear_runq_locked()
3829 thread_assert_runq_null(__assert_only thread_t thread) in thread_assert_runq_null()
3835 thread_assert_runq_nonnull(thread_t thread) in thread_assert_runq_nonnull()
3842 thread_set_honor_qlimit(thread_t thread) in thread_set_honor_qlimit()
3848 thread_clear_honor_qlimit(thread_t thread) in thread_clear_honor_qlimit()
3857 thread_enable_send_importance(thread_t thread, boolean_t enable) in thread_enable_send_importance()
3867 thread_get_ipc_propagate_attr(thread_t thread, struct thread_attr_for_ipc_propagation *attr) in thread_get_ipc_propagate_attr()
3921 thread_get_last_wait_duration(thread_t thread) in thread_get_last_wait_duration()
3927 thread_kern_get_pri(thread_t thr) in thread_kern_get_pri()
3933 thread_kern_set_pri(thread_t thr, integer_t pri) in thread_kern_set_pri()
3956 thread_t thread; in thread_port_with_flavor_no_senders()
4082 ctid_table_add(thread_t thread) in ctid_table_add()
4091 ctid_table_remove(thread_t thread) in ctid_table_remove()
4093 __assert_only thread_t value; in ctid_table_remove()
4100 thread_t
4109 thread_t
4112 thread_t thread = THREAD_NULL; in ctid_get_thread()
4122 thread_get_ctid(thread_t thread) in thread_get_ctid()
4139 thread_process_signature(thread_t thread, task_t task) in thread_process_signature()
4149 thread_t self = current_thread(); in thread_associate_txm_thread_stack()
4162 thread_t self = current_thread(); in thread_disassociate_txm_thread_stack()
4184 dtrace_get_thread_predcache(thread_t thread) in dtrace_get_thread_predcache()
4194 dtrace_get_thread_vtime(thread_t thread) in dtrace_get_thread_vtime()
4204 dtrace_get_thread_last_cpu_id(thread_t thread) in dtrace_get_thread_last_cpu_id()
4214 dtrace_get_thread_tracing(thread_t thread) in dtrace_get_thread_tracing()
4224 dtrace_get_thread_inprobe(thread_t thread) in dtrace_get_thread_inprobe()
4234 thread_get_kernel_stack(thread_t thread) in thread_get_kernel_stack()
4245 kasan_get_thread_data(thread_t thread) in kasan_get_thread_data()
4253 kcov_get_thread_data(thread_t thread) in kcov_get_thread_data()
4269 kcov_stksz_get_thread_stkbase(thread_t thread) in kcov_stksz_get_thread_stkbase()
4284 kcov_stksz_get_thread_stksize(thread_t thread) in kcov_stksz_get_thread_stksize()
4294 kcov_stksz_set_thread_stack(thread_t thread, vm_offset_t stack) in kcov_stksz_set_thread_stack()
4302 dtrace_calc_thread_recent_vtime(thread_t thread) in dtrace_calc_thread_recent_vtime()
4314 dtrace_set_thread_predcache(thread_t thread, uint32_t predcache) in dtrace_set_thread_predcache()
4322 dtrace_set_thread_vtime(thread_t thread, int64_t vtime) in dtrace_set_thread_vtime()
4330 dtrace_set_thread_tracing(thread_t thread, int64_t accum) in dtrace_set_thread_tracing()
4338 dtrace_set_thread_inprobe(thread_t thread, uint16_t inprobe) in dtrace_set_thread_inprobe()
4351 thread_t thread = current_thread(); in dtrace_thread_bootstrap()
4364 dtrace_thread_didexec(thread_t thread) in dtrace_thread_didexec()