Lines Matching refs:THREAD_NULL

674 	assert(thread->handoff_thread == THREAD_NULL);  in thread_terminate_self()
693 if (thread == THREAD_NULL) { in thread_ref_release()
1204 assert(vm_pageout_scan_thread == THREAD_NULL); in thread_create_internal()
1916 if (thread == THREAD_NULL) { in thread_info_internal()
2027 quantum_time = SCHED(initial_quantum_size)(THREAD_NULL); in thread_info_internal()
2892 return thread != THREAD_NULL? thread->thread_id: 0; in thread_tid()
3057 if (thread == THREAD_NULL) { in thread_dispatchqaddr()
3085 if (thread == THREAD_NULL) { in thread_wqquantum_addr()
3112 if (thread == THREAD_NULL) { in thread_rettokern_addr()
3159 if (thread != THREAD_NULL) { in thread_reference()
3252 if (THREAD_NULL == thread) { in thread_get_mach_voucher()
3292 if (THREAD_NULL == thread) { in thread_set_mach_voucher()
3698 if (thread != THREAD_NULL) { in thread_port_with_flavor_no_senders()
3703 if (thread == THREAD_NULL) { in thread_port_with_flavor_no_senders()
3784 if (thread != THREAD_NULL) { in dtrace_get_thread_predcache()
3794 if (thread != THREAD_NULL) { in dtrace_get_thread_vtime()
3804 if ((thread != THREAD_NULL) && (thread->last_processor != PROCESSOR_NULL)) { in dtrace_get_thread_last_cpu_id()
3814 if (thread != THREAD_NULL) { in dtrace_get_thread_tracing()
3824 if (thread != THREAD_NULL) { in dtrace_get_thread_inprobe()
3834 if (thread != THREAD_NULL) { in thread_get_kernel_stack()
3869 if (thread != THREAD_NULL) { in kcov_stksz_get_thread_stkbase()
3884 if (thread != THREAD_NULL) { in kcov_stksz_get_thread_stksize()
3902 if (thread != THREAD_NULL) { in dtrace_calc_thread_recent_vtime()
3919 if (thread != THREAD_NULL) { in dtrace_set_thread_predcache()
3927 if (thread != THREAD_NULL) { in dtrace_set_thread_vtime()
3935 if (thread != THREAD_NULL) { in dtrace_set_thread_tracing()
3943 if (thread != THREAD_NULL) { in dtrace_set_thread_inprobe()
3953 if (thread != THREAD_NULL) { in dtrace_set_thread_recover()