Lines Matching refs:pipe

200 	struct pipe *list_head;
201 struct pipe *pipe; member
232 struct pipe *group; /* if non-NULL, first in group or subshell */
238 struct pipe *family; /* pointer back to the child's parent pipe */
244 struct pipe { struct
256 struct pipe *next; /* to track background commands */ argument
299 static struct pipe *job_list;
440 static int free_pipe_list(struct pipe *head, int indent);
441 static int free_pipe(struct pipe *pi, int indent);
446 static int run_list_real(struct pipe *pi);
450 static int run_pipe_real(struct pipe *pi);
489 static int checkjobs(struct pipe* fg_pipe);
490 static void insert_bg_job(struct pipe *pi);
491 static void remove_bg_job(struct pipe *pi);
654 struct pipe *pi=NULL; in builtin_fg_bg()
725 struct pipe *job; in builtin_jobs()
1353 static void insert_bg_job(struct pipe *pi)
1355 struct pipe *thejob;
1373 memcpy(thejob, pi, sizeof(struct pipe));
1396 static void remove_bg_job(struct pipe *pi)
1398 struct pipe *prev_pipe;
1420 static int checkjobs(struct pipe* fg_pipe)
1425 struct pipe *pi;
1535 static int run_pipe_real(struct pipe *pi)
1689 if (pipe(pipefds)<0) perror_msg_and_die("pipe");
1762 static int run_list_real(struct pipe *pi)
1767 struct pipe *rpipe;
1937 static int free_pipe(struct pipe *pi, int indent)
2002 static int free_pipe_list(struct pipe *head, int indent)
2005 struct pipe *pi, *next;
2019 static int run_list(struct pipe *pi)
2343 static struct pipe *new_pipe(void)
2345 struct pipe *pi;
2346 pi = xmalloc(sizeof(struct pipe));
2357 ctx->pipe=NULL;
2363 ctx->pipe=ctx->list_head;
2549 struct pipe *pi=ctx->pipe;
2593 struct pipe *new_p;
2596 ctx->pipe->followup = type;
2597 ctx->pipe->r_mode = ctx->w;
2599 ctx->pipe->next = new_p;
2600 ctx->pipe = new_p;
2662 FILE *generate_stream_from_list(struct pipe *head)
2667 if (pipe(channel)<0) perror_msg_and_die("pipe");