• Home
  • Raw
  • Download

Lines Matching refs:fd_in

601     int fd_in, fd_out;  member
635 size = read(s->fd_in, buf, len); in fd_chr_read()
638 qemu_set_fd_handler2(s->fd_in, NULL, NULL, NULL, NULL); in fd_chr_read()
651 if (s->fd_in >= 0) { in fd_chr_update_read_handler()
652 if (display_type == DT_NOGRAPHIC && s->fd_in == 0) { in fd_chr_update_read_handler()
654 qemu_set_fd_handler2(s->fd_in, fd_chr_read_poll, in fd_chr_update_read_handler()
664 if (s->fd_in >= 0) { in fd_chr_close()
665 if (display_type == DT_NOGRAPHIC && s->fd_in == 0) { in fd_chr_close()
667 qemu_set_fd_handler2(s->fd_in, NULL, NULL, NULL, NULL); in fd_chr_close()
676 static CharDriverState *qemu_chr_open_fd(int fd_in, int fd_out) in qemu_chr_open_fd() argument
683 s->fd_in = fd_in; in qemu_chr_open_fd()
708 int fd_in, fd_out; in qemu_chr_open_pipe() local
719 TFR(fd_in = qemu_open(filename_in, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
721 if (fd_in < 0 || fd_out < 0) { in qemu_chr_open_pipe()
722 if (fd_in >= 0) in qemu_chr_open_pipe()
723 close(fd_in); in qemu_chr_open_pipe()
726 TFR(fd_in = fd_out = open(filename, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
727 if (fd_in < 0) in qemu_chr_open_pipe()
730 return qemu_chr_open_fd(fd_in, fd_out); in qemu_chr_open_pipe()
736 int fd_in = qemu_opt_get_number(opts, "fdin",-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()
1207 tty_serial_init(s->fd_in, ssp->speed, ssp->parity, in tty_serial_ioctl()
1215 tcsendbreak(s->fd_in, 1); in tty_serial_ioctl()
1222 ioctl(s->fd_in, TIOCMGET, &sarg); in tty_serial_ioctl()
1242 ioctl(s->fd_in, TIOCMGET, &targ); in tty_serial_ioctl()
1257 ioctl(s->fd_in, TIOCMSET, &targ); in tty_serial_ioctl()
1272 fd = s->fd_in; in qemu_chr_close_tty()