Lines Matching refs:p_stat
2422 if (q->p_stat == SZOMB) { in proc_exit()
2428 msleep(&q->p_stat, &proc_list_mlock, PWAIT, "waitcoll", 0); in proc_exit()
2664 p->p_stat = SZOMB; in proc_exit()
2691 msleep(&p->p_stat, &proc_list_mlock, PWAIT, "waitcoll", 0); in proc_exit()
2694 p->p_stat = SZOMB; in proc_exit()
2799 wakeup(&child->p_stat); in reap_child_locked()
2870 wakeup(&child->p_stat); in reap_child_locked()
2985 (void)msleep(&p->p_stat, &proc_list_mlock, PWAIT, "waitcoll", 0); in wait4_nocancel()
2991 if (p->p_stat == SZOMB) { in wait4_nocancel()
3061 if (p->p_stat == SSTOP && (p->p_lflag & P_LWAITED) == 0 && in wait4_nocancel()
3110 wakeup(&p->p_stat); in wait4_nocancel()
3139 wakeup(&p->p_stat); in wait4_nocancel()
3253 (void) msleep(&p->p_stat, &proc_list_mlock, in waitid_nocancel()
3263 switch (p->p_stat) { in waitid_nocancel()
3386 wakeup(&p->p_stat); in waitid_nocancel()
3431 wakeup(&p->p_stat); in waitid_nocancel()
3478 if ((signallable != 0) && (initproc == parent) && (child->p_stat == SZOMB)) { in proc_reparentlocked()