Lines Matching refs:ip_new_thread
826 imgp->ip_new_thread = fork_create_child(task, p, FALSE, (imgp->ip_flags & IMGPF_IS_64BIT));
827 if (imgp->ip_new_thread == NULL) {
834 thread = imgp->ip_new_thread;
1136 proc_set_task_apptype(p->task, apptype, imgp->ip_new_thread);
1143 proc_set_task_apptype(p->task, apptype, imgp->ip_new_thread);
1167 proc_set_task_apptype(p->task, apptype, imgp->ip_new_thread);
1832 if ((error = fork1(p, &imgp->ip_new_thread, PROC_CREATE_SPAWN)) != 0)
1839 p = (proc_t)get_bsdthreadtask_info(imgp->ip_new_thread);
1851 context.vc_thread = imgp->ip_new_thread;
1996 child_thread = imgp->ip_new_thread;
2121 psignal_vfork(p, p->task, imgp->ip_new_thread, SIGTRAP);
2196 task_deallocate(get_threadtask(imgp->ip_new_thread));
2197 thread_deallocate(imgp->ip_new_thread);
2214 (void)thread_resume(imgp->ip_new_thread);
2368 (void)thread_resume(imgp->ip_new_thread);
3283 ipc_thread_reset((imgp->ip_new_thread != NULL) ?
3284 imgp->ip_new_thread : current_thread());