Home
last modified time | relevance | path

Searched refs:wpipe (Results 1 – 2 of 2) sorted by relevance

/netbsd/sys/kern/
H A Dsys_pipe.c257 wf->f_pipe = wpipe; in pipe1()
270 pipeclose(wpipe); in pipe1()
585 if (wpipe == NULL || (wpipe->pipe_state & PIPE_EOF) != 0) { in pipe_write()
589 ++wpipe->pipe_busy; in pipe_write()
694 pipeselwakeup(wpipe, wpipe, POLL_IN); in pipe_write()
743 pipeselwakeup(wpipe, wpipe, POLL_IN); in pipe_write()
750 pipeunlock(wpipe); in pipe_write()
838 if (wpipe == NULL) in pipe_poll()
1082 (wpipe == NULL) || (wpipe->pipe_state & PIPE_EOF)) { in filt_piperead()
1107 if ((wpipe == NULL) || (wpipe->pipe_state & PIPE_EOF)) { in filt_pipewrite()
[all …]
/netbsd/external/bsd/nvi/dist/ipc/
H A Dip_run.c45 static int channel(int rpipe[2], int wpipe[2]);
62 int pflag, rpipe[2], wpipe[2]; local
125 if (channel(rpipe, wpipe) == -1)
128 ipvi->ofd = wpipe[1];
135 arg_format(execp, &argc, &argv, wpipe[0], rpipe[1]);
144 (void)close(wpipe[1]);
167 (void)close(wpipe[0]);
187 channel(int rpipe[2], int wpipe[2]) in channel()
190 if ((x = pipe(rpipe) == -1) || pipe(wpipe) == -1) { in channel()
202 wpipe[0] = sockets[1]; in channel()
[all …]