Home
last modified time | relevance | path

Searched full:notify (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/qemu/include/migration/
H A Dmisc.h17 #include "qemu/notify.h"
78 typedef int (*MigrationNotifyFunc)(NotifierWithReturn *notify,
82 * Register the notifier @notify to be called when a migration event occurs
89 void migration_add_notifier(NotifierWithReturn *notify,
95 void migration_add_notifier_mode(NotifierWithReturn *notify,
98 void migration_remove_notifier(NotifierWithReturn *notify);
/qemu/include/system/
H A Dsystem.h6 #include "qemu/notify.h"
19 void qemu_add_exit_notifier(Notifier *notify);
20 void qemu_remove_exit_notifier(Notifier *notify);
22 void qemu_add_machine_init_done_notifier(Notifier *notify);
23 void qemu_remove_machine_init_done_notifier(Notifier *notify);
/qemu/include/hw/
H A Dstream.h24 * @notify: Optional callback that the sink will call when the sink is
26 * @notify_opaque: opaque data to pass to notify call.
28 bool (*can_push)(StreamSink *obj, StreamCanPushNotifyFn notify,
49 stream_can_push(StreamSink *sink, StreamCanPushNotifyFn notify,
/qemu/include/qemu/
H A Dnotify.h23 void (*notify)(Notifier *notifier, void *data); member
45 /* Same as Notifier but allows .notify() to return errors */
57 NotifierWithReturnFunc notify; member
/qemu/util/
H A Dnotify.c17 #include "qemu/notify.h"
39 notifier->notify(notifier, data); in notifier_list_notify()
71 ret = notifier->notify(notifier, data, errp); in notifier_with_return_list_notify()
/qemu/accel/tcg/
H A Dtcg-accel-ops-mttcg.c31 #include "qemu/notify.h"
47 static void mttcg_force_rcu(Notifier *notify, void *data) in mttcg_force_rcu() argument
49 CPUState *cpu = container_of(notify, MttcgForceRcuNotifier, notifier)->cpu; in mttcg_force_rcu()
73 force_rcu.notifier.notify = mttcg_force_rcu; in mttcg_cpu_thread_fn()
/qemu/include/io/
H A Dtask.h47 * GDestroyNotify notify);
52 * is data to pass to it. The optional 'notify' function is used
89 * GDestroyNotify notify)
93 * task = qio_task_new(OBJECT(obj), func, opaque, notify);
178 * GDestroyNotify notify)
184 * task = qio_task_new(OBJECT(obj), func, opaque, notify);
321 GDestroyNotify notify);
H A Dnet-listener.h121 * @notify: callback to free @data
133 GDestroyNotify notify,
141 * @notify: callback to free @data
149 GDestroyNotify notify);
/qemu/include/ui/
H A Dclipboard.h4 #include "qemu/notify.h"
82 * Clipboard notify type.
95 * Clipboard notify data.
243 * Update the qemu clipboard. Notify all registered peers (including
280 * @update: notify peers about the update.
H A Dinput.h5 #include "qemu/notify.h"
74 void qemu_add_mouse_mode_change_notifier(Notifier *notify);
75 void qemu_remove_mouse_mode_change_notifier(Notifier *notify);
/qemu/ui/
H A Dgtk-clipboard.c127 QemuClipboardNotify *notify = data; in gd_clipboard_notify() local
129 switch (notify->type) { in gd_clipboard_notify()
131 gd_clipboard_update_info(gd, notify->info); in gd_clipboard_notify()
193 gd->cbpeer.notifier.notify = gd_clipboard_notify; in gd_clipboard_init()
H A Dclipboard.c124 QemuClipboardNotify notify = { in qemu_clipboard_update() local
142 notifier_list_notify(&clipboard_notifiers, &notify); in qemu_clipboard_update()
212 QemuClipboardNotify notify = { .type = QEMU_CLIPBOARD_RESET_SERIAL }; in qemu_clipboard_reset_serial() local
225 notifier_list_notify(&clipboard_notifiers, &notify); in qemu_clipboard_reset_serial()
H A Dvnc-clipboard.c229 QemuClipboardNotify *notify = data; in vnc_clipboard_notify() local
231 switch (notify->type) { in vnc_clipboard_notify()
233 vnc_clipboard_update_info(vs, notify->info); in vnc_clipboard_notify()
334 if (!vs->cbpeer.notifier.notify) { in vnc_server_cut_text_caps()
336 vs->cbpeer.notifier.notify = vnc_clipboard_notify; in vnc_server_cut_text_caps()
H A Ddbus-clipboard.c120 QemuClipboardNotify *notify = data; in dbus_clipboard_notify() local
122 switch (notify->type) { in dbus_clipboard_notify()
124 dbus_clipboard_update_info(dpy, notify->info); in dbus_clipboard_notify()
248 "swapped-signal::notify::g-name-owner", in dbus_clipboard_register()
455 dpy->clipboard_peer.notifier.notify = dbus_clipboard_notify; in dbus_clipboard_init()
/qemu/hw/char/
H A Dsclpconsole.c44 bool notify; /* qemu_notify_event() req'd if true */ member
61 scon->notify = true; in DECLARE_INSTANCE_CHECKER()
131 if (cons->notify) { in get_console_data()
132 cons->notify = false; in get_console_data()
251 scon->notify = false; in console_reset()
/qemu/hw/core/
H A Dstream.c14 stream_can_push(StreamSink *sink, StreamCanPushNotifyFn notify, in stream_can_push() argument
19 return k->can_push ? k->can_push(sink, notify, notify_opaque) : true; in stream_can_push()
/qemu/docs/specs/
H A Dacpi_pci_hotplug.rst10 Generic ACPI GPE block. Bit 1 (GPE.1) used to notify PCI hotplug/eject
18 Read by ACPI BIOS GPE.1 handler to notify OS of injection
26 Read by ACPI BIOS GPE.1 handler to notify OS of removal
/qemu/net/
H A Dcolo-compare.h21 void colo_compare_register_notifier(Notifier *notify);
22 void colo_compare_unregister_notifier(Notifier *notify);
/qemu/hw/usb/
H A Ddev-hub.c171 bool notify = false; in usb_hub_port_change() local
175 notify = true; in usb_hub_port_change()
177 return notify; in usb_hub_port_change()
200 bool notify = false; in usb_hub_port_update() local
203 notify = usb_hub_port_set(port, PORT_STAT_CONNECTION); in usb_hub_port_update()
210 return notify; in usb_hub_port_update()
216 bool notify = false; in usb_hub_port_update_timer() local
220 notify |= usb_hub_port_update(&s->ports[i]); in usb_hub_port_update_timer()
222 if (notify) { in usb_hub_port_update_timer()
/qemu/io/
H A Dnet-listener.c141 GDestroyNotify notify, in qio_net_listener_set_client_func_full() argument
151 listener->io_notify = notify; in qio_net_listener_set_client_func_full()
175 GDestroyNotify notify) in qio_net_listener_set_client_func() argument
178 notify, NULL); in qio_net_listener_set_client_func()
/qemu/hw/dma/
H A Dxilinx_axidma.c142 StreamCanPushNotifyFn notify; member
434 StreamCanPushNotifyFn notify, in xilinx_axidma_data_stream_can_push() argument
441 ds->dma->notify = notify; in xilinx_axidma_data_stream_can_push()
547 if (sid == 1 && d->notify) { in axidma_write()
548 StreamCanPushNotifyFn notifytmp = d->notify; in axidma_write()
549 d->notify = NULL; in axidma_write()
/qemu/linux-headers/linux/
H A Dvduse.h112 * Inject a config interrupt. It's usually used to notify virtio driver
203 * by VDUSE kernel module to notify userspace to consume the avail vring.
208 * Inject an interrupt for specific virtqueue. It's used to notify virtio driver
266 * @VDUSE_UPDATE_IOTLB: Notify userspace to update the memory mapping for
/qemu/hw/intc/
H A Dxive.c1139 if (xnc->notify) { in xive_source_notify()
1140 xnc->notify(xsrc->xive, srcno, pq_checked); in xive_source_notify()
1238 bool notify = false; in xive_source_esb_write() local
1244 notify = xive_source_esb_trigger(xsrc, srcno); in xive_source_esb_write()
1250 notify = xive_source_esb_trigger(xsrc, srcno); in xive_source_esb_write()
1260 notify = xive_source_esb_eoi(xsrc, srcno); in xive_source_esb_write()
1269 notify = true; in xive_source_esb_write()
1287 if (notify) { in xive_source_esb_write()
1309 bool notify = false; in xive_source_set_irq() local
1313 notify = xive_source_lsi_trigger(xsrc, srcno); in xive_source_set_irq()
[all …]
/qemu/contrib/ivshmem-client/
H A Dmain.c71 "int <peer> <vector>: notify one vector on a peer\n" in ivshmem_client_cmdline_help()
72 "int <peer> all: notify all vectors of a peer\n" in ivshmem_client_cmdline_help()
73 "int all: notify all vectors of all peers (excepting us)\n"); in ivshmem_client_cmdline_help()
/qemu/include/hw/xen/interface/
H A Devent_channel.h220 * EVTCHNOP_bind_vcpu: Specify which vcpu a channel should notify when an
223 * 1. IPI-bound channels always notify the vcpu specified at bind time.
225 * 2. Per-VCPU VIRQ channels always notify the vcpu specified at bind time.
227 * 3. All other channels notify vcpu0 by default. This default is set when

12345678910>>...12