/qemu/io/ |
A D | channel-watch.c | 40 int revents; member 72 return ssource->fd.revents & ssource->condition; in qio_channel_fd_source_check() 85 ssource->fd.revents & ssource->condition, in qio_channel_fd_source_dispatch() 137 ssource->revents = 0; in qio_channel_socket_source_check() 143 ssource->revents |= G_IO_IN; in qio_channel_socket_source_check() 146 ssource->revents |= G_IO_OUT; in qio_channel_socket_source_check() 149 ssource->revents |= G_IO_PRI; in qio_channel_socket_source_check() 152 return ssource->revents; in qio_channel_socket_source_check() 201 ssource->fdwrite.revents; in qio_channel_fd_pair_source_check() 215 ssource->fdwrite.revents; in qio_channel_fd_pair_source_dispatch() [all …]
|
/qemu/util/ |
A D | aio-win32.c | 54 node->pfd.revents = 0; in aio_remove_fd_handler() 208 node->pfd.revents = 0; in aio_prepare() 210 node->pfd.revents |= G_IO_IN; in aio_prepare() 215 node->pfd.revents |= G_IO_OUT; in aio_prepare() 236 if (node->pfd.revents && node->io_notify) { in aio_pending() 241 if ((node->pfd.revents & G_IO_IN) && node->io_read) { in aio_pending() 266 int revents = node->pfd.revents; in aio_dispatch_handlers() local 271 node->pfd.revents = 0; in aio_dispatch_handlers() 282 node->pfd.revents = 0; in aio_dispatch_handlers() 283 if ((revents & G_IO_IN) && node->io_read) { in aio_dispatch_handlers() [all …]
|
A D | aio-posix.c | 38 int revents) in aio_add_ready_handler() argument 41 node->pfd.revents = revents; in aio_add_ready_handler() 79 node->pfd.revents = 0; in aio_remove_fd_handler() 282 int revents; in aio_pending() local 285 revents = node->pfd.revents & node->pfd.events; in aio_pending() 325 int revents; in aio_dispatch_handler() local 327 revents = node->pfd.revents & node->pfd.events; in aio_dispatch_handler() 328 node->pfd.revents = 0; in aio_dispatch_handler() 342 trace_poll_add(ctx, node, node->pfd.fd, revents); in aio_dispatch_handler() 371 (revents & (G_IO_IN | G_IO_HUP | G_IO_ERR)) && in aio_dispatch_handler() [all …]
|
A D | main-loop.c | 356 int revents[MAXIMUM_WAIT_OBJECTS]; 383 w->revents[w->num] = 0; 402 w->revents[i] = w->revents[i + 1]; 444 int revents = 0; 447 revents |= G_IO_IN; 450 revents |= G_IO_OUT; 453 revents |= G_IO_PRI; 455 pfd->revents = revents & pfd->events; 528 w->revents[i] = poll_fds[n_poll_fds + i].revents; 531 if (w->revents[i] && w->func[i]) {
|
A D | fdmon-poll.c | 84 int revents = pollfds[i].revents; in fdmon_poll_wait() local 86 if (revents) { in fdmon_poll_wait() 87 aio_add_ready_handler(ready_list, nodes[i], revents); in fdmon_poll_wait()
|
A D | fdmon-epoll.c | 83 int revents = (ev & EPOLLIN ? G_IO_IN : 0) | in fdmon_epoll_wait() local 89 aio_add_ready_handler(ready_list, node, revents); in fdmon_epoll_wait()
|
A D | aio-posix.h | 45 int revents);
|
A D | trace-events | 8 poll_add(void *ctx, void *node, int fd, unsigned revents) "ctx %p node %p fd %d revents 0x%x"
|
/qemu/audio/ |
A D | sndioaudio.c | 166 pfd->revents = 0; in sndio_poll_wait() 176 int revents; in sndio_poll_event() local 187 self->pfds[index].revents = event; in sndio_poll_event() 193 revents = sio_revents(self->hdl, self->pfds); in sndio_poll_event() 195 if (revents & POLLOUT) { in sndio_poll_event() 203 if (revents & POLLIN) { in sndio_poll_event()
|
A D | trace-events | 4 alsa_revents(int revents) "revents = %d"
|
A D | alsaaudio.c | 160 unsigned short revents; in alsa_poll_handler() local 175 hlp->count, &revents); in alsa_poll_handler() 181 if (!(revents & hlp->mask)) { in alsa_poll_handler() 182 trace_alsa_revents(revents); in alsa_poll_handler()
|
/qemu/chardev/ |
A D | char-pty.c | 97 pfd.revents = 0; in pty_chr_update_read_handler() 101 if (pfd.revents & G_IO_HUP) { in pty_chr_update_read_handler() 124 pfd.revents = 0; in char_pty_chr_write() 127 if (!(pfd.revents & G_IO_HUP) && (pfd.revents & G_IO_OUT)) { in char_pty_chr_write()
|
/qemu/subprojects/libvhost-user/ |
A D | libvhost-user-glib.c | 55 return src->gfd.revents & src->gfd.events; in vug_src_check() 65 ((vu_watch_cb)cb)(src->dev, src->gfd.revents, data); in vug_src_dispatch()
|
/qemu/docs/devel/ |
A D | lockcnt.rst | 9 if (ioh->revents & G_IO_OUT) { 25 if (ioh->revents & G_IO_OUT) { 42 if (ioh->revents & G_IO_OUT) { 240 if (ioh->revents & G_IO_OUT) { 270 if (ioh->revents & G_IO_OUT) {
|
/qemu/migration/ |
A D | postcopy-ram.c | 1013 if (pfd[1].revents) { in postcopy_ram_fault_thread() 1028 if (pfd[0].revents) { in postcopy_ram_fault_thread() 1092 if (pfd[index].revents) { in postcopy_ram_fault_thread() 1098 if (pfd[index].revents & POLLERR) { in postcopy_ram_fault_thread() 1118 pfd[index].revents); in postcopy_ram_fault_thread()
|
A D | rdma.c | 1532 pfds[0].revents = 0; in qemu_rdma_wait_comp_channel() 1536 pfds[1].revents = 0; in qemu_rdma_wait_comp_channel() 1542 if (pfds[0].revents) { in qemu_rdma_wait_comp_channel() 1546 if (pfds[1].revents) { in qemu_rdma_wait_comp_channel() 2501 .revents = 0 in qemu_get_cm_event_timeout() 2515 } else if (poll_fd.revents & POLLIN) { in qemu_get_cm_event_timeout() 2523 poll_fd.revents); in qemu_get_cm_event_timeout()
|
/qemu/qga/ |
A D | channel-win32.c | 160 success = c->cb(watch->pollfd.revents, c->user_data); in ga_channel_dispatch()
|
/qemu/include/standard-headers/linux/ |
A D | fuse.h | 964 uint32_t revents; member
|
/qemu/net/ |
A D | slirp.c | 356 return slirp_gio_to_poll(g_array_index(pollfds, GPollFD, idx).revents); in net_slirp_get_revents()
|
/qemu/linux-user/ |
A D | syscall_defs.h | 706 abi_short revents; /* returned events */ member
|
A D | syscall.c | 1605 target_pfd[i].revents = tswap16(pfd[i].revents); in do_ppoll()
|