Lines Matching refs:pipe

667 	struct pipe *group;
701 struct pipe { struct
702 struct pipe *next; argument
729 struct pipe *list_head;
731 struct pipe *pipe; member
794 struct pipe *body;
886 struct pipe *job_list;
2175 struct pipe *job; in check_and_run_traps()
3568 static void free_pipe_list(struct pipe *pi);
3571 static struct pipe *free_pipe(struct pipe *pi) in free_pipe()
3573 struct pipe *next; in free_pipe()
3641 static void free_pipe_list(struct pipe *pi) in free_pipe_list()
3656 static void debug_print_tree(struct pipe *pi, int lvl) in debug_print_tree()
3754 static struct pipe *new_pipe(void) in new_pipe()
3756 struct pipe *pi; in new_pipe()
3757 pi = xzalloc(sizeof(struct pipe)); in new_pipe()
3770 struct pipe *pi = ctx->pipe; in done_command()
3814 ctx->pipe->pi_inverted = ctx->ctx_inverted; in done_pipe()
3816 ctx->pipe->res_word = ctx->ctx_res_w; in done_pipe()
3818 if (type == PIPE_BG && ctx->list_head != ctx->pipe) { in done_pipe()
3823 struct pipe *pi; in done_pipe()
3828 while (pi != ctx->pipe) { in done_pipe()
3851 ctx->list_head = ctx->pipe = pi; in done_pipe()
3857 ctx->pipe->followup = type; in done_pipe()
3876 struct pipe *new_p; in done_pipe()
3881 ctx->pipe->next = new_p; in done_pipe()
3882 ctx->pipe = new_p; in done_pipe()
3916 ctx->pipe = ctx->list_head = new_pipe(); in initialize_context()
4537 static int fetch_heredocs(o_string *as_string, struct pipe *pi, int heredoc_cnt, struct in_str *inp… in fetch_heredocs()
4585 static int run_list(struct pipe *pi);
4590 static struct pipe *parse_stream(char **pstring,
4609 struct pipe *pipe_list; in parse_group()
5391 static struct pipe *parse_stream(char **pstring, in parse_stream()
5431 struct pipe *pi; in parse_stream()
5631 struct pipe *pi = ctx.list_head; in parse_stream()
5678 if (!IS_NULL_PIPE(ctx.pipe)) /* cmd | } */ in parse_stream()
7494 static int run_and_free_list(struct pipe *pi);
7512 struct pipe *pipe_list; in parse_and_run_stream()
8775 static const char *get_cmdtext(struct pipe *pi) in get_cmdtext()
8807 static void remove_job_from_table(struct pipe *pi) in remove_job_from_table()
8809 struct pipe *prev_pipe; in remove_job_from_table()
8824 static void delete_finished_job(struct pipe *pi) in delete_finished_job()
8836 static void insert_job_into_table(struct pipe *pi) in insert_job_into_table()
8838 struct pipe *job, **jobp; in insert_job_into_table()
8870 static int job_exited_or_stopped(struct pipe *pi) in job_exited_or_stopped()
8891 static int process_wait_result(struct pipe *fg_pipe, pid_t childpid, int status) in process_wait_result()
8894 struct pipe *pi; in process_wait_result()
9045 static int checkjobs(struct pipe *fg_pipe, pid_t waitfor_pid) in checkjobs()
9139 static int checkjobs_and_fg_shell(struct pipe *fg_pipe) in checkjobs_and_fg_shell()
9200 static NOINLINE int run_pipe(struct pipe *pi) in run_pipe()
9662 static int run_list(struct pipe *pi) in run_list()
9668 struct pipe *loop_top = NULL; in run_list()
9690 struct pipe *cpipe; in run_list()
10042 static int run_and_free_list(struct pipe *pi) in run_and_free_list()
11683 static struct pipe *parse_jobspec(const char *str) in parse_jobspec()
11685 struct pipe *pi; in parse_jobspec()
11713 struct pipe *job; in builtin_jobs()
11735 struct pipe *pi; in builtin_fg_bg()
11796 struct pipe *pi; in builtin_kill()
11863 # define wait_for_child_or_signal(pipe,pid) wait_for_child_or_signal(pid) argument
11865 static int wait_for_child_or_signal(struct pipe *waitfor_pipe, pid_t waitfor_pid) in wait_for_child_or_signal()
11991 struct pipe *wait_pipe; in builtin_wait()