Lines Matching refs:prog
442 static int setup_redirects(struct child_prog *prog, int squirrel[]);
1205 static int setup_redirects(struct child_prog *prog, int squirrel[]) argument
1210 for (redir=prog->redirects; redir; redir=redir->next) {
2539 struct child_prog *prog=ctx->child; local
2541 if (prog && prog->group == NULL
2542 && prog->argv == NULL
2544 && prog->redirects == NULL) {
2550 } else if (prog) {
2558 prog = pi->progs + pi->num_progs;
2560 prog->redirects = NULL;
2562 prog->argv = NULL;
2563 prog->argv_nonnull = NULL;
2565 prog->is_stopped = 0;
2567 prog->group = NULL;
2569 prog->glob_result.gl_pathv = NULL;
2570 prog->family = pi;
2572 prog->sp = 0;
2573 ctx->child = prog;
2574 prog->type = ctx->type;