Lines Matching refs:read_fd
136 aio_context_init(struct aio_context *ac, int read_fd, in aio_context_init() argument
144 ac->ac_read_fd = read_fd; in aio_context_init()
514 int error, read_fd = -1, write_fd = -1; in aio_fifo_test() local
523 read_fd = open(FIFO_PATHNAME, O_RDONLY | O_NONBLOCK); in aio_fifo_test()
524 if (read_fd == -1) { in aio_fifo_test()
539 aio_context_init(&ac, read_fd, write_fd, FIFO_LEN); in aio_fifo_test()
543 close(read_fd); in aio_fifo_test()
661 int read_fd, write_fd; in aio_pty_test() local
668 ATF_REQUIRE_MSG(openpty(&read_fd, &write_fd, NULL, NULL, NULL) == 0, in aio_pty_test()
683 aio_context_init(&ac, read_fd, write_fd, PTY_LEN); in aio_pty_test()
688 close(read_fd); in aio_pty_test()