Home
last modified time | relevance | path

Searched refs:io_read (Results 1 – 23 of 23) sorted by relevance

/qemu/util/
H A Daio-win32.c29 IOHandler *io_read; member
66 IOHandler *io_read, in aio_set_fd_handler() argument
90 if (io_read || io_write) { in aio_set_fd_handler()
99 if (node->io_read) { in aio_set_fd_handler()
110 node->io_read = io_read; in aio_set_fd_handler()
113 if (io_read) { in aio_set_fd_handler()
197 if (node->io_read) { in aio_prepare()
240 if ((node->pfd.revents & G_IO_IN) && node->io_read) { in aio_pending()
280 (node->io_read || node->io_write)) { in aio_dispatch_handlers()
282 if ((revents & G_IO_IN) && node->io_read) { in aio_dispatch_handlers()
[all …]
H A Daio-posix.c102 IOHandler *io_read, in aio_set_fd_handler() argument
123 if (!io_read && !io_write && !io_poll) { in aio_set_fd_handler()
141 new_node->io_read = io_read; in aio_set_fd_handler()
154 new_node->pfd.events = (io_read ? G_IO_IN | G_IO_HUP | G_IO_ERR : 0); in aio_set_fd_handler()
197 EventNotifierHandler *io_read, in aio_set_event_notifier() argument
202 (IOHandler *)io_read, NULL, io_poll, in aio_set_event_notifier()
285 if (revents & (G_IO_IN | G_IO_HUP | G_IO_ERR) && node->io_read) { in aio_pending()
371 node->io_read) { in aio_dispatch_handler()
372 node->io_read(node->opaque); in aio_dispatch_handler()
H A Daio-posix.h24 IOHandler *io_read; member
/qemu/io/
H A Dchannel-util.c43 IOHandler *io_read, in qio_channel_util_set_aio_fd_handler() argument
50 aio_set_fd_handler(read_ctx, read_fd, io_read, io_write, in qio_channel_util_set_aio_fd_handler()
54 aio_set_fd_handler(read_ctx, read_fd, io_read, NULL, in qio_channel_util_set_aio_fd_handler()
H A Dchannel.c398 IOHandler *io_read, in qio_channel_set_aio_fd_handler() argument
405 klass->io_set_aio_fd_handler(ioc, read_ctx, io_read, write_ctx, io_write, in qio_channel_set_aio_fd_handler()
618 IOHandler *io_read = NULL; in qio_channel_set_fd_handlers() local
626 io_read = qio_channel_restart_read; in qio_channel_set_fd_handlers()
647 io_read = qio_channel_restart_read; in qio_channel_set_fd_handlers()
653 qio_channel_set_aio_fd_handler(ioc, read_ctx, io_read, in qio_channel_set_fd_handlers()
661 IOHandler *io_read = NULL; in qio_channel_clear_fd_handlers() local
669 io_read = NULL; in qio_channel_clear_fd_handlers()
680 io_read = qio_channel_restart_read; in qio_channel_clear_fd_handlers()
686 qio_channel_set_aio_fd_handler(ioc, read_ctx, io_read, in qio_channel_clear_fd_handlers()
H A Dchannel-file.c269 IOHandler *io_read, in qio_channel_file_set_aio_fd_handler() argument
276 qio_channel_util_set_aio_fd_handler(fioc->fd, read_ctx, io_read, in qio_channel_file_set_aio_fd_handler()
H A Dchannel-command.c336 IOHandler *io_read, in qio_channel_command_set_aio_fd_handler() argument
343 qio_channel_util_set_aio_fd_handler(cioc->readfd, read_ctx, io_read, in qio_channel_command_set_aio_fd_handler()
H A Dchannel-tls.c397 IOHandler *io_read, in qio_channel_tls_set_aio_fd_handler() argument
404 qio_channel_set_aio_fd_handler(tioc->master, read_ctx, io_read, in qio_channel_tls_set_aio_fd_handler()
H A Dchannel-null.c132 IOHandler *io_read G_GNUC_UNUSED, in qio_channel_null_set_aio_fd_handler()
H A Dchannel-socket.c903 IOHandler *io_read, in qio_channel_socket_set_aio_fd_handler() argument
910 qio_channel_util_set_aio_fd_handler(sioc->fd, read_ctx, io_read, in qio_channel_socket_set_aio_fd_handler()
/qemu/tests/unit/
H A Dtest-nested-aio-poll.c31 static void io_read(EventNotifier *notifier) in io_read() function
88 io_read, io_poll_true, io_poll_ready); in test()
93 io_read, io_poll_false, io_poll_never_ready); in test()
/qemu/include/io/
H A Dchannel-util.h69 IOHandler *io_read,
H A Dchannel.h157 IOHandler *io_read,
873 IOHandler *io_read,
/qemu/hw/nvram/
H A Dnrf51_nvm.c197 static uint64_t io_read(void *opaque, hwaddr offset, unsigned int size) in io_read() function
268 .read = io_read,
/qemu/include/block/
H A Daio.h464 IOHandler *io_read,
479 EventNotifierHandler *io_read,
/qemu/include/hw/
H A Dpcmcia.h42 uint16_t (*io_read)(PCMCIACardState *card, uint32_t address); member
/qemu/include/hw/ipack/
H A Dipack.h44 uint16_t (*io_read)(IPackDevice *dev, uint8_t addr); member
/qemu/hw/char/
H A Dipoctal232.c258 static uint16_t io_read(IPackDevice *ip, uint8_t addr) in io_read() function
579 ic->io_read = io_read; in ipoctal_class_init()
/qemu/migration/
H A Dchannel-block.c162 IOHandler *io_read, in qio_channel_block_set_aio_fd_handler() argument
H A Drdma.c3083 IOHandler *io_read, in qio_channel_rdma_set_aio_fd_handler() argument
3089 if (io_read) { in qio_channel_rdma_set_aio_fd_handler()
3091 io_read, io_write, NULL, NULL, opaque); in qio_channel_rdma_set_aio_fd_handler()
3093 io_read, io_write, NULL, NULL, opaque); in qio_channel_rdma_set_aio_fd_handler()
3096 io_read, io_write, NULL, NULL, opaque); in qio_channel_rdma_set_aio_fd_handler()
3098 io_read, io_write, NULL, NULL, opaque); in qio_channel_rdma_set_aio_fd_handler()
/qemu/hw/ipack/
H A Dtpci200.c358 if (k->io_read) { in tpci200_read_las1()
359 ret = k->io_read(ip, offset); in tpci200_read_las1()
/qemu/hw/pcmcia/
H A Dpxa2xx.c96 return pcc->io_read(s->card, offset); in pxa2xx_pcmcia_io_read()
/qemu/hw/ide/
H A Dmicrodrive.c621 pcc->io_read = md_common_read; in microdrive_class_init()