Searched refs:am_fd (Results 1 - 5 of 5) sorted by relevance

/freebsd-11-stable/contrib/amd/amd/
H A Damq_svc.c102 if (pipe(mp->am_fd) == -1) {
103 mp->am_fd[0] = -1;
104 mp->am_fd[1] = -1;
130 close(mp->am_fd[1]); /* close output end of pipe */
131 mp->am_fd[1] = -1;
135 close(mp->am_fd[0]); /* close input end of pipe */
136 mp->am_fd[0] = -1;
H A Dmap.c430 mp->am_fd[0] = -1;
431 mp->am_fd[1] = -1;
441 if (mp->am_fd[1] >= 0) { /* we have a child process */
446 err = write(mp->am_fd[1], &rv, sizeof(rv));
451 close(mp->am_fd[1]);
452 mp->am_fd[1] = -1;
466 if (mp->am_fd[1] != -1)
H A Dautil.c728 fake_mp.am_fd[1] = mp->am_fd[1];
729 mp->am_fd[1] = -1;
H A Damq_subr.c117 if (mp && mp->am_fd[0] >= 0) {
118 n = read(mp->am_fd[0], &buf, sizeof(buf));
H A Damd.h526 int am_fd[2]; /* parent child pipe fd's for sync umount */ member in struct:am_node

Completed in 108 milliseconds