Lines Matching refs:THREAD_NULL
686 assert(thread->handoff_thread == THREAD_NULL); in thread_terminate_self()
708 if (thread == THREAD_NULL) { in thread_ref_release()
1246 assert(vm_pageout_scan_thread == THREAD_NULL); in thread_create_internal()
1930 if (thread == THREAD_NULL) { in thread_info_internal()
2041 quantum_time = SCHED(initial_quantum_size)(THREAD_NULL); in thread_info_internal()
2911 return thread != THREAD_NULL? thread->thread_id: 0; in thread_tid()
3076 if (thread == THREAD_NULL) { in thread_dispatchqaddr()
3104 if (thread == THREAD_NULL) { in thread_wqquantum_addr()
3131 if (thread == THREAD_NULL) { in thread_rettokern_addr()
3178 if (thread != THREAD_NULL) { in thread_reference()
3271 if (THREAD_NULL == thread) { in thread_get_mach_voucher()
3311 if (THREAD_NULL == thread) { in thread_set_mach_voucher()
3736 if (thread != THREAD_NULL) { in thread_port_with_flavor_no_senders()
3741 if (thread == THREAD_NULL) { in thread_port_with_flavor_no_senders()
3822 if (thread != THREAD_NULL) { in dtrace_get_thread_predcache()
3832 if (thread != THREAD_NULL) { in dtrace_get_thread_vtime()
3842 if ((thread != THREAD_NULL) && (thread->last_processor != PROCESSOR_NULL)) { in dtrace_get_thread_last_cpu_id()
3852 if (thread != THREAD_NULL) { in dtrace_get_thread_tracing()
3862 if (thread != THREAD_NULL) { in dtrace_get_thread_inprobe()
3872 if (thread != THREAD_NULL) { in thread_get_kernel_stack()
3907 if (thread != THREAD_NULL) { in kcov_stksz_get_thread_stkbase()
3922 if (thread != THREAD_NULL) { in kcov_stksz_get_thread_stksize()
3940 if (thread != THREAD_NULL) { in dtrace_calc_thread_recent_vtime()
3957 if (thread != THREAD_NULL) { in dtrace_set_thread_predcache()
3965 if (thread != THREAD_NULL) { in dtrace_set_thread_vtime()
3973 if (thread != THREAD_NULL) { in dtrace_set_thread_tracing()
3981 if (thread != THREAD_NULL) { in dtrace_set_thread_inprobe()