Searched refs:sopipe (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | umount.c | 95 int sopipe[2]; /* pipe attached to child's stdout */ member 846 (void) close(mp->sopipe[WRPIPE]); in do_umounts() 988 if (pipe(mp->sopipe) == -1) in setup_iopipe() 991 (void) close(mp->sopipe[RDPIPE]); in setup_iopipe() 992 (void) close(mp->sopipe[WRPIPE]); in setup_iopipe() 998 (void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe() 1011 (void) dup(mp->sopipe[WRPIPE]); in setup_output() 1012 (void) close(mp->sopipe[WRPIPE]); in setup_output() 1030 while ((bytes = read(mp->sopipe[RDPIPE], ibuf, sizeof (ibuf))) > 0) in doio() 1033 (void) close(mp->sopipe[RDPIPE]); in doio()
|
H A D | mount.c | 158 int sopipe[2]; /* pipe attached to child's stdout */ member 1316 (void) close(vp->sopipe[WRPIPE]); in do_mounts() 1337 if (pipe(mp->sopipe) == -1) in setup_iopipe() 1340 (void) close(mp->sopipe[RDPIPE]); in setup_iopipe() 1341 (void) close(mp->sopipe[WRPIPE]); in setup_iopipe() 1347 (void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe() 1352 (void) fcntl(mp->sopipe[RDPIPE], F_SETFD, FD_CLOEXEC); in setup_iopipe() 1367 (void) dup(vp->sopipe[WRPIPE]); in setup_output() 1368 (void) close(vp->sopipe[WRPIPE]); in setup_output() 1387 while ((bytes = read(vp->sopipe[RDPIPE], ibuf, sizeof (ibuf))) > 0) in doio() [all …]
|