Searched refs:jp (Results 1 - 5 of 5) sorted by relevance

/system/core/sh/
H A Djobs.c258 struct job *jp; local
263 jp = getjob(*argptr, 0);
264 if (jp->jobctl == 0)
266 out1fmt("%s", jp->ps[0].cmd);
267 for (i = 1; i < jp->nprocs; i++)
268 out1fmt(" | %s", jp->ps[i].cmd );
272 for (i = 0; i < jp->nprocs; i++)
273 if (tcsetpgrp(ttyfd, jp->ps[i].pid) != -1)
276 if (i >= jp->nprocs) {
280 restartjob(jp);
288 set_curjob(struct job *jp, int mode) argument
337 struct job *jp; local
358 restartjob(struct job *jp) argument
382 showjob(struct output *out, struct job *jp, int mode) argument
537 struct job *jp; local
584 freejob(struct job *jp) argument
606 struct job *jp; local
663 struct job *jp; local
678 struct job *jp; local
694 struct job *jp; local
777 struct job *jp; local
847 forkshell(struct job *jp, union node *n, int mode) argument
867 forkparent(struct job *jp, union node *n, int mode, pid_t pid) argument
896 forkchild(struct job *jp, union node *n, int mode, int vforked) argument
981 waitforjob(struct job *jp) argument
1047 struct job *jp; local
1153 waitproc(int block, struct job *jp, int *status) argument
1193 struct job *jp; local
[all...]
H A Deval.h47 struct job *jp; /* job structure for command */ member in struct:backcmd
H A Deval.c426 struct job *jp; local
431 jp = makejob(n, 1);
432 if (forkshell(jp, n, backgnd) == 0) {
441 exitstatus = waitforjob(jp);
491 struct job *jp; local
502 jp = makejob(n, pipelen);
513 if (forkshell(jp, lp->n, n->npipe.backgnd) == 0) {
536 exitstatus = waitforjob(jp);
555 struct job *jp; local
562 result->jp
688 struct job *jp; local
[all...]
H A Dcd.c401 struct job *jp; local
408 jp = makejob((union node *)NULL, 1);
409 if (forkshell(jp, (union node *)NULL, FORK_NOJOB) == 0) {
430 status = waitforjob(jp);
H A Dexpand.c468 if (in.jp)
469 back_exitstatus = waitforjob(in.jp);

Completed in 31 milliseconds