Lines Matching refs:sws
88 &dss->sws.shs.callbacks.save.a; in libxl__colo_save_setup()
268 libxl__stream_write_state *sws = CONTAINER_OF(shs, *sws, shs); in libxl__colo_save_domain_suspend_callback() local
269 libxl__domain_save_state *dss = sws->dss; in libxl__colo_save_domain_suspend_callback()
300 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, !rc); in colo_suspend_primary_vm_done()
332 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, !rc); in colo_postsuspend_cb()
360 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, ok); in colo_read_svm_suspended_done()
368 libxl__stream_write_state *sws = CONTAINER_OF(shs, *sws, shs); in libxl__colo_save_domain_checkpoint_callback() local
369 libxl__domain_save_state *dss = sws->dss; in libxl__colo_save_domain_checkpoint_callback()
376 dss->sws.checkpoint_callback = colo_common_write_stream_done; in libxl__colo_save_domain_checkpoint_callback()
377 libxl__stream_write_start_checkpoint(shs->egc, &dss->sws); in libxl__colo_save_domain_checkpoint_callback()
403 libxl__stream_write_state *sws = CONTAINER_OF(shs, *sws, shs); in libxl__colo_save_domain_resume_callback() local
404 libxl__domain_save_state *dss = sws->dss; in libxl__colo_save_domain_resume_callback()
440 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, 0); in colo_read_svm_ready_done()
499 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, 0); in colo_preresume_cb()
522 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, ok); in colo_read_svm_resumed_done()
595 libxl__stream_write_state *sws = CONTAINER_OF(shs, *sws, shs); in libxl__colo_save_domain_wait_checkpoint_callback() local
596 libxl__domain_save_state *dss = sws->dss; in libxl__colo_save_domain_wait_checkpoint_callback()
597 libxl__egc *egc = dss->sws.shs.egc; in libxl__colo_save_domain_wait_checkpoint_callback()
624 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, 0); in colo_device_commit_cb()
640 dss->sws.checkpoint_callback = colo_common_write_stream_done; in colo_start_new_checkpoint()
641 libxl__stream_write_checkpoint_state(egc, &dss->sws, &srcs); in colo_start_new_checkpoint()
646 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, 0); in colo_start_new_checkpoint()
655 libxl__domain_save_state *dss = CONTAINER_OF(stream, *dss, sws); in colo_common_write_stream_done()
681 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, ok); in colo_common_write_stream_done()
713 libxl__xc_domain_saverestore_async_callback_done(egc, &dss->sws.shs, ok); in colo_common_read_stream_done()