Lines Matching refs:NULL
172 thread_template.parameter = NULL;
186 thread_template.pending_promoter[1] = NULL;
221 thread_template.special_handler.next = NULL;
225 thread_template.recover = (vm_offset_t)NULL;
237 thread_template.affinity_set = NULL;
323 task->bsd_info != NULL) {
398 thread->uthread = NULL;
543 result = kernel_thread_start_priority((thread_continue_t)thread_terminate_daemon, NULL, MINPRI_KERNEL, &thread);
552 result = kernel_thread_start_priority((thread_continue_t)thread_stack_daemon, NULL, BASEPRI_PREEMPT, &thread);
576 if (first_thread == NULL)
580 if (new_thread == NULL)
589 if (new_thread->uthread == NULL) {
601 new_thread->uthread = NULL;
637 new_thread->uthread = NULL;
861 result = kernel_thread_start_priority((thread_continue_t)start, NULL, -1, &thread);
1092 if (thread == NULL)
1113 if (host_priv == NULL || thread != current_thread())
1147 return (thread_wire_internal(host_priv, thread, wired, NULL));
1171 if ((m = lck_mtx_alloc_init(funnel_lck_grp, funnel_lck_attr)) == (lck_mtx_t *)NULL) {
1204 fnl->fnl_mtxholder = NULL;
1280 thread->sched_call = (call != NULL)? call: sched_call_null;