Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/fs.d/
H A Dumount.c104 int sepipe[2]; /* pipe attached to child's stderr */ member
861 (void) close(mp->sepipe[WRPIPE]); in do_umounts()
1010 if (pipe(mp->sepipe) == -1) { in setup_iopipe()
1019 (void) fcntl(mp->sepipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe()
1035 (void) dup(mp->sepipe[WRPIPE]); in setup_output()
1036 (void) close(mp->sepipe[WRPIPE]); in setup_output()
1048 while ((bytes = read(mp->sepipe[RDPIPE], ibuf, sizeof (ibuf))) > 0) in doio()
1054 (void) close(mp->sepipe[RDPIPE]); in doio()
H A Dmount.c168 int sepipe[2]; /* pipe attached to child's stderr */ member
1324 (void) close(vp->sepipe[WRPIPE]); in do_mounts()
1346 if (pipe(mp->sepipe) == -1) { in setup_iopipe()
1355 (void) fcntl(mp->sepipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe()
1360 (void) fcntl(mp->sepipe[RDPIPE], F_SETFD, FD_CLOEXEC); in setup_iopipe()
1378 (void) dup(vp->sepipe[WRPIPE]); in setup_output()
1379 (void) close(vp->sepipe[WRPIPE]); in setup_output()
1392 while ((bytes = read(vp->sepipe[RDPIPE], ibuf, sizeof (ibuf))) > 0) in doio()
1398 (void) close(vp->sepipe[RDPIPE]); in doio()