/xen/tools/libxl/ |
A D | libxl_qmp.c | 1461 ev->tx_buf = ev->msg; in qmp_ev_callback_writable() 1462 ev->tx_buf_len = strlen(ev->msg); in qmp_ev_callback_writable() 1464 ev->id = ev->msg_id; in qmp_ev_callback_writable() 1492 while (ev->tx_buf_off < ev->tx_buf_len) { in qmp_ev_callback_writable() 1507 if (ev->tx_buf_off == ev->tx_buf_len) in qmp_ev_callback_writable() 1565 ev->rx_buf = libxl__realloc(gc, ev->rx_buf, ev->rx_buf_size); in qmp_ev_callback_readable() 1632 memmove(ev->rx_buf, ev->rx_buf + len, ev->rx_buf_used); in qmp_ev_get_next_msg() 1705 ev->id = ev->next_id++; in qmp_ev_handle_message() 1860 ev->rx_buf_size = ev->rx_buf_used = 0; in libxl__ev_qmp_init() 1897 ev->msg_id = ev->next_id++; in libxl__ev_qmp_send() [all …]
|
A D | libxl_event.c | 280 void *ev; member 310 nexus->ev = ev; in osevent_hook_pre_alloc() 409 DBG("ev_fd=%p deregister fd=%d", ev, ev->fd); in libxl__ev_fd_deregister() 503 ev->nexus->ev = 0; in time_deregister() 517 ev, rc, ev->func, ev->infinite, in time_done_debug() 524 libxl__ev_time *ev = CONTAINER_OF(abrt, *ev, abrt); in time_aborted() local 529 ev->func(egc, ev, &ev->abs, rc); in time_aborted() 1593 ev, libxl_event_type_to_string(ev->type)); in egc_run_callbacks() 1675 ev = libxl__zalloc(NOGC,sizeof(*ev)); in libxl__event_new() 1683 return ev; in libxl__event_new() [all …]
|
A D | libxl_test_timedereg.c | 30 static void occurs(libxl__egc *egc, libxl__ev_time *ev, 61 static void occurs(libxl__egc *egc, libxl__ev_time *ev, in occurs() argument 67 int off = ev - &et[0][0]; in occurs() 74 assert(ev == &et[0][1]); in occurs() 83 assert(ev == &et[1][seq-1]); in occurs() 87 assert(ev == &et[1][2]); in occurs()
|
A D | libxl_aoutils.c | 82 void xswait_timeout_callback(libxl__egc *egc, libxl__ev_time *ev, in xswait_timeout_callback() argument 87 libxl__xswait_state *xswa = CONTAINER_OF(ev, *xswa, time_ev); in xswait_timeout_callback() 132 static void datacopier_writable(libxl__egc *egc, libxl__ev_fd *ev, 214 static void datacopier_readable(libxl__egc *egc, libxl__ev_fd *ev, in datacopier_readable() argument 216 libxl__datacopier_state *dc = CONTAINER_OF(ev, *dc, toread); in datacopier_readable() 251 r = read(ev->fd, buf->buf + buf->used, in datacopier_readable() 280 hupchk.fd = ev->fd; in datacopier_readable() 319 libxl__datacopier_state *dc = CONTAINER_OF(ev, *dc, towrite); in datacopier_writable() 342 int r = write(ev->fd, buf->buf, buf->used); in datacopier_writable() 526 libxl__ev_time *ev, in async_exec_timeout() argument [all …]
|
A D | libxl_test_fdevent.c | 31 static void tfe_fd_cb(libxl__egc *egc, libxl__ev_fd *ev, in tfe_fd_cb() argument 34 libxl__test_fdevent *tfe = CONTAINER_OF(ev,*tfe,fd); in tfe_fd_cb()
|
A D | libxl_dom_suspend.c | 117 libxl__ev_time *ev, const struct timeval *requested_abs, int rc); 357 libxl__ev_time *ev, const struct timeval *requested_abs, int rc) in suspend_common_wait_guest_timeout() argument 359 libxl__domain_suspend_state *dsps = CONTAINER_OF(ev, *dsps, guest_timeout); in suspend_common_wait_guest_timeout() 593 libxl__ev_time *ev, in dm_resume_timeout() argument 597 libxl__dm_resume_state *dmrs = CONTAINER_OF(ev, *dmrs, time); in dm_resume_timeout()
|
A D | libxl_remus.c | 287 static void remus_next_checkpoint(libxl__egc *egc, libxl__ev_time *ev, 361 static void remus_next_checkpoint(libxl__egc *egc, libxl__ev_time *ev, in remus_next_checkpoint() argument 366 CONTAINER_OF(ev, *dss, rs.checkpoint_timeout); in remus_next_checkpoint()
|
A D | libxl_usb.c | 439 libxl__ev_time *ev, const struct timeval *requested_abs, int rc); 517 libxl__ao_device *aodev = CONTAINER_OF(ev, *aodev, timeout); in device_usbctrl_add_timeout() 565 libxl__ev_time *ev, const struct timeval *requested_abs, int rc); 669 libxl__ev_time *ev, const struct timeval *requested_abs, int rc) in device_usbctrl_remove_timeout() argument 672 libxl__ao_device *aodev = CONTAINER_OF(ev, *aodev, timeout); in device_usbctrl_remove_timeout() 1674 libxl__ev_time *ev, const struct timeval *requested_abs, int rc); 1828 libxl__ev_time *ev, in device_usbdev_add_timeout() argument 1833 libxl__ao_device *aodev = CONTAINER_OF(ev, *aodev, timeout); in device_usbdev_add_timeout() 1872 libxl__ev_time *ev, const struct timeval *requested_abs, int rc); 2011 libxl__ev_time *ev, const struct timeval *requested_abs, int rc) in device_usbdev_remove_timeout() argument [all …]
|
A D | libxl_internal.h | 224 typedef void libxl__ev_fd_callback(libxl__egc *egc, libxl__ev_fd *ev, 494 _hidden void libxl__ev_qmp_init(libxl__ev_qmp *ev); 495 _hidden int libxl__ev_qmp_send(libxl__egc *egc, libxl__ev_qmp *ev, 497 _hidden void libxl__ev_qmp_dispose(libxl__gc *gc, libxl__ev_qmp *ev); 789 libxl_event *ev; member 1164 _hidden int libxl__ev_fd_modify(libxl__gc*, libxl__ev_fd *ev, 1166 _hidden void libxl__ev_fd_deregister(libxl__gc*, libxl__ev_fd *ev); 1178 _hidden int libxl__ev_time_modify_rel(libxl__gc*, libxl__ev_time *ev, 1183 static inline void libxl__ev_time_init(libxl__ev_time *ev) in libxl__ev_time_init() argument 1184 { ev->func = 0; libxl__ao_abortable_init(&ev->abrt); } in libxl__ev_time_init() [all …]
|
A D | libxl_save_callout.c | 36 static void helper_stdout_readable(libxl__egc *egc, libxl__ev_fd *ev, 287 static void helper_stdout_readable(libxl__egc *egc, libxl__ev_fd *ev, in helper_stdout_readable() argument 290 libxl__save_helper_state *shs = CONTAINER_OF(ev, *shs, readable); in helper_stdout_readable()
|
A D | libxl_dom_save.c | 51 static void switch_logdirty_timeout(libxl__egc *egc, libxl__ev_time *ev, 251 static void switch_logdirty_timeout(libxl__egc *egc, libxl__ev_time *ev, in switch_logdirty_timeout() argument 255 libxl__logdirty_switch *lds = CONTAINER_OF(ev, *lds, timeout); in switch_logdirty_timeout()
|
A D | libxl_domain.c | 872 libxl_event *ev = NEW_EVENT(egc, DOMAIN_DEATH, evg->domid, evg->user); in domain_death_occurred() local 874 libxl__event_occurred(egc, ev); in domain_death_occurred() 956 libxl_event *ev = NEW_EVENT(egc, DOMAIN_SHUTDOWN, in domain_death_xswatch_callback() local 961 ev->u.domain_shutdown.shutdown_reason = in domain_death_xswatch_callback() 964 libxl__event_occurred(egc, ev); in domain_death_xswatch_callback() 1786 libxl__ev_time *ev, const struct timeval *requested_abs, int rc); 1920 static void set_vcpuonline_timeout(libxl__egc *egc, libxl__ev_time *ev, in set_vcpuonline_timeout() argument 1925 set_vcpuonline_state *svos = CONTAINER_OF(ev, *svos, timeout); in set_vcpuonline_timeout() 2128 libxl__ev_time *ev, const struct timeval *requested_abs, int rc); 2230 libxl__ev_time *ev, const struct timeval *requested_abs, int rc) in retrieve_domain_configuration_timeout() argument [all …]
|
A D | libxl_disk.c | 41 libxl_event *ev = NEW_EVENT(egc, DISK_EJECT, evg->domid, evg->user); in disk_eject_xswatch_callback() local 42 libxl_device_disk *disk = &ev->u.disk_eject.disk; in disk_eject_xswatch_callback() 75 libxl__event_occurred(egc, ev); in disk_eject_xswatch_callback() 665 static void cdrom_insert_timout(libxl__egc *egc, libxl__ev_time *ev, 1036 static void cdrom_insert_timout(libxl__egc *egc, libxl__ev_time *ev, in cdrom_insert_timout() argument 1041 libxl__cdrom_insert_state *cis = CONTAINER_OF(ev, *cis, time); in cdrom_insert_timout()
|
A D | idl.py | 281 ev = keyvar_type.lookup(e) 282 en = ev.name
|
A D | libxl_fork.c | 228 static void sigchld_selfpipe_handler(libxl__egc *egc, libxl__ev_fd *ev, 535 static void sigchld_selfpipe_handler(libxl__egc *egc, libxl__ev_fd *ev, in sigchld_selfpipe_handler() argument
|
A D | libxl_dm.c | 2798 static void device_model_qmp_cb(libxl__egc *egc, libxl__ev_qmp *ev, 2813 libxl__ev_time *ev, const struct timeval *requested_abs, int rc); 3049 static void device_model_qmp_cb(libxl__egc *egc, libxl__ev_qmp *ev, in device_model_qmp_cb() argument 3054 libxl__dm_spawn_state *dmss = CONTAINER_OF(ev, *dmss, qmp); in device_model_qmp_cb() 3059 libxl__ev_qmp_dispose(gc, ev); in device_model_qmp_cb() 3066 LOGD(ERROR, ev->domid, in device_model_qmp_cb() 3068 LOGD(DEBUG, ev->domid, ".. instead, got: %s", JSON(response)); in device_model_qmp_cb() 3078 LOGD(ERROR, ev->domid, "Unexpected QEMU status: %s", status); in device_model_qmp_cb() 3087 LOGD(ERROR, ev->domid, "QEMU did not start properly, rc=%d", rc); in device_model_qmp_cb() 3302 void devise_model_postconfig_timeout(libxl__egc *egc, libxl__ev_time *ev, in devise_model_postconfig_timeout() argument [all …]
|
A D | libxl_pci.c | 1068 static void pci_add_timeout(libxl__egc *egc, libxl__ev_time *ev, 1307 static void pci_add_timeout(libxl__egc *egc, libxl__ev_time *ev, in pci_add_timeout() argument 1311 pci_add_state *pas = CONTAINER_OF(ev, *pas, timeout); in pci_add_timeout() 1859 libxl__ev_time *ev, const struct timeval *requested_abs, int rc); 1863 libxl__ev_time *ev, const struct timeval *requested_abs, int rc); 2054 static void pci_remove_qmp_retry_timer_cb(libxl__egc *egc, libxl__ev_time *ev, in pci_remove_qmp_retry_timer_cb() argument 2059 pci_remove_state *prs = CONTAINER_OF(ev, *prs, retry_timer); in pci_remove_qmp_retry_timer_cb() 2130 static void pci_remove_timeout(libxl__egc *egc, libxl__ev_time *ev, in pci_remove_timeout() argument 2135 pci_remove_state *prs = CONTAINER_OF(ev, *prs, timeout); in pci_remove_timeout()
|
A D | libxl.c | 133 libxl_event *ev, *next; in discard_events() local 134 LIBXL_TAILQ_FOREACH_SAFE(ev, l, link, next) in discard_events() 135 libxl_event_free(0, ev); in discard_events()
|
/xen/stubdom/grub/ |
A D | mini-os.c | 418 static union xenkbd_in_event ev; variable 619 if (ev.type != XENKBD_TYPE_KEY) in console_getkey() 622 if (ev.key.keycode == 42 || ev.key.keycode == 54) { in console_getkey() 624 shift = ev.key.pressed; in console_getkey() 627 if (ev.key.keycode == 58) { in console_getkey() 631 if (ev.key.keycode == 29 || ev.key.keycode == 97) { in console_getkey() 632 control = ev.key.pressed; in console_getkey() 635 if (ev.key.keycode == 56) { in console_getkey() 636 alt = ev.key.pressed; in console_getkey() 640 if (!ev.key.pressed) in console_getkey() [all …]
|
/xen/xen/arch/x86/oprofile/ |
A D | op_model_p4.c | 354 #define ESCR_READ(escr,ev,i) do {rdmsrl(ev->bindings[(i)].escr_address, (escr));} while (0) argument 355 #define ESCR_WRITE(escr,ev,i) do {wrmsrl(ev->bindings[(i)].escr_address, (escr));} while (0) argument 478 const struct p4_event_binding *ev = NULL; in pmc_setup_one_p4_counter() local 493 ev = &(p4_events[counter_config[ctr].event - 1]); in pmc_setup_one_p4_counter() 496 if (ev->bindings[i].virt_counter & counter_bit) { in pmc_setup_one_p4_counter() 499 ESCR_READ(escr, ev, i); in pmc_setup_one_p4_counter() 508 ESCR_SET_EVENT_SELECT(escr, ev->event_select); in pmc_setup_one_p4_counter() 510 ESCR_WRITE(escr, ev, i); in pmc_setup_one_p4_counter() 516 CCCR_SET_ESCR_SELECT(cccr, ev->escr_select); in pmc_setup_one_p4_counter()
|
/xen/xen/include/asm-x86/hvm/svm/ |
A D | vmcb.h | 322 bool ev:1; member 441 bool ev:1; member
|
/xen/xen/tools/kconfig/ |
A D | qconf.cc | 707 void ConfigList::keyPressEvent(QKeyEvent* ev) in keyPressEvent() argument 714 if (ev->key() == Qt::Key_Escape && mode != fullMode && mode != listMode) { in keyPressEvent() 716 ev->accept(); in keyPressEvent() 721 Parent::keyPressEvent(ev); in keyPressEvent() 726 switch (ev->key()) { in keyPressEvent() 755 Parent::keyPressEvent(ev); in keyPressEvent() 758 ev->accept(); in keyPressEvent()
|
/xen/xen/arch/x86/hvm/svm/ |
A D | svmdebug.c | 59 vmcb->event_inj.ev, vmcb->event_inj.type, in svm_vmcb_dump()
|
/xen/tools/xl/ |
A D | xl_vmcontrol.c | 625 libxl_event *ev, void *priv) in autoconnect_console() argument 627 uint32_t bldomid = ev->domid; in autoconnect_console() 630 libxl_event_free(ctx, ev); in autoconnect_console()
|
/xen/xen/arch/x86/x86_64/ |
A D | entry.S | 741 subq $8,UREGS_rsp(%rsp) # add ec/ev to previous stack frame 748 rep; movsq # make room for ec/ev 749 1: movq UREGS_error_code(%rsp),%rax # ec/ev
|