/openbmc/qemu/include/qemu/ |
H A D | event_notifier.h | 21 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 D | typedefs.h | 51 typedef struct EventNotifier EventNotifier; typedef
|
H A D | vfio-helpers.h | 29 int qemu_vfio_pci_init_irq(QEMUVFIOState *s, EventNotifier *e,
|
/openbmc/qemu/util/ |
H A D | event_notifier-posix.c | 27 void event_notifier_init_fd(EventNotifier *e, int fd) in event_notifier_init_fd() 35 int event_notifier_init(EventNotifier *e, int active) in event_notifier_init() 78 void event_notifier_cleanup(EventNotifier *e) in event_notifier_cleanup() 94 int event_notifier_get_fd(const EventNotifier *e) in event_notifier_get_fd() 99 int event_notifier_get_wfd(const EventNotifier *e) in event_notifier_get_wfd() 104 int event_notifier_set(EventNotifier *e) in event_notifier_set() 124 int event_notifier_test_and_clear(EventNotifier *e) in event_notifier_test_and_clear()
|
H A D | event_notifier-win32.c | 17 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 D | aio-win32.c | 29 EventNotifier *e; 135 EventNotifier *e, in aio_set_event_notifier() 174 EventNotifier *notifier, in aio_set_event_notifier_poll()
|
/openbmc/qemu/tests/unit/ |
H A D | test-nested-aio-poll.c | 23 EventNotifier poll_notifier; 26 EventNotifier dummy_notifier; 31 static void io_read(EventNotifier *notifier) in io_read() 46 static void io_poll_ready(EventNotifier *notifier) in io_poll_ready() 63 static void io_poll_never_ready(EventNotifier *notifier) in io_poll_never_ready()
|
H A D | test-aio.c | 25 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() 707 EventNotifier e; in test_source_timer_schedule()
|
/openbmc/qemu/hw/vfio/ |
H A D | pci.h | 34 EventNotifier e; 77 EventNotifier interrupt; /* eventfd triggered on interrupt */ 78 EventNotifier unmask; /* eventfd for unmask on QEMU bypass */ 94 EventNotifier interrupt; 95 EventNotifier kvm_interrupt; 142 EventNotifier err_notifier; 143 EventNotifier req_notifier;
|
H A D | ap.c | 39 EventNotifier req_notifier; 79 EventNotifier *notifier; in vfio_ap_register_irq_notifier() 133 EventNotifier *notifier; in vfio_ap_unregister_irq_notifier()
|
H A D | ccw.c | 50 EventNotifier io_notifier; 51 EventNotifier crw_notifier; 52 EventNotifier req_notifier; 390 EventNotifier *notifier; in vfio_ccw_register_irq_notifier() 450 EventNotifier *notifier; in vfio_ccw_unregister_irq_notifier()
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-shadow-virtqueue.h | 55 EventNotifier hdev_kick; 57 EventNotifier hdev_call; 67 EventNotifier svq_kick; 70 EventNotifier svq_call;
|
/openbmc/qemu/accel/stubs/ |
H A D | kvm-stub.c | 86 int kvm_irqchip_add_irqfd_notifier_gsi(KVMState *s, EventNotifier *n, in kvm_irqchip_add_irqfd_notifier_gsi() 87 EventNotifier *rn, int virq) in kvm_irqchip_add_irqfd_notifier_gsi() 92 int kvm_irqchip_remove_irqfd_notifier_gsi(KVMState *s, EventNotifier *n, in kvm_irqchip_remove_irqfd_notifier_gsi()
|
/openbmc/qemu/include/sysemu/ |
H A D | kvm.h | 512 int kvm_irqchip_add_irqfd_notifier_gsi(KVMState *s, EventNotifier *n, 513 EventNotifier *rn, int virq); 514 int kvm_irqchip_remove_irqfd_notifier_gsi(KVMState *s, EventNotifier *n, 516 int kvm_irqchip_add_irqfd_notifier(KVMState *s, EventNotifier *n, 517 EventNotifier *rn, qemu_irq irq); 518 int kvm_irqchip_remove_irqfd_notifier(KVMState *s, EventNotifier *n,
|
/openbmc/qemu/include/hw/remote/ |
H A D | proxy.h | 43 EventNotifier intr; 44 EventNotifier resample;
|
H A D | iohub.h | 28 EventNotifier irqfds[REMOTE_IOHUB_NB_PIRQS]; 29 EventNotifier resamplefds[REMOTE_IOHUB_NB_PIRQS];
|
/openbmc/qemu/include/hw/vfio/ |
H A D | vfio-platform.h | 37 EventNotifier *interrupt; /* eventfd triggered on interrupt */ 38 EventNotifier *unmask; /* eventfd for unmask on QEMU bypass */
|
/openbmc/qemu/block/ |
H A D | linux-aio.c | 61 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()
|
H A D | win32-aio.c | 43 EventNotifier e; 95 static void win32_aio_completion_cb(EventNotifier *e) in win32_aio_completion_cb()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | vhost.h | 36 EventNotifier masked_notifier; 37 EventNotifier error_notifier; 38 EventNotifier masked_config_notifier;
|
H A D | virtio.h | 168 EventNotifier config_notifier; 412 EventNotifier *virtio_queue_get_guest_notifier(VirtQueue *vq); 419 EventNotifier *virtio_queue_get_host_notifier(VirtQueue *vq); 421 void virtio_queue_host_notifier_read(EventNotifier *n); 427 EventNotifier *virtio_config_get_guest_notifier(VirtIODevice *vdev);
|
/openbmc/qemu/include/block/ |
H A D | aio.h | 200 EventNotifier notifier; 479 EventNotifier *notifier, 494 EventNotifier *notifier,
|
/openbmc/qemu/hw/misc/ |
H A D | ivshmem.c | 79 EventNotifier *eventfds; 259 EventNotifier *n = &s->peers[s->vm_id].eventfds[vector]; in ivshmem_vector_notify() 279 EventNotifier *n = &s->peers[s->vm_id].eventfds[vector]; in ivshmem_vector_unmask() 308 EventNotifier *n = &s->peers[s->vm_id].eventfds[vector]; in ivshmem_vector_mask() 339 EventNotifier *notifier = &s->peers[s->vm_id].eventfds[vector]; in ivshmem_vector_poll() 351 static void watch_vector_notifier(IVShmemState *s, EventNotifier *n, in watch_vector_notifier() 418 s->peers[i].eventfds = g_new0(EventNotifier, s->vectors); in resize_peers() 447 EventNotifier *n = &s->peers[s->vm_id].eventfds[vector]; in setup_interrupt()
|
/openbmc/qemu/hw/hyperv/ |
H A D | hyperv.c | 222 EventNotifier sint_set_notifier; 223 EventNotifier sint_ack_notifier; 332 static void sint_ack_handler(EventNotifier *notifier) in sint_ack_handler() 405 EventNotifier *ack_notifier = NULL; in hyperv_sint_route_new() 557 EventNotifier *notifier; 644 static int set_event_flag_handler(uint32_t conn_id, EventNotifier *notifier) in set_event_flag_handler() 678 int hyperv_set_event_flag_handler(uint32_t conn_id, EventNotifier *notifier) in hyperv_set_event_flag_handler()
|
/openbmc/qemu/contrib/ivshmem-server/ |
H A D | ivshmem-server.h | 52 EventNotifier vectors[IVSHMEM_SERVER_MAX_VECTORS]; /**< one per vector */
|