Lines Matching full:opaque
137 static void qemu_chr_generic_open_bh(void *opaque)
139 CharDriverState *s = opaque;
227 void *opaque)
229 if (!opaque && !fd_can_read && !fd_read && !fd_event) {
236 s->handler_opaque = opaque;
289 MuxDriver *d = chr->opaque;
418 MuxDriver *d = chr->opaque;
429 static int mux_chr_can_read(void *opaque)
431 CharDriverState *chr = opaque;
432 MuxDriver *d = chr->opaque;
442 static void mux_chr_read(void *opaque, const uint8_t *buf, int size)
444 CharDriverState *chr = opaque;
445 MuxDriver *d = chr->opaque;
449 mux_chr_accept_input (opaque);
462 static void mux_chr_event(void *opaque, int event)
464 CharDriverState *chr = opaque;
465 MuxDriver *d = chr->opaque;
475 MuxDriver *d = chr->opaque;
506 chr->opaque = d;
610 FDCharDriver *s = chr->opaque;
614 static int fd_chr_read_poll(void *opaque)
616 CharDriverState *chr = opaque;
617 FDCharDriver *s = chr->opaque;
623 static void fd_chr_read(void *opaque)
625 CharDriverState *chr = opaque;
626 FDCharDriver *s = chr->opaque;
649 FDCharDriver *s = chr->opaque;
662 FDCharDriver *s = chr->opaque;
685 chr->opaque = s;
754 static int stdio_read_poll(void *opaque)
756 CharDriverState *chr = opaque;
770 static void stdio_read(void *opaque)
774 CharDriverState *chr = opaque;
930 PtyCharDriver *s = chr->opaque;
940 static int pty_chr_read_poll(void *opaque)
942 CharDriverState *chr = opaque;
943 PtyCharDriver *s = chr->opaque;
949 static void pty_chr_read(void *opaque)
951 CharDriverState *chr = opaque;
952 PtyCharDriver *s = chr->opaque;
975 PtyCharDriver *s = chr->opaque;
993 PtyCharDriver *s = chr->opaque;
1010 static void pty_chr_timer(void *opaque)
1012 struct CharDriverState *chr = opaque;
1013 PtyCharDriver *s = chr->opaque;
1030 PtyCharDriver *s = chr->opaque;
1074 chr->opaque = s;
1201 FDCharDriver *s = chr->opaque;
1268 FDCharDriver *s = chr->opaque;
1328 ParallelCharDriver *drv = chr->opaque;
1409 ParallelCharDriver *drv = chr->opaque;
1443 chr->opaque = drv;
1454 int fd = (int)(intptr_t)chr->opaque;
1500 chr->opaque = (void *)(intptr_t)fd;
1522 static int win_chr_poll(void *opaque);
1523 static int win_chr_pipe_poll(void *opaque);
1527 WinCharState *s = chr->opaque;
1551 WinCharState *s = chr->opaque;
1618 WinCharState *s = chr->opaque;
1652 WinCharState *s = chr->opaque;
1660 WinCharState *s = chr->opaque;
1682 WinCharState *s = chr->opaque;
1692 static int win_chr_poll(void *opaque)
1694 CharDriverState *chr = opaque;
1695 WinCharState *s = chr->opaque;
1717 chr->opaque = s;
1730 static int win_chr_pipe_poll(void *opaque)
1732 CharDriverState *chr = opaque;
1733 WinCharState *s = chr->opaque;
1748 WinCharState *s = chr->opaque;
1817 chr->opaque = s;
1838 chr->opaque = s;
1877 NetCharDriver *s = chr->opaque;
1882 static int udp_chr_read_poll(void *opaque)
1884 CharDriverState *chr = opaque;
1885 NetCharDriver *s = chr->opaque;
1900 static void udp_chr_read(void *opaque)
1902 CharDriverState *chr = opaque;
1903 NetCharDriver *s = chr->opaque;
1922 NetCharDriver *s = chr->opaque;
1932 NetCharDriver *s = chr->opaque;
1958 chr->opaque = s;
1987 static void tcp_chr_accept(void *opaque);
1991 TCPCharDriver *s = chr->opaque;
2000 static int tcp_chr_read_poll(void *opaque)
2002 CharDriverState *chr = opaque;
2003 TCPCharDriver *s = chr->opaque;
2062 TCPCharDriver *s = chr->opaque;
2071 TCPCharDriver *s = chr->opaque;
2094 TCPCharDriver *s = chr->opaque;
2120 TCPCharDriver *s = chr->opaque;
2125 static void tcp_chr_read(void *opaque)
2127 CharDriverState *chr = opaque;
2128 TCPCharDriver *s = chr->opaque;
2163 static void tcp_chr_connect(void *opaque)
2165 CharDriverState *chr = opaque;
2166 TCPCharDriver *s = chr->opaque;
2189 static void tcp_chr_accept(void *opaque)
2191 CharDriverState *chr = opaque;
2192 TCPCharDriver *s = chr->opaque;
2215 TCPCharDriver *s = chr->opaque;
2276 chr->opaque = s;
2336 MemoryDriver *d = chr->opaque;
2363 chr->opaque = d;
2369 MemoryDriver *d = chr->opaque;
2376 MemoryDriver *d = chr->opaque;
2379 qemu_free(chr->opaque);
2380 chr->opaque = NULL;
2386 const MemoryDriver *d = chr->opaque;
2698 static void qemu_chr_qlist_iter(QObject *obj, void *opaque)
2701 Monitor *mon = opaque;