Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/fs.d/
H A Dumount.c103 int sopipe[2]; /* pipe attached to child's stdout */ member
860 (void) close(mp->sopipe[WRPIPE]); in do_umounts()
1008 if (pipe(mp->sopipe) == -1) in setup_iopipe()
1011 (void) close(mp->sopipe[RDPIPE]); in setup_iopipe()
1012 (void) close(mp->sopipe[WRPIPE]); in setup_iopipe()
1018 (void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe()
1031 (void) dup(mp->sopipe[WRPIPE]); in setup_output()
1032 (void) close(mp->sopipe[WRPIPE]); in setup_output()
1050 while ((bytes = read(mp->sopipe[RDPIPE], ibuf, sizeof (ibuf))) > 0) in doio()
1053 (void) close(mp->sopipe[RDPIPE]); in doio()
H A Dmount.c167 int sopipe[2]; /* pipe attached to child's stdout */ member
1323 (void) close(vp->sopipe[WRPIPE]); in do_mounts()
1344 if (pipe(mp->sopipe) == -1) in setup_iopipe()
1347 (void) close(mp->sopipe[RDPIPE]); in setup_iopipe()
1348 (void) close(mp->sopipe[WRPIPE]); in setup_iopipe()
1354 (void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe()
1359 (void) fcntl(mp->sopipe[RDPIPE], F_SETFD, FD_CLOEXEC); in setup_iopipe()
1374 (void) dup(vp->sopipe[WRPIPE]); in setup_output()
1375 (void) close(vp->sopipe[WRPIPE]); in setup_output()
1394 while ((bytes = read(vp->sopipe[RDPIPE], ibuf, sizeof (ibuf))) > 0) in doio()
[all …]