Lines Matching full:pfd
33 int pfd[2]; member
47 if (pipe(fds->pfd) == -1) in msg_open()
50 close(fds->pfd[0]); in msg_open()
51 close(fds->pfd[1]); in msg_open()
60 CLOSEFD(fds->pfd[0]); in msg_close()
61 CLOSEFD(fds->pfd[1]); in msg_close()
71 CLOSEFD(fds->pfd[0]); in msg_write_child()
74 rv = write(fds->pfd[1], msg, len); in msg_write_child()
88 CLOSEFD(fds->pfd[1]); in msg_write_parent()
96 rv = read(fds->pfd[0], msg, len); in msg_write_parent()
106 CLOSEFD(fds->pfd[1]); in msg_read_parent()
110 rv = read(fds->pfd[0], msg, len); in msg_read_parent()
125 CLOSEFD(fds->pfd[0]); in msg_read_child()
132 rv = write(fds->pfd[1], msg, len); in msg_read_child()