Lines Matching refs:p_pid
295 retval[0] = child_proc->p_pid;
306 proc_knote(parent_proc, NOTE_FORK | child_proc->p_pid);
479 AUDIT_ARG(pid, child_proc->p_pid);
522 thread_set_child(parent_thread, child_proc->p_pid);
599 AUDIT_ARG(pid, child_proc->p_pid);
612 thread_set_child(child_thread, child_proc->p_pid);
896 retval[0] = child_proc->p_pid;
907 proc_knote(parent_proc, NOTE_FORK | child_proc->p_pid);
1198 child_proc->p_pid = nextpid;
1203 if (child_proc->p_pid != 0) {
1204 if (pfind_locked(child_proc->p_pid) != PROC_NULL)
1210 LIST_INSERT_HEAD(PIDHASH(child_proc->p_pid), child_proc, p_hash);