Lines Matching refs:THREAD_NULL
671 assert(thread->handoff_thread == THREAD_NULL); in thread_terminate_self()
690 if (thread == THREAD_NULL) { in thread_ref_release()
1228 assert(vm_pageout_scan_thread == THREAD_NULL); in thread_create_internal()
1912 if (thread == THREAD_NULL) { in thread_info_internal()
2023 quantum_time = SCHED(initial_quantum_size)(THREAD_NULL); in thread_info_internal()
2893 return thread != THREAD_NULL? thread->thread_id: 0; in thread_tid()
3058 if (thread == THREAD_NULL) { in thread_dispatchqaddr()
3086 if (thread == THREAD_NULL) { in thread_wqquantum_addr()
3113 if (thread == THREAD_NULL) { in thread_rettokern_addr()
3160 if (thread != THREAD_NULL) { in thread_reference()
3253 if (THREAD_NULL == thread) { in thread_get_mach_voucher()
3293 if (THREAD_NULL == thread) { in thread_set_mach_voucher()
3718 if (thread != THREAD_NULL) { in thread_port_with_flavor_no_senders()
3723 if (thread == THREAD_NULL) { in thread_port_with_flavor_no_senders()
3804 if (thread != THREAD_NULL) { in dtrace_get_thread_predcache()
3814 if (thread != THREAD_NULL) { in dtrace_get_thread_vtime()
3824 if ((thread != THREAD_NULL) && (thread->last_processor != PROCESSOR_NULL)) { in dtrace_get_thread_last_cpu_id()
3834 if (thread != THREAD_NULL) { in dtrace_get_thread_tracing()
3844 if (thread != THREAD_NULL) { in dtrace_get_thread_inprobe()
3854 if (thread != THREAD_NULL) { in thread_get_kernel_stack()
3889 if (thread != THREAD_NULL) { in kcov_stksz_get_thread_stkbase()
3904 if (thread != THREAD_NULL) { in kcov_stksz_get_thread_stksize()
3922 if (thread != THREAD_NULL) { in dtrace_calc_thread_recent_vtime()
3939 if (thread != THREAD_NULL) { in dtrace_set_thread_predcache()
3947 if (thread != THREAD_NULL) { in dtrace_set_thread_vtime()
3955 if (thread != THREAD_NULL) { in dtrace_set_thread_tracing()
3963 if (thread != THREAD_NULL) { in dtrace_set_thread_inprobe()
3973 if (thread != THREAD_NULL) { in dtrace_set_thread_recover()