Lines Matching defs:sp
1085 struct procstat *sp;
1149 for (sp = jp->ps ; sp < jp->ps + jp->nprocs ; sp++) {
1150 if (sp->pid == -1)
1152 if (sp->pid == pid && (sp->status == -1 ||
1153 WIFSTOPPED(sp->status))) {
1155 (int)pid, sp->status,
1158 sp->status = -1;
1161 sp->status = status;
1164 if (sp->status == -1)
1166 else if (WIFSTOPPED(sp->status))
1194 for (sp = thisjob->ps; sp < thisjob->ps + thisjob->nprocs; sp++)
1195 if (WIFSIGNALED(sp->status)) {
1196 sig = WTERMSIG(sp->status);
1197 coredump = WCOREDUMP(sp->status);