Lines Matching refs:thread_t

210 	thread_t                exception_thread;
266 static void thread_deallocate_enqueue(thread_t thread);
267 static void thread_deallocate_complete(thread_t thread);
269 __static_testable void ctid_table_remove(thread_t thread);
270 __static_testable void ctid_table_add(thread_t thread);
333 __static_testable __inline_testable void init_thread_from_template(thread_t thread);
335 init_thread_from_template(thread_t thread) in init_thread_from_template()
354 thread_ro_create(task_t parent_task, thread_t th, thread_ro_t tro_tpl) in thread_ro_create()
366 thread_ro_destroy(thread_t th) in thread_ro_destroy()
381 thread_t
424 thread_is_active(thread_t thread) in thread_is_active()
432 thread_t thread = current_thread(); in thread_corpse_continue()
462 thread_t thread = current_thread(); in thread_terminate_self()
755 thread_ref_release(thread_t thread) in thread_ref_release()
768 thread_deallocate_safe(thread_t thread) in thread_deallocate_safe()
777 thread_deallocate(thread_t thread) in thread_deallocate()
786 thread_t thread) in thread_deallocate_complete()
861 queue_remove(&terminated_threads, thread, thread_t, threads); in thread_deallocate_complete()
883 return thread_deallocate((thread_t)thread_inspect); in thread_inspect_deallocate()
895 return thread_deallocate((thread_t)thread_read); in thread_read_deallocate()
910 thread_t thread; in thread_exception_queue_invoke()
978 thread_t thread, in thread_exception_enqueue()
1015 thread_t dst_thread, in thread_copy_resource_info()
1016 thread_t src_thread) in thread_copy_resource_info()
1038 thread_t thread = mpsc_queue_element(e, struct thread, mpsc_links); in thread_terminate_queue_invoke()
1080 queue_remove(&task->threads, thread, thread_t, task_threads); in thread_terminate_queue_invoke()
1094 queue_remove(&threads, thread, thread_t, threads); in thread_terminate_queue_invoke()
1096 queue_enter(&terminated_threads, thread, thread_t, threads); in thread_terminate_queue_invoke()
1131 thread_t thread = mpsc_queue_element(e, struct thread, mpsc_links); in thread_deallocate_queue_invoke()
1147 thread_t thread) in thread_terminate_enqueue()
1162 thread_t thread) in thread_deallocate_enqueue()
1176 thread_t th_remove; in thread_terminate_crashed_threads()
1208 thread_t thread = mpsc_queue_element(elm, struct thread, mpsc_links); in thread_stack_queue_invoke()
1233 thread_t thread) in thread_stack_enqueue()
1305 thread_t *out_thread) in thread_create_internal()
1307 thread_t new_thread; in thread_create_internal()
1543 queue_enter(&parent_task->threads, new_thread, thread_t, task_threads); in thread_create_internal()
1549 queue_enter(&threads, new_thread, thread_t, threads); in thread_create_internal()
1595 DTRACE_PROC1(lwp__create, thread_t, *out_thread); in thread_create_internal()
1622 thread_t *new_thread, in thread_create_with_options_internal()
1628 thread_t thread; in thread_create_with_options_internal()
1667 thread_t *new_thread) in thread_create_immovable()
1676 thread_t *new_thread) in thread_create_from_user()
1686 thread_t *new_thread, in thread_create_with_continuation()
1702 thread_t *new_thread) in thread_create_waiting_internal()
1705 thread_t thread; in thread_create_waiting_internal()
1761 thread_t *new_thread) in main_thread_create_waiting()
1774 thread_t *new_thread, in thread_create_running_internal2()
1778 thread_t thread; in thread_create_running_internal2()
1842 thread_t *new_thread);
1850 thread_t *new_thread) in thread_create_running()
1863 thread_t *new_thread) in thread_create_running_from_user()
1874 thread_t *new_thread, in thread_create_workq_waiting()
1903 thread_t *new_thread) in thread_create_aio_workq_waiting()
1928 thread_t *new_thread) in kernel_thread_create()
1931 thread_t thread; in kernel_thread_create()
1963 thread_t *new_thread) in kernel_thread_start_priority()
1966 thread_t thread; in kernel_thread_start_priority()
1986 thread_t *new_thread) in kernel_thread_start()
1994 retrieve_thread_basic_info(thread_t thread, thread_basic_info_t basic_info) in retrieve_thread_basic_info()
2069 thread_t thread, in thread_info_internal()
2269 thread_t thread, in thread_read_times()
2308 thread_t thread, in thread_wire_internal()
2344 thread_t thread __unused, in thread_wire()
2383 thread_floor_boost_set_promotion_locked(thread_t thread) in thread_floor_boost_set_promotion_locked()
2408 thread_t thread = current_thread(); in thread_priority_floor_start()
2437 thread_t thread = current_thread(); in thread_priority_floor_end()
2462 thread_t thread, in thread_ast_mach_exception()
2509 thread_t thread, in thread_guard_violation()
2519 extern void rejected_syscall_guard_ast(thread_t __unused t, mach_exception_data_type_t code, mach_e…
2532 guard_ast(thread_t t, in guard_ast()
2560 mach_exception_ast(thread_t t) in mach_exception_ast()
2609 thread_t thread = current_thread(); in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
2814 thread_update_io_stats(thread_t thread, int size, int io_flags) in thread_update_io_stats()
2889 thread_t thread = current_thread(); in thread_cpulimit_remaining()
2913 thread_t thread = current_thread(); in thread_cpulimit_interval_has_expired()
2930 thread_t thread = current_thread(); in thread_cpulimit_restart()
2945 thread_t thread = current_thread(); in thread_get_cpulimit()
2998 thread_t thread = current_thread(); in thread_set_cpulimit()
3094 thread_t thread, in thread_sched_call()
3123 thread_t thread) in thread_tid()
3139 thread_c_switch(thread_t thread) in thread_c_switch()
3145 thread_set_tag(thread_t th, uint16_t tag) in thread_set_tag()
3151 thread_get_tag(thread_t th) in thread_get_tag()
3157 thread_last_run_time(thread_t th) in thread_last_run_time()
3186 thread_shared_rsrc_policy_get(thread_t thread, cluster_shared_rsrc_type_t type) in thread_shared_rsrc_policy_get()
3197 thread_shared_rsrc_policy_set(thread_t thread, __unused uint32_t index, cluster_shared_rsrc_type_t … in thread_shared_rsrc_policy_set()
3227 thread_shared_rsrc_policy_clear(thread_t thread, cluster_shared_rsrc_type_t type, shared_rsrc_polic… in thread_shared_rsrc_policy_clear()
3269 thread_shared_rsrc_policy_get(__unused thread_t thread, __unused cluster_shared_rsrc_type_t type) in thread_shared_rsrc_policy_get()
3275 thread_shared_rsrc_policy_set(thread_t thread, uint32_t index, __unused cluster_shared_rsrc_type_t … in thread_shared_rsrc_policy_set()
3281 thread_shared_rsrc_policy_clear(thread_t thread, __unused cluster_shared_rsrc_type_t type, __unused… in thread_shared_rsrc_policy_clear()
3290 thread_t thread) in thread_dispatchqaddr()
3320 thread_wqquantum_addr(thread_t thread) in thread_wqquantum_addr()
3345 thread_t thread) in thread_rettokern_addr()
3386 thread_mtx_lock(thread_t thread) in thread_mtx_lock()
3392 thread_mtx_unlock(thread_t thread) in thread_mtx_unlock()
3399 thread_t thread) in thread_reference()
3408 thread_require(thread_t thread) in thread_require()
3417 thread_t th) in thread_should_halt()
3431 thread_t thread = current_thread(); in thread_set_voucher_name()
3526 thread_t thread, in thread_set_mach_voucher()
3587 __unused thread_t thread, in thread_swap_mach_voucher()
3615 thread_get_voucher_origin_pid(thread_t thread, int32_t *pid) in thread_get_voucher_origin_pid()
3631 thread_get_voucher_origin_proximate_pid(thread_t thread, int32_t *origin_pid, int32_t *proximate_pi… in thread_get_voucher_origin_proximate_pid()
3657 thread_get_current_voucher_thread_group(thread_t thread) in thread_get_current_voucher_thread_group()
3678 thread_get_current_voucher_resource_coalition_id(thread_t thread) in thread_get_current_voucher_resource_coalition_id()
3712 thread_supports_cooperative_workqueue(thread_t thread) in thread_supports_cooperative_workqueue()
3724 thread_has_armed_workqueue_quantum(thread_t thread) in thread_has_armed_workqueue_quantum()
3746 thread_workq_quantum_size(thread_t thread) in thread_workq_quantum_size()
3757 thread_arm_workqueue_quantum(thread_t thread) in thread_arm_workqueue_quantum()
3792 thread_disarm_workqueue_quantum(thread_t thread) in thread_disarm_workqueue_quantum()
3809 thread_has_expired_workqueue_quantum(thread_t thread, bool should_trace) in thread_has_expired_workqueue_quantum()
3836 thread_evaluate_workqueue_quantum_expiry(thread_t thread) in thread_evaluate_workqueue_quantum_expiry()
3844 thread_has_thread_name(thread_t th) in thread_has_thread_name()
3858 thread_set_thread_name(thread_t th, const char* name) in thread_set_thread_name()
3866 thread_get_thread_name(thread_t th, char* name) in thread_get_thread_name()
3879 thread_get_runq(thread_t thread) in thread_get_runq()
3888 thread_get_runq_locked(thread_t thread) in thread_get_runq_locked()
3899 thread_set_runq_locked(thread_t thread, processor_t new_runq) in thread_set_runq_locked()
3908 thread_clear_runq(thread_t thread) in thread_clear_runq()
3916 thread_clear_runq_locked(thread_t thread) in thread_clear_runq_locked()
3924 thread_assert_runq_null(__assert_only thread_t thread) in thread_assert_runq_null()
3930 thread_assert_runq_nonnull(thread_t thread) in thread_assert_runq_nonnull()
3937 thread_set_honor_qlimit(thread_t thread) in thread_set_honor_qlimit()
3943 thread_clear_honor_qlimit(thread_t thread) in thread_clear_honor_qlimit()
3952 thread_enable_send_importance(thread_t thread, boolean_t enable) in thread_enable_send_importance()
3962 thread_get_ipc_propagate_attr(thread_t thread, struct thread_attr_for_ipc_propagation *attr) in thread_get_ipc_propagate_attr()
4016 thread_get_last_wait_duration(thread_t thread) in thread_get_last_wait_duration()
4022 thread_kern_get_pri(thread_t thr) in thread_kern_get_pri()
4028 thread_kern_set_pri(thread_t thr, integer_t pri) in thread_kern_set_pri()
4049 thread_t thread; in thread_port_with_flavor_no_senders()
4174 ctid_table_add(thread_t thread) in ctid_table_add()
4183 ctid_table_remove(thread_t thread) in ctid_table_remove()
4185 __assert_only thread_t value; in ctid_table_remove()
4192 thread_t
4201 thread_t
4204 thread_t thread = THREAD_NULL; in ctid_get_thread()
4214 thread_get_ctid(thread_t thread) in thread_get_ctid()
4231 thread_process_signature(thread_t thread, task_t task) in thread_process_signature()
4241 thread_t self = current_thread(); in thread_associate_txm_thread_stack()
4254 thread_t self = current_thread(); in thread_disassociate_txm_thread_stack()
4276 dtrace_get_thread_predcache(thread_t thread) in dtrace_get_thread_predcache()
4286 dtrace_get_thread_vtime(thread_t thread) in dtrace_get_thread_vtime()
4296 dtrace_get_thread_last_cpu_id(thread_t thread) in dtrace_get_thread_last_cpu_id()
4306 dtrace_get_thread_tracing(thread_t thread) in dtrace_get_thread_tracing()
4316 dtrace_get_thread_inprobe(thread_t thread) in dtrace_get_thread_inprobe()
4326 thread_get_kernel_stack(thread_t thread) in thread_get_kernel_stack()
4337 kasan_get_thread_data(thread_t thread) in kasan_get_thread_data()
4345 kcov_get_thread_data(thread_t thread) in kcov_get_thread_data()
4361 kcov_stksz_get_thread_stkbase(thread_t thread) in kcov_stksz_get_thread_stkbase()
4376 kcov_stksz_get_thread_stksize(thread_t thread) in kcov_stksz_get_thread_stksize()
4386 kcov_stksz_set_thread_stack(thread_t thread, vm_offset_t stack) in kcov_stksz_set_thread_stack()
4394 dtrace_calc_thread_recent_vtime(thread_t thread) in dtrace_calc_thread_recent_vtime()
4406 dtrace_set_thread_predcache(thread_t thread, uint32_t predcache) in dtrace_set_thread_predcache()
4414 dtrace_set_thread_vtime(thread_t thread, int64_t vtime) in dtrace_set_thread_vtime()
4422 dtrace_set_thread_tracing(thread_t thread, int64_t accum) in dtrace_set_thread_tracing()
4430 dtrace_set_thread_inprobe(thread_t thread, uint16_t inprobe) in dtrace_set_thread_inprobe()
4443 thread_t thread = current_thread(); in dtrace_thread_bootstrap()
4457 dtrace_thread_didexec(thread_t thread) in dtrace_thread_didexec()