Home
last modified time | relevance | path

Searched refs:shs (Results 1 – 10 of 10) sorted by relevance

/xen/tools/libxl/
A Dlibxl_save_callout.c66 shs->ao = ao; in libxl__xc_domain_restore()
94 shs->ao = ao; in libxl__xc_domain_save()
113 shs->egc = 0; in libxl__xc_domain_saverestore_async_callback_done()
169 shs->rc = 0; in run_helper()
171 shs->pipes[0] = shs->pipes[1] = 0; in run_helper()
174 shs->abrt.ao = shs->ao; in run_helper()
315 shs->recv_callback(msg, msglen, shs); in helper_stdout_readable()
362 libxl__carefd_close(shs->pipes[0]); shs->pipes[0] = 0; in helper_done()
363 libxl__carefd_close(shs->pipes[1]); shs->pipes[1] = 0; in helper_done()
367 shs->completion_callback(egc, shs->caller_state, in helper_done()
[all …]
A Dlibxl_remus.c81 &dss->sws.shs.callbacks.save.a; in libxl__remus_setup()
203 libxl__save_helper_state *shs = data; in libxl__remus_domain_suspend_callback() local
204 libxl__egc *egc = shs->egc; in libxl__remus_domain_suspend_callback()
205 libxl__domain_save_state *dss = shs->caller_state; in libxl__remus_domain_suspend_callback()
249 libxl__save_helper_state *shs = data; in libxl__remus_domain_resume_callback() local
250 libxl__egc *egc = shs->egc; in libxl__remus_domain_resume_callback()
293 libxl__save_helper_state *shs = data; in libxl__remus_domain_save_checkpoint_callback() local
295 libxl__egc *egc = shs->egc; in libxl__remus_domain_save_checkpoint_callback()
394 libxl__save_helper_state *shs = data; in libxl__remus_domain_restore_checkpoint_callback() local
396 libxl__egc *egc = shs->egc; in libxl__remus_domain_restore_checkpoint_callback()
[all …]
A Dlibxl_colo_restore.c492 libxl__stream_read_state *srs = CONTAINER_OF(shs, *srs, shs); in libxl__colo_restore_domain_checkpoint_callback()
552 libxl__stream_read_state *srs = CONTAINER_OF(shs, *srs, shs); in libxl__colo_restore_domain_resume_callback()
600 libxl__save_helper_state *const shs = &dcs->srs.shs; in colo_restore_preresume_cb() local
644 libxl__save_helper_state *const shs = &dcs->srs.shs; in colo_resume_vm_done() local
719 libxl__save_helper_state *const shs = &dcs->srs.shs; in colo_reenable_logdirty() local
745 libxl__save_helper_state *const shs = &dcs->srs.shs; in colo_reenable_logdirty_done() local
774 libxl__save_helper_state *const shs = &dcs->srs.shs; in colo_setup_checkpoint_devices() local
818 libxl__save_helper_state *const shs = &dcs->srs.shs; in colo_restore_setup_cds_done() local
851 libxl__save_helper_state *const shs = &dcs->srs.shs; in colo_unpause_svm() local
882 libxl__stream_read_state *srs = CONTAINER_OF(shs, *srs, shs); in libxl__colo_restore_domain_wait_checkpoint_callback()
[all …]
A Dlibxl_colo_save.c88 &dss->sws.shs.callbacks.save.a; in libxl__colo_save_setup()
266 libxl__save_helper_state *shs = data; in libxl__colo_save_domain_suspend_callback() local
267 libxl__egc *egc = shs->egc; in libxl__colo_save_domain_suspend_callback()
268 libxl__stream_write_state *sws = CONTAINER_OF(shs, *sws, shs); in libxl__colo_save_domain_suspend_callback()
367 libxl__save_helper_state *shs = data; in libxl__colo_save_domain_checkpoint_callback() local
368 libxl__stream_write_state *sws = CONTAINER_OF(shs, *sws, shs); in libxl__colo_save_domain_checkpoint_callback()
401 libxl__save_helper_state *shs = data; in libxl__colo_save_domain_resume_callback() local
402 libxl__egc *egc = shs->egc; in libxl__colo_save_domain_resume_callback()
403 libxl__stream_write_state *sws = CONTAINER_OF(shs, *sws, shs); in libxl__colo_save_domain_resume_callback()
595 libxl__stream_write_state *sws = CONTAINER_OF(shs, *sws, shs); in libxl__colo_save_domain_wait_checkpoint_callback()
[all …]
A Dlibxl_dom_save.c280 libxl__save_helper_state *shs = user; in libxl__domain_suspend_common_switch_qemu_logdirty() local
281 libxl__egc *egc = shs->egc; in libxl__domain_suspend_common_switch_qemu_logdirty()
282 libxl__domain_save_state *dss = shs->caller_state; in libxl__domain_suspend_common_switch_qemu_logdirty()
304 &dss->sws.shs, -1); in domain_suspend_switch_qemu_logdirty_done()
306 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, 0); in domain_suspend_switch_qemu_logdirty_done()
390 &dss->sws.shs.callbacks.save.a; in libxl__domain_save()
A Dlibxl_stream_read.c205 stream->shs.ao = stream->ao; in libxl__stream_read_init()
206 libxl__save_helper_init(&stream->shs); in libxl__stream_read_init()
583 libxl__xc_domain_restore(egc, dcs, &stream->shs); in process_record()
933 libxl__save_helper_abort(egc, &stream->shs); in check_all_finished()
941 libxl__save_helper_inuse(&stream->shs) || in check_all_finished()
A Dlibxl_stream_write.c210 stream->shs.ao = stream->ao; in libxl__stream_write_init()
211 libxl__save_helper_init(&stream->shs); in libxl__stream_write_init()
333 libxl__xc_domain_save(egc, stream->dss, &stream->shs); in libxc_header_done()
671 libxl__save_helper_abort(egc, &stream->shs); in check_all_finished()
678 libxl__save_helper_inuse(&stream->shs)) in check_all_finished()
A Dlibxl_dom_suspend.c400 libxl__save_helper_state *shs = data; in libxl__domain_suspend_callback() local
401 libxl__egc *egc = shs->egc; in libxl__domain_suspend_callback()
402 libxl__domain_save_state *dss = shs->caller_state; in libxl__domain_suspend_callback()
414 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, !rc); in domain_suspend_callback_common_done()
A Dlibxl_internal.h3461 libxl__save_helper_state shs; member
3539 libxl__save_helper_state shs; member
4221 libxl__save_helper_state *shs);
4233 libxl__save_helper_state *shs, int return_value);
4250 libxl__save_helper_state *shs);
4257 _hidden void libxl__save_helper_init(libxl__save_helper_state *shs);
4259 libxl__save_helper_state *shs);
4261 static inline bool libxl__save_helper_inuse(const libxl__save_helper_state *shs) in libxl__save_helper_inuse() argument
4263 return libxl__ev_child_inuse(&shs->child); in libxl__save_helper_inuse()
A Dlibxl_create.c1330 &dcs->srs.shs.callbacks.restore.a; in domcreate_bootloader_done()
1434 libxl__save_helper_state *shs = user; in libxl__srm_callout_callback_static_data_done() local
1435 libxl__domain_create_state *dcs = shs->caller_state; in libxl__srm_callout_callback_static_data_done()
1458 libxl__save_helper_state *shs = user; in libxl__srm_callout_callback_restore_results() local
1459 libxl__domain_create_state *dcs = shs->caller_state; in libxl__srm_callout_callback_restore_results()
1465 shs->need_results = 0; in libxl__srm_callout_callback_restore_results()

Completed in 59 milliseconds