Searched refs:sopipe (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/fs.d/ |
H A D | umount.c | 93 int sopipe[2]; /* pipe attached to child's stdout */ member 833 (void) close(mp->sopipe[WRPIPE]); in do_umounts() 975 if (pipe(mp->sopipe) == -1) in setup_iopipe() 978 (void) close(mp->sopipe[RDPIPE]); in setup_iopipe() 979 (void) close(mp->sopipe[WRPIPE]); in setup_iopipe() 985 (void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe() 998 (void) dup(mp->sopipe[WRPIPE]); in setup_output() 999 (void) close(mp->sopipe[WRPIPE]); in setup_output() 1017 while ((bytes = read(mp->sopipe[RDPIPE], ibuf, sizeof (ibuf))) > 0) in doio() 1020 (void) close(mp->sopipe[RDPIPE]); in doio()
|
H A D | mount.c | 160 int sopipe[2]; /* pipe attached to child's stdout */ member 1307 (void) close(vp->sopipe[WRPIPE]); in do_mounts() 1328 if (pipe(mp->sopipe) == -1) in setup_iopipe() 1331 (void) close(mp->sopipe[RDPIPE]); in setup_iopipe() 1332 (void) close(mp->sopipe[WRPIPE]); in setup_iopipe() 1338 (void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe() 1343 (void) fcntl(mp->sopipe[RDPIPE], F_SETFD, FD_CLOEXEC); in setup_iopipe() 1358 (void) dup(vp->sopipe[WRPIPE]); in setup_output() 1359 (void) close(vp->sopipe[WRPIPE]); in setup_output() 1378 while ((bytes = read(vp->sopipe[RDPIPE], ibuf, sizeof (ibuf))) > 0) in doio() [all …]
|