/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_event.c | 358 ev->abrt.ao = ao; in time_register_abortable() 898 ds->w.ao = ao; in libxl__ev_devstate_wait() 987 dc->abrt.ao = ao; in libxl__domaindeathcheck_start() 1419 ao->how.callback(CTX, ao->rc, ao->how.u.for_callback); in egc_run_callbacks() 1929 ao = calloc(1, sizeof(*ao)); in libxl__ao_create() 1948 ao, how, ao->how.callback, ao->poller); in libxl__ao_create() 1955 if (ao) libxl__ao__destroy(ctx, ao); in libxl__ao_create() 1977 ao, ao->poller, in libxl__ao_inprogress() 2130 libxl__ao *ao = abrt->ao; in libxl__ao_abortable_register() local 2152 libxl__ao *ao = abrt->ao; in libxl__ao_abortable_deregister() local [all …]
|
A D | libxl_test_fdevent.c | 10 libxl__ao *ao; member 18 static void tfe_init(libxl__test_fdevent *tfe, libxl__ao *ao) in tfe_init() argument 20 tfe->ao = ao; in tfe_init() 35 STATE_AO_GC(tfe->ao); in tfe_fd_cb() 43 STATE_AO_GC(tfe->ao); in tfe_abrt_cb() 50 STATE_AO_GC(tfe->ao); in fdevent_complete() 52 libxl__ao_complete(egc, ao, rc); in fdevent_complete() 64 tfe_init(tfe, ao); in libxl_test_fdevent() 69 tfe->abrt.ao = ao; in libxl_test_fdevent()
|
A D | libxl_colo_proxy.c | 48 STATE_AO_GC(cps->ao); in colo_proxy_send() 114 STATE_AO_GC(cps->ao); in colo_userspace_proxy_recv() 122 LOGD(ERROR, ao->domid, in colo_userspace_proxy_recv() 157 STATE_AO_GC(cps->ao); in colo_proxy_recv() 214 STATE_AO_GC(cps->ao); in colo_proxy_setup() 239 LOGD(ERROR, ao->domid, "connect error"); in colo_proxy_setup() 270 LOGD(ERROR, ao->domid, "netlink bind error"); in colo_proxy_setup() 279 LOGD(ERROR, ao->domid, "netlink bind error"); in colo_proxy_setup() 385 STATE_AO_GC(cps->ao); in colo_proxy_checkpoint() 422 LOGD(ERROR, ao->domid, "receive NLMSG_ERROR"); in colo_proxy_checkpoint() [all …]
|
A D | libxl_convert_callout.c | 37 assert(chs->ao); in libxl__conversion_helper_init() 48 STATE_AO_GC(chs->ao); in libxl__convert_legacy_stream() 52 chs->abrt.ao = chs->ao; in libxl__convert_legacy_stream() 123 STATE_AO_GC(chs->ao); in libxl__conversion_helper_abort() 140 STATE_AO_GC(chs->ao); in helper_stop() 149 STATE_AO_GC(chs->ao); in helper_exited() 166 STATE_AO_GC(chs->ao); in helper_done()
|
A D | libxl_remus.c | 35 STATE_AO_GC(cds->ao); in init_device_subkind() 53 STATE_AO_GC(cds->ao); in cleanup_device_subkind() 83 STATE_AO_GC(dss->ao); in libxl__remus_setup() 97 cds->ao = ao; in libxl__remus_setup() 127 STATE_AO_GC(dss->ao); in remus_setup_done() 143 STATE_AO_GC(dss->ao); in remus_setup_failed() 179 STATE_AO_GC(dss->ao); in remus_teardown_done() 252 STATE_AO_GC(dss->ao); in libxl__remus_domain_resume_callback() 264 STATE_AO_GC(dss->ao); in remus_devices_preresume_cb() 296 STATE_AO_GC(dss->ao); in libxl__remus_domain_save_checkpoint_callback() [all …]
|
A D | libxl_bootloader.c | 94 STATE_AO_GC(bl->ao); in setup_xenconsoled_pty() 147 STATE_AO_GC(bl->ao); in parse_bootloader_result() 214 assert(bl->ao); in libxl__bootloader_init() 217 bl->openpty.ao = bl->ao; in libxl__bootloader_init() 218 bl->dls.ao = bl->ao; in libxl__bootloader_init() 223 bl->keystrokes.ao = bl->ao; libxl__datacopier_init(&bl->keystrokes); in libxl__bootloader_init() 224 bl->display.ao = bl->ao; libxl__datacopier_init(&bl->display); in libxl__bootloader_init() 392 bl->dls.ao = ao; in libxl__bootloader_run() 452 bl->openpty.ao = ao; in bootloader_disk_attached_cb() 531 bl->keystrokes.ao = ao; in bootloader_gotptys() [all …]
|
A D | libxl_save_callout.c | 48 STATE_AO_GC(dcs->ao); in libxl__xc_domain_restore() 68 shs->ao = ao; in libxl__xc_domain_restore() 86 STATE_AO_GC(dss->ao); in libxl__xc_domain_save() 96 shs->ao = ao; in libxl__xc_domain_save() 160 STATE_AO_GC(shs->ao); in run_helper() 176 shs->abrt.ao = shs->ao; in run_helper() 252 STATE_AO_GC(shs->ao); in helper_failed() 270 STATE_AO_GC(shs->ao); in helper_stop() 293 STATE_AO_GC(shs->ao); in helper_stdout_readable() 326 STATE_AO_GC(shs->ao); in helper_exited() [all …]
|
A D | libxl_remus_disk_drbd.c | 32 STATE_AO_GC(cds->ao); in init_subkind_drbd_disk() 58 STATE_AO_GC(dev->cds->ao); in drbd_setup() 69 STATE_AO_GC(dev->cds->ao); in match_async_exec() 85 aes->ao = dev->cds->ao; in match_async_exec() 113 STATE_AO_GC(aodev->ao); in match_async_exec_cb() 147 STATE_AO_GC(dev->cds->ao); in drbd_teardown() 166 STATE_AO_GC(dev->cds->ao); in drbd_postsuspend() 184 ASYNC_CALL(egc, dev->cds->ao, &dev->aodev.child, dev, in drbd_preresume() 211 STATE_AO_GC(aodev->ao); in checkpoint_async_call_done()
|
A D | libxl_stream_read.c | 203 assert(stream->ao); in libxl__stream_read_init() 205 stream->shs.ao = stream->ao; in libxl__stream_read_init() 208 stream->chs.ao = stream->ao; in libxl__stream_read_init() 229 STATE_AO_GC(stream->ao); in libxl__stream_read_start() 273 dc->ao = stream->ao; in libxl__stream_read_start() 329 STATE_AO_GC(dc->ao); in stream_header_done() 503 STATE_AO_GC(dc->ao); in record_header_done() 535 STATE_AO_GC(dc->ao); in record_body_done() 694 dc->ao = stream->ao; in write_emulator_blob() 721 STATE_AO_GC(dc->ao); in write_emulator_done() [all …]
|
A D | libxl_checkpoint_device.c | 42 STATE_AO_GC(cds->ao); in checkpoint_device_init() 59 STATE_AO_GC(cds->ao); in libxl__checkpoint_devices_setup() 103 STATE_AO_GC(cds->ao); in checkpoint_devices_setup() 105 libxl__multidev_begin(ao, &cds->multidev); in checkpoint_devices_setup() 175 STATE_AO_GC(multidev->ao); in all_devices_setup_cb() 190 STATE_AO_GC(cds->ao); in libxl__checkpoint_devices_teardown() 192 libxl__multidev_begin(ao, &cds->multidev); in libxl__checkpoint_devices_teardown() 210 STATE_AO_GC(multidev->ao); in devices_teardown_cb() 246 STATE_AO_GC(cds->ao); \ 248 libxl__multidev_begin(ao, &cds->multidev); \ [all …]
|
A D | libxl_dom_save.c | 58 STATE_AO_GC(lds->ao); in domain_suspend_switch_qemu_xen_traditional_logdirty() 127 STATE_AO_GC(lds->ao); in domain_suspend_switch_qemu_xen_logdirty() 174 STATE_AO_GC(lds->ao); in libxl__domain_common_switch_qemu_logdirty() 195 STATE_AO_GC(lds->ao); in switch_logdirty_timeout() 204 STATE_AO_GC(lds->ao); in switch_logdirty_xswatch() 258 STATE_AO_GC(lds->ao); in switch_logdirty_done() 287 STATE_AO_GC(dss->ao); in libxl__save_emulator_xenstore_data() 337 STATE_AO_GC(dss->ao); in libxl__domain_save() 360 dss->logdirty.ao = ao; in libxl__domain_save() 362 dsps->ao = ao; in libxl__domain_save() [all …]
|
A D | libxl_colo.h | 24 #define ASYNC_CALL(egc, ao, child, param, func, callback) do { \ argument 26 STATE_AO_GC(ao); \ 30 LOGD(ERROR, ao->domid, "unable to fork"); \ 63 struct libxl__ao *ao; member 102 struct libxl__ao *ao; member
|
A D | libxl_netbuffer.c | 47 STATE_AO_GC(cds->ao); in init_subkind_nic() 90 STATE_AO_GC(cds->ao); in cleanup_subkind_nic() 124 STATE_AO_GC(dev->cds->ao); in get_vifname() 158 STATE_AO_GC(cds->ao); in init_qdisc() 252 STATE_AO_GC(cds->ao); in setup_async_exec() 282 aes->ao = dev->cds->ao; in setup_async_exec() 305 STATE_AO_GC(dev->cds->ao); in nic_setup() 349 STATE_AO_GC(cds->ao); in netbuf_setup_script_cb() 412 STATE_AO_GC(dev->cds->ao); in nic_teardown() 461 STATE_AO_GC(cds->ao); in remus_netbuf_op() [all …]
|
A D | libxl_test_timedereg.c | 33 static void regs(libxl__ao *ao, int j) in regs() argument 39 rc = libxl__ev_time_register_rel(ao, &et[j][i], occurs, ms[j][i]); in regs() 49 tao = ao; in libxl_test_timedereg() 56 regs(ao, 0); in libxl_test_timedereg()
|
A D | libxl_aoutils.c | 105 assert(dc->ao); in libxl__datacopier_init() 114 STATE_AO_GC(dc->ao); in libxl__datacopier_kill() 137 STATE_AO_GC(dc->ao); in datacopier_check_state() 193 STATE_AO_GC(dc->ao); in datacopier_pollhup_handled() 209 STATE_AO_GC(dc->ao); in datacopier_abort() 217 STATE_AO_GC(dc->ao); in datacopier_readable() 320 STATE_AO_GC(dc->ao); in datacopier_writable() 365 STATE_AO_GC(dc->ao); in libxl__datacopier_start() 372 dc->abrt.ao = ao; in libxl__datacopier_start() 414 STATE_AO_GC(op->ao); in openpty_exited() [all …]
|
A D | libxl_device.c | 603 aodev->ao = ao; in libxl__prepare_ao_device() 627 multidev->ao = ao; in libxl__multidev_begin() 672 STATE_AO_GC(aodev->ao); in libxl__multidev_one_callback() 767 STATE_AO_GC(drs->ao); in libxl__devices_destroy() 872 STATE_AO_GC(aodev->ao); in libxl__wait_device_connection() 1128 aodev->xswait.ao = ao; in device_hotplug() 1193 aes->ao = ao; in device_hotplug() 1319 STATE_AO_GC(drs->ao); in devices_remove_callback() 1464 libxl__ao *ao; member 1570 dmss->spawn.ao = ao; in add_device() [all …]
|
A D | libxl_dom_suspend.c | 26 STATE_AO_GC(dsps->ao); in libxl__domain_suspend_init() 142 STATE_AO_GC(dsps->ao); in domain_suspend_callback_common() 168 rc = libxl__ev_time_register_rel(ao, &dsps->guest_timeout, in domain_suspend_callback_common() 198 dsps->pvcontrol.ao = ao; in domain_suspend_callback_common() 213 STATE_AO_GC(dsps->ao); in domain_suspend_common_wait_guest_evtchn() 226 STATE_AO_GC(dsps->ao); in domain_suspend_common_pvcontrol_suspending() 289 STATE_AO_GC(dsps->ao); in domain_suspend_common_wait_guest() 299 rc = libxl__ev_time_register_rel(ao, &dsps->guest_timeout, in domain_suspend_common_wait_guest() 319 STATE_AO_GC(dsps->ao); in suspend_common_wait_guest_check() 362 STATE_AO_GC(dsps->ao); in suspend_common_wait_guest_timeout() [all …]
|
A D | libxl_stream_write.c | 193 STATE_AO_GC(stream->ao); in write_done() 208 assert(stream->ao); in libxl__stream_write_init() 210 stream->shs.ao = stream->ao; in libxl__stream_write_init() 232 STATE_AO_GC(stream->ao); in libxl__stream_write_start() 240 dc->ao = ao; in libxl__stream_write_start() 315 STATE_AO_GC(stream->ao); in stream_header_done() 341 STATE_AO_GC(dss->ao); in libxl__xc_domain_save_done() 387 STATE_AO_GC(stream->ao); in write_emulator_xenstore_record() 442 STATE_AO_GC(stream->ao); in write_emulator_context_record() 481 dc->ao = stream->ao; in write_emulator_context_record() [all …]
|
A D | libxl_create.c | 986 dcs->bl.ao = ao; in initiate_domain_create() 1028 STATE_AO_GC(bl->ao); in domcreate_bootloader_console_available() 1062 STATE_AO_GC(bl->ao); in domcreate_bootloader_done() 1088 dcs->sdss.dm.spawn.ao = ao; in domcreate_bootloader_done() 1122 dcs->srs.ao = ao; in domcreate_bootloader_done() 1133 crs->ao = ao; in domcreate_bootloader_done() 1615 dcs->dds.ao = ao; in domcreate_complete() 1669 cdcs->dcs.ao = ao; in do_domain_create() 1772 srs->cdcs.dcs.ao = ao; in do_domain_soft_reset() 1818 dss->ao = ao; in do_domain_soft_reset() [all …]
|
A D | libxl_internal.h | 255 libxl__ao *ao; member 557 libxl__ao *ao; member 1306 libxl__ao *ao; member 1547 libxl__ao *ao; member 2373 libxl__ao *ao; member 2421 libxl__ao *ao; member 2503 libxl__ao *ao; member 2724 libxl__ao *ao; member 2807 libxl__ao *ao; member 2850 libxl__ao *ao; member [all …]
|
A D | libxl_colo_save.c | 36 STATE_AO_GC(cds->ao); in init_device_subkind() 55 STATE_AO_GC(cds->ao); in cleanup_device_subkind() 90 STATE_AO_GC(dss->ao); in libxl__colo_save_setup() 115 cds->ao = ao; in libxl__colo_save_setup() 135 css->srs.ao = ao; in libxl__colo_save_setup() 139 css->cps.ao = ao; in libxl__colo_save_setup() 185 STATE_AO_GC(cds->ao); in colo_save_setup_failed() 541 ASYNC_CALL(egc, dss->cds.ao, &css->child, css, in colo_proxy_wait_for_checkpoint()
|
A D | libxl_no_colo.c | 23 STATE_AO_GC(crs->ao); in libxl__colo_restore_setup() 40 STATE_AO_GC(dss->ao); in libxl__colo_save_setup()
|
A D | libxl_domain.c | 436 dss->ao = ao; in libxl_domain_remus_start() 466 STATE_AO_GC(dss->ao); in remus_failover_cb() 478 STATE_AO_GC(dss->ao); in domain_suspend_cb() 504 dss->ao = ao; in libxl_domain_suspend() 872 dds->ao = ao; in libxl_domain_destroy() 883 STATE_AO_GC(dds->ao); in domain_destroy_cb() 906 STATE_AO_GC(dds->ao); in libxl__domain_destroy() 910 dds->stubdom.ao = ao; in libxl__domain_destroy() 919 dds->domain.ao = ao; in libxl__domain_destroy() 930 STATE_AO_GC(dis->ao); in stubdom_destroy_callback() [all …]
|
A D | libxl_colo_restore.c | 144 STATE_AO_GC(cds->ao); in init_device_subkind() 163 STATE_AO_GC(cds->ao); in cleanup_device_subkind() 180 STATE_AO_GC(dsps->ao); in init_dsps() 230 STATE_AO_GC(crs->ao); in libxl__colo_restore_setup() 244 crcs->dsps.ao = ao; in libxl__colo_restore_setup() 266 crcs->lds.ao = ao; in libxl__colo_restore_setup() 269 crcs->sws.ao = ao; in libxl__colo_restore_setup() 776 STATE_AO_GC(crs->ao); in colo_setup_checkpoint_devices() 785 cds->ao = ao; in colo_setup_checkpoint_devices() 789 crs->cps.ao = ao; in colo_setup_checkpoint_devices() [all …]
|
A D | libxl_colo_nic.c | 58 STATE_AO_GC(dev->cds->ao); in get_vifname() 95 STATE_AO_GC(cds->ao); in setup_async_exec() 125 aes->ao = dev->cds->ao; in setup_async_exec() 150 STATE_AO_GC(dev->cds->ao); in colo_nic_setup()
|