Lines Matching refs:fd_out
601 int fd_in, fd_out; member
611 return send_all(s->fd_out, buf, len); in fd_chr_write()
676 static CharDriverState *qemu_chr_open_fd(int fd_in, int fd_out) in qemu_chr_open_fd() argument
684 s->fd_out = fd_out; in qemu_chr_open_fd()
697 int fd_out; in qemu_chr_open_file_out() local
699 TFR(fd_out = qemu_open(qemu_opt_get(opts, "path"), in qemu_chr_open_file_out()
701 if (fd_out < 0) in qemu_chr_open_file_out()
703 return qemu_chr_open_fd(-1, fd_out); in qemu_chr_open_file_out()
708 int fd_in, fd_out; in qemu_chr_open_pipe() local
720 TFR(fd_out = qemu_open(filename_out, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
721 if (fd_in < 0 || fd_out < 0) { in qemu_chr_open_pipe()
724 if (fd_out >= 0) in qemu_chr_open_pipe()
725 close(fd_out); in qemu_chr_open_pipe()
726 TFR(fd_in = fd_out = open(filename, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
730 return qemu_chr_open_fd(fd_in, fd_out); in qemu_chr_open_pipe()
737 int fd_out = qemu_opt_get_number(opts, "fdout",-1); in qemu_chr_open_fdpair() local
739 if (fd_in < 0 || fd_out < 0) in qemu_chr_open_fdpair()
742 return qemu_chr_open_fd(fd_in, fd_out); in qemu_chr_open_fdpair()
1830 static CharDriverState *qemu_chr_open_win_file(HANDLE fd_out) in qemu_chr_open_win_file() argument
1837 s->hcom = fd_out; in qemu_chr_open_win_file()
1852 HANDLE fd_out; in qemu_chr_open_win_file_out() local
1854 fd_out = CreateFile(file_out, GENERIC_WRITE, FILE_SHARE_READ, NULL, in qemu_chr_open_win_file_out()
1856 if (fd_out == INVALID_HANDLE_VALUE) in qemu_chr_open_win_file_out()
1859 return qemu_chr_open_win_file(fd_out); in qemu_chr_open_win_file_out()