Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 18 of 18) sorted by relevance

/xen/tools/libxc/
A Dxc_sr_restore.c546 ret = ctx->restore.callbacks->checkpoint(ctx->restore.callbacks->data); in handle_checkpoint()
609 ret = ctx->restore.callbacks->postcopy(ctx->restore.callbacks->data); in handle_checkpoint()
614 ctx->restore.callbacks->data); in handle_checkpoint()
618 ret = ctx->restore.callbacks->suspend(ctx->restore.callbacks->data); in handle_checkpoint()
677 if ( ctx->restore.callbacks->static_data_done && in handle_static_data_end()
906 ctx.restore.callbacks = callbacks; in xc_domain_restore()
913 assert(callbacks->suspend && in xc_domain_restore()
914 callbacks->postcopy && in xc_domain_restore()
915 callbacks->wait_checkpoint && in xc_domain_restore()
916 callbacks->restore_results); in xc_domain_restore()
[all …]
A Dxc_sr_save.c334 int cb_rc = ctx->save.callbacks->suspend(ctx->save.callbacks->data); in suspend_domain()
513 void *data = ctx->save.callbacks->data; in send_memory_live()
927 rc = ctx->save.callbacks->checkpoint(ctx->save.callbacks->data); in save()
935 rc = ctx->save.callbacks->postcopy(ctx->save.callbacks->data); in save()
941 rc = ctx->save.callbacks->wait_checkpoint( in save()
942 ctx->save.callbacks->data); in save()
948 rc = ctx->save.callbacks->checkpoint(ctx->save.callbacks->data); in save()
998 ctx.save.callbacks = callbacks; in xc_domain_save()
1019 assert(callbacks->wait_checkpoint); in xc_domain_save()
1022 assert(callbacks->checkpoint && callbacks->postcopy); in xc_domain_save()
[all …]
A Dxc_nomigrate.c24 struct save_callbacks *callbacks, in xc_domain_save() argument
36 struct restore_callbacks *callbacks, int send_back_fd) in xc_domain_restore() argument
A Dxc_sr_save_x86_hvm.c160 if ( ctx->save.callbacks->switch_qemu_logdirty( in x86_hvm_setup()
161 ctx->domid, 1, ctx->save.callbacks->data) ) in x86_hvm_setup()
220 ctx->save.callbacks->switch_qemu_logdirty( in x86_hvm_cleanup()
221 ctx->domid, 0, ctx->save.callbacks->data) ) in x86_hvm_cleanup()
A Dxc_sr_common.h233 struct save_callbacks *callbacks; member
255 struct restore_callbacks *callbacks; member
/xen/tools/libxl/
A Dlibxl_json.h49 static inline yajl_handle libxl__yajl_alloc(const yajl_callbacks *callbacks, in libxl__yajl_alloc() argument
53 yajl_handle hand = yajl_alloc(callbacks, allocFuncs, ctx); in libxl__yajl_alloc()
74 static inline yajl_handle libxl__yajl_alloc(const yajl_callbacks *callbacks, in libxl__yajl_alloc() argument
82 return yajl_alloc(callbacks, &cfg, allocFuncs, ctx); in libxl__yajl_alloc()
A Dlibxl_remus.c80 libxl__srm_save_autogen_callbacks *const callbacks = in libxl__remus_setup() local
81 &dss->sws.shs.callbacks.save.a; in libxl__remus_setup()
112 callbacks->suspend = libxl__remus_domain_suspend_callback; in libxl__remus_setup()
113 callbacks->postcopy = libxl__remus_domain_resume_callback; in libxl__remus_setup()
114 callbacks->checkpoint = libxl__remus_domain_save_checkpoint_callback; in libxl__remus_setup()
412 libxl__srm_restore_autogen_callbacks *const callbacks = in libxl__remus_restore_setup() local
413 &dcs->srs.shs.callbacks.restore.a; in libxl__remus_restore_setup()
415 callbacks->checkpoint = libxl__remus_domain_restore_checkpoint_callback; in libxl__remus_restore_setup()
A Dlibxl_colo_save.c87 libxl__srm_save_autogen_callbacks *const callbacks = in libxl__colo_save_setup() local
88 &dss->sws.shs.callbacks.save.a; in libxl__colo_save_setup()
148 callbacks->suspend = libxl__colo_save_domain_suspend_callback; in libxl__colo_save_setup()
149 callbacks->checkpoint = libxl__colo_save_domain_checkpoint_callback; in libxl__colo_save_setup()
150 callbacks->postcopy = libxl__colo_save_domain_resume_callback; in libxl__colo_save_setup()
151 callbacks->wait_checkpoint = libxl__colo_save_domain_wait_checkpoint_callback; in libxl__colo_save_setup()
A Dlibxl_save_callout.c56 libxl__srm_callout_enumcallbacks_restore(&shs->callbacks.restore.a); in libxl__xc_domain_restore()
87 libxl__srm_callout_enumcallbacks_save(&shs->callbacks.save.a); in libxl__xc_domain_save()
378 return &shs->callbacks.save.a; in libxl__srm_callout_get_callbacks_save()
385 return &shs->callbacks.restore.a; in libxl__srm_callout_get_callbacks_restore()
A Dlibxl_dom_save.c389 libxl__srm_save_autogen_callbacks *const callbacks = in libxl__domain_save() local
390 &dss->sws.shs.callbacks.save.a; in libxl__domain_save()
430 callbacks->suspend = libxl__domain_suspend_callback; in libxl__domain_save()
432 callbacks->switch_qemu_logdirty = libxl__domain_suspend_common_switch_qemu_logdirty; in libxl__domain_save()
A Dlibxl_colo_restore.c226 libxl__srm_restore_autogen_callbacks *const callbacks = in libxl__colo_restore_setup() local
227 &dcs->srs.shs.callbacks.restore.a; in libxl__colo_restore_setup()
249 callbacks->postcopy = libxl__colo_restore_domain_resume_callback; in libxl__colo_restore_setup()
250 callbacks->wait_checkpoint = libxl__colo_restore_domain_wait_checkpoint_callback; in libxl__colo_restore_setup()
251 callbacks->suspend = libxl__colo_restore_domain_suspend_callback; in libxl__colo_restore_setup()
252 callbacks->checkpoint = libxl__colo_restore_domain_checkpoint_callback; in libxl__colo_restore_setup()
A Dlibxl_json.c893 static yajl_callbacks callbacks = { variable
929 yajl_ctx.hand = libxl__yajl_alloc(&callbacks, NULL, &yajl_ctx); in libxl__json_parse()
A Dlibxl_create.c1329 libxl__srm_restore_autogen_callbacks *const callbacks = in domcreate_bootloader_done() local
1330 &dcs->srs.shs.callbacks.restore.a; in domcreate_bootloader_done()
1361 callbacks->static_data_done = libxl__srm_callout_callback_static_data_done; in domcreate_bootloader_done()
1362 callbacks->restore_results = libxl__srm_callout_callback_restore_results; in domcreate_bootloader_done()
A Dlibxl_internal.h3190 } callbacks; member
/xen/tools/libxc/include/
A Dxenguest.h137 uint32_t flags, struct save_callbacks *callbacks,
220 struct restore_callbacks *callbacks, int send_back_fd);
/xen/xen/arch/x86/mm/shadow/
A Dcommon.c1658 ASSERT(callbacks[x->u.sh.type] != NULL); in hash_vcpu_foreach()
1659 done = callbacks[x->u.sh.type](v, page_to_mfn(x), in hash_vcpu_foreach()
1705 ASSERT(callbacks[x->u.sh.type] != NULL); in hash_domain_foreach()
1706 done = callbacks[x->u.sh.type](d, page_to_mfn(x), in hash_domain_foreach()
1990 if ( callbacks[shtype] ) in sh_remove_write_access()
1991 callbacks[shtype](d, last_smfn, gmfn); in sh_remove_write_access()
2008 hash_domain_foreach(d, callback_mask, callbacks, gmfn); in sh_remove_write_access()
2079 hash_domain_foreach(d, callback_mask, callbacks, gmfn); in sh_remove_all_mappings()
2349 static const hash_vcpu_callback_t callbacks[SH_type_unused] = { in sh_reset_l3_up_pointers() local
2369 hash_vcpu_foreach(v, callback_mask, callbacks, INVALID_MFN); in sh_reset_l3_up_pointers()
[all …]
/xen/stubdom/
A Dlwip.patch-cvs108 + /* some callbacks have to be reset if tcp_close is not successful */
132 + /* Closing failed, restore some of the callbacks */
/xen/docs/misc/
A Dxen-command-line.pandoc1811 How frequently a CPU which has gone idle, but with pending RCU callbacks,
1813 callbacks are safe to be executed. Expressed in milliseconds; maximum is

Completed in 49 milliseconds