Home
last modified time | relevance | path

Searched refs:EventNotifier (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/qemu/include/qemu/
H A Devent_notifier.h21 struct EventNotifier { struct
31 typedef void EventNotifierHandler(EventNotifier *); argument
33 int event_notifier_init(EventNotifier *, int active);
34 void event_notifier_cleanup(EventNotifier *);
35 int event_notifier_set(EventNotifier *);
36 int event_notifier_test_and_clear(EventNotifier *);
39 void event_notifier_init_fd(EventNotifier *, int fd);
40 int event_notifier_get_fd(const EventNotifier *);
41 int event_notifier_get_wfd(const EventNotifier *);
43 HANDLE event_notifier_get_handle(EventNotifier *);
H A Dtypedefs.h52 typedef struct EventNotifier EventNotifier; typedef
H A Dvfio-helpers.h29 int qemu_vfio_pci_init_irq(QEMUVFIOState *s, EventNotifier *e,
/openbmc/qemu/util/
H A Devent_notifier-win32.c17 int event_notifier_init(EventNotifier *e, int active) in event_notifier_init()
24 void event_notifier_cleanup(EventNotifier *e) in event_notifier_cleanup()
30 HANDLE event_notifier_get_handle(EventNotifier *e) in event_notifier_get_handle()
35 int event_notifier_set(EventNotifier *e) in event_notifier_set()
41 int event_notifier_test_and_clear(EventNotifier *e) in event_notifier_test_and_clear()
H A Devent_notifier-posix.c28 void event_notifier_init_fd(EventNotifier *e, int fd) in event_notifier_init_fd()
36 int event_notifier_init(EventNotifier *e, int active) in event_notifier_init()
81 void event_notifier_cleanup(EventNotifier *e) in event_notifier_cleanup()
97 int event_notifier_get_fd(const EventNotifier *e) in event_notifier_get_fd()
102 int event_notifier_get_wfd(const EventNotifier *e) in event_notifier_get_wfd()
107 int event_notifier_set(EventNotifier *e) in event_notifier_set()
127 int event_notifier_test_and_clear(EventNotifier *e) in event_notifier_test_and_clear()
H A Daio-win32.c29 EventNotifier *e;
135 EventNotifier *e, in aio_set_event_notifier()
174 EventNotifier *notifier, in aio_set_event_notifier_poll()
H A Dasync.c500 static void aio_context_notifier_cb(EventNotifier *e) in aio_notify()
510 EventNotifier *e = opaque; in aio_notify_accept()
521 static void aio_context_notifier_poll_ready(EventNotifier *e)
/openbmc/qemu/tests/unit/
H A Dtest-nested-aio-poll.c23 /* This is the EventNotifier that drives the test */
24 EventNotifier poll_notifier;
26 /* This EventNotifier is only used to wake aio_poll() */
27 EventNotifier dummy_notifier;
32 static void io_read(EventNotifier *notifier) in io_read()
47 static void io_poll_ready(EventNotifier *notifier) in io_poll_ready()
64 static void io_poll_never_ready(EventNotifier *notifier) in io_poll_never_ready()
H A Dtest-aio.c25 EventNotifier e;
73 static void dummy_io_handler_read(EventNotifier *e) in dummy_io_handler_read()
88 static void event_ready_cb(EventNotifier *e) in event_ready_cb()
103 static void set_event_notifier(AioContext *nctx, EventNotifier *notifier, in set_event_notifier()
376 EventNotifier e; in test_timer_schedule()
532 * EventNotifier. in test_source_bh_delete_from_cb()
712 EventNotifier e; in test_source_timer_schedule()
/openbmc/qemu/hw/virtio/
H A Dvhost-shadow-virtqueue.h55 EventNotifier hdev_kick;
57 EventNotifier hdev_call;
67 EventNotifier svq_kick;
70 EventNotifier svq_call;
H A Dvhost-shadow-virtqueue.c377 static void vhost_handle_guest_kick_notifier(EventNotifier *n) in vhost_handle_guest_kick_notifier()
584 static void vhost_svq_handle_call(EventNotifier *n) in vhost_svq_handle_call()
654 EventNotifier *svq_kick = &svq->svq_kick; in vhost_svq_set_svq_kick_fd()
/openbmc/qemu/accel/stubs/
H A Dkvm-stub.c82 int kvm_irqchip_add_irqfd_notifier_gsi(KVMState *s, EventNotifier *n, in kvm_irqchip_add_irqfd_notifier_gsi()
83 EventNotifier *rn, int virq) in kvm_irqchip_add_irqfd_notifier_gsi()
88 int kvm_irqchip_remove_irqfd_notifier_gsi(KVMState *s, EventNotifier *n, in kvm_irqchip_remove_irqfd_notifier_gsi()
/openbmc/qemu/include/hw/remote/
H A Dproxy.h43 EventNotifier intr;
44 EventNotifier resample;
H A Diohub.h28 EventNotifier irqfds[REMOTE_IOHUB_NB_PIRQS];
29 EventNotifier resamplefds[REMOTE_IOHUB_NB_PIRQS];
/openbmc/qemu/block/
H A Dlinux-aio.c61 EventNotifier e;
256 static void qemu_laio_completion_cb(EventNotifier *e) in qemu_laio_completion_cb()
267 EventNotifier *e = opaque; in qemu_laio_poll_cb()
274 static void qemu_laio_poll_ready(EventNotifier *opaque) in qemu_laio_poll_ready()
276 EventNotifier *e = opaque; in qemu_laio_poll_ready()
/openbmc/qemu/contrib/ivshmem-server/
H A Divshmem-server.h52 EventNotifier vectors[IVSHMEM_SERVER_MAX_VECTORS]; /**< one per vector */
/openbmc/qemu/hw/hyperv/
H A Dhyperv.c223 EventNotifier sint_set_notifier;
224 EventNotifier sint_ack_notifier;
333 static void sint_ack_handler(EventNotifier *notifier) in sint_ack_handler()
406 EventNotifier *ack_notifier = NULL; in hyperv_sint_route_new()
558 EventNotifier *notifier;
645 static int set_event_flag_handler(uint32_t conn_id, EventNotifier *notifier) in set_event_flag_handler()
679 int hyperv_set_event_flag_handler(uint32_t conn_id, EventNotifier *notifier) in hyperv_set_event_flag_handler()
H A Dhyperv_testdev.c40 EventNotifier notifier;
192 static void evt_conn_handler(EventNotifier *notifier) in evt_conn_handler()
/openbmc/qemu/hw/vfio/
H A Dccw.c50 EventNotifier io_notifier;
51 EventNotifier crw_notifier;
52 EventNotifier req_notifier;
382 EventNotifier *notifier; in vfio_ccw_register_irq_notifier()
444 EventNotifier *notifier; in vfio_ccw_unregister_irq_notifier()
/openbmc/qemu/target/s390x/kvm/
H A Dkvm_s390x.h37 int kvm_s390_assign_subch_ioeventfd(EventNotifier *notifier, uint32_t sch,
/openbmc/qemu/include/hw/hyperv/
H A Dhyperv.h60 int hyperv_set_event_flag_handler(uint32_t conn_id, EventNotifier *notifier);
/openbmc/qemu/hw/usb/
H A Du2f-emulated.c97 EventNotifier notifier;
279 static void u2f_emulated_event_handler(EventNotifier *notifier) in u2f_emulated_event_handler()
H A Dccid-card-emulated.c134 EventNotifier notifier;
363 static void card_event_handler(EventNotifier *notifier) in card_event_handler()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-bus.h83 int (*ioeventfd_assign)(DeviceState *d, EventNotifier *notifier,
/openbmc/qemu/hw/scsi/
H A Dvirtio-scsi-dataplane.c130 EventNotifier *host_notifier; in virtio_scsi_dataplane_stop_vq_bh()

12