Lines Matching refs:procpid
285 if (j->ppid == procpid && in j_exit()
289 (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid))))) { in j_exit()
310 if (kshpid == procpid && restore_ttypgrp >= 0) { in j_exit()
472 (int)procpid); in exchild()
490 j->ppid = procpid; in exchild()
521 p->pid = cldpid ? cldpid : (procpid = getpid()); in exchild()
721 if (j->ppid == procpid && j->state == PRUNNING) in waitfor()
732 if (j->ppid != procpid) { in waitfor()
916 if (j->ppid == procpid && j->state == PSTOPPED) in j_stopped_running()
919 if (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid && in j_stopped_running()
920 j->ppid == procpid && j->state == PRUNNING) in j_stopped_running()
1098 kill(procpid, SIGCHLD); in j_startjob()
1332 if (j->ppid == procpid && !(j->flags & JF_STARTED)) { in j_sigchld()
1820 if ((j->flags & JF_ZOMBIE) && j->ppid == procpid) in remove_job()