Lines Matching refs:p_stat
2389 if (q->p_stat == SZOMB) { in proc_exit()
2395 msleep(&q->p_stat, &proc_list_mlock, PWAIT, "waitcoll", 0); in proc_exit()
2631 p->p_stat = SZOMB; in proc_exit()
2658 msleep(&p->p_stat, &proc_list_mlock, PWAIT, "waitcoll", 0); in proc_exit()
2661 p->p_stat = SZOMB; in proc_exit()
2766 wakeup(&child->p_stat); in reap_child_locked()
2837 wakeup(&child->p_stat); in reap_child_locked()
2952 (void)msleep(&p->p_stat, &proc_list_mlock, PWAIT, "waitcoll", 0); in wait4_nocancel()
2958 if (p->p_stat == SZOMB) { in wait4_nocancel()
3028 if (p->p_stat == SSTOP && (p->p_lflag & P_LWAITED) == 0 && in wait4_nocancel()
3077 wakeup(&p->p_stat); in wait4_nocancel()
3106 wakeup(&p->p_stat); in wait4_nocancel()
3220 (void) msleep(&p->p_stat, &proc_list_mlock, in waitid_nocancel()
3230 switch (p->p_stat) { in waitid_nocancel()
3353 wakeup(&p->p_stat); in waitid_nocancel()
3398 wakeup(&p->p_stat); in waitid_nocancel()
3445 if ((signallable != 0) && (initproc == parent) && (child->p_stat == SZOMB)) { in proc_reparentlocked()