Lines Matching refs:sp
1046 struct procstat *sp;
1066 for (sp = jp->ps ; sp < jp->ps + jp->nprocs ; sp++) {
1067 if (sp->pid == -1)
1069 if (sp->pid == pid) {
1070 TRACE(("Job %d: changing status of proc %d from 0x%x to 0x%x\n", jp - jobtab + 1, pid, sp->status, status));
1071 sp->status = status;
1074 if (sp->status == -1)
1076 else if (WIFSTOPPED(sp->status))