Home
last modified time | relevance | path

Searched refs:cds (Results 1 – 11 of 11) sorted by relevance

/xen/tools/libxl/
A Dlibxl_checkpoint_device.c46 dev->cds = cds; in checkpoint_device_init()
62 cds->num_nics = 0; in libxl__checkpoint_devices_setup()
66 cds->nics = libxl__device_list(gc, &libxl__nic_devtype, cds->domid, in libxl__checkpoint_devices_setup()
73 if (cds->num_nics == 0 && cds->num_disks == 0) in libxl__checkpoint_devices_setup()
76 GCNEW_ARRAY(cds->devs, cds->num_nics + cds->num_disks); in libxl__checkpoint_devices_setup()
79 cds->devs[cds->num_devices++] = checkpoint_device_init(egc, cds, in libxl__checkpoint_devices_setup()
85 cds->devs[cds->num_devices++] = checkpoint_device_init(egc, cds, in libxl__checkpoint_devices_setup()
95 cds->callback(egc, cds, 0); in libxl__checkpoint_devices_setup()
181 cds->callback(egc, cds, rc); in all_devices_setup_cb()
226 cds->callback(egc, cds, rc); in devices_teardown_cb()
[all …]
A Dlibxl_remus.c78 libxl__checkpoint_devices_state *const cds = &dss->cds; in libxl__remus_setup() local
97 cds->ao = ao; in libxl__remus_setup()
126 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in remus_setup_done()
142 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in remus_setup_failed()
164 libxl__checkpoint_devices_state *const cds = &dss->cds; in libxl__remus_teardown() local
178 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in remus_teardown_done()
220 libxl__checkpoint_devices_state *const cds = &dss->cds; in remus_domain_suspend_callback_common_done() local
234 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in remus_devices_postsuspend_cb()
254 libxl__checkpoint_devices_state *const cds = &dss->cds; in libxl__remus_domain_resume_callback() local
263 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in remus_devices_preresume_cb()
[all …]
A Dlibxl_colo_save.c36 STATE_AO_GC(cds->ao); in init_device_subkind()
55 STATE_AO_GC(cds->ao); in cleanup_device_subkind()
86 libxl__checkpoint_devices_state *const cds = &dss->cds; in libxl__colo_save_setup() local
113 cds->ops = colo_ops; in libxl__colo_save_setup()
115 cds->ao = ao; in libxl__colo_save_setup()
116 cds->domid = dss->domid; in libxl__colo_save_setup()
117 cds->concrete_data = css; in libxl__colo_save_setup()
125 cds->domid, &cds->num_nics); in libxl__colo_save_setup()
185 STATE_AO_GC(cds->ao); in colo_save_setup_failed()
292 libxl__checkpoint_devices_state *const cds = &dss->cds; in colo_suspend_primary_vm_done() local
[all …]
A Dlibxl_netbuffer.c44 libxl__domain_save_state *dss = CONTAINER_OF(cds, *dss, cds); in init_subkind_nic()
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()
160 STATE_AO_GC(cds->ao); in init_qdisc()
250 libxl__checkpoint_devices_state *cds = dev->cds; in setup_async_exec() local
254 STATE_AO_GC(cds->ao); in setup_async_exec()
284 aes->ao = dev->cds->ao; in setup_async_exec()
347 libxl__checkpoint_devices_state *cds = dev->cds; in netbuf_setup_script_cb() local
351 STATE_AO_GC(cds->ao); in netbuf_setup_script_cb()
[all …]
A Dlibxl_colo_restore.c144 STATE_AO_GC(cds->ao); in init_device_subkind()
149 rc = init_subkind_qdisk(cds); in init_device_subkind()
163 STATE_AO_GC(cds->ao); in cleanup_device_subkind()
166 cleanup_subkind_qdisk(cds); in cleanup_device_subkind()
272 dcs->cds.concrete_data = crs; in libxl__colo_restore_setup()
579 libxl__checkpoint_devices_state *cds = &dcs->cds; in colo_send_svm_ready_done() local
773 libxl__checkpoint_devices_state *cds = &dcs->cds; in colo_setup_checkpoint_devices() local
785 cds->ao = ao; in colo_setup_checkpoint_devices()
786 cds->domid = crs->domid; in colo_setup_checkpoint_devices()
886 libxl__checkpoint_devices_state *cds = &dcs->cds; in libxl__colo_restore_domain_wait_checkpoint_callback() local
[all …]
A Dlibxl_colo_qdisk.c22 int init_subkind_qdisk(libxl__checkpoint_devices_state *cds) in init_subkind_qdisk() argument
31 void cleanup_subkind_qdisk(libxl__checkpoint_devices_state *cds) in cleanup_subkind_qdisk() argument
46 libxl__checkpoint_devices_state *const cds = dev->cds; in colo_qdisk_setup() local
49 const int domid = cds->domid; in colo_qdisk_setup()
51 STATE_AO_GC(dev->cds->ao); in colo_qdisk_setup()
67 libxl__colo_save_state *css = cds->concrete_data; in colo_qdisk_setup()
73 libxl__colo_restore_state *crs = cds->concrete_data; in colo_qdisk_setup()
115 libxl__checkpoint_devices_state *const cds = dev->cds; in colo_qdisk_teardown() local
116 const int domid = cds->domid; in colo_qdisk_teardown()
133 libxl__colo_restore_state *crs = cds->concrete_data; in colo_qdisk_teardown()
[all …]
A Dlibxl_colo_nic.c27 int init_subkind_colo_nic(libxl__checkpoint_devices_state *cds) in init_subkind_colo_nic() argument
58 STATE_AO_GC(dev->cds->ao); in get_vifname()
61 const uint32_t domid = dev->cds->domid; in get_vifname()
92 libxl__checkpoint_devices_state *cds = dev->cds; in setup_async_exec() local
96 STATE_AO_GC(cds->ao); in setup_async_exec()
126 aes->ao = dev->cds->ao; in setup_async_exec()
151 STATE_AO_GC(dev->cds->ao); in colo_nic_setup()
192 libxl__checkpoint_devices_state *cds = dev->cds; in colo_save_setup_script_cb() local
198 const uint32_t domid = cds->domid; in colo_save_setup_script_cb()
275 libxl__colo_save_state *css = dev->cds->concrete_data; in colo_nic_save_setup()
[all …]
A Dlibxl_remus_disk_drbd.c29 int init_subkind_drbd_disk(libxl__checkpoint_devices_state *cds) in init_subkind_drbd_disk() argument
31 libxl__remus_state *rs = cds->concrete_data; in init_subkind_drbd_disk()
32 STATE_AO_GC(cds->ao); in init_subkind_drbd_disk()
40 void cleanup_subkind_drbd_disk(libxl__checkpoint_devices_state *cds) in cleanup_subkind_drbd_disk() argument
58 STATE_AO_GC(dev->cds->ao); in drbd_setup()
68 libxl__remus_state *rs = dev->cds->concrete_data; in match_async_exec()
69 STATE_AO_GC(dev->cds->ao); in match_async_exec()
85 aes->ao = dev->cds->ao; in match_async_exec()
147 STATE_AO_GC(dev->cds->ao); in drbd_teardown()
166 STATE_AO_GC(dev->cds->ao); in drbd_postsuspend()
[all …]
A Dlibxl_nonetbuffer.c25 int init_subkind_nic(libxl__checkpoint_devices_state *cds) in init_subkind_nic() argument
30 void cleanup_subkind_nic(libxl__checkpoint_devices_state *cds) in cleanup_subkind_nic() argument
37 STATE_AO_GC(dev->cds->ao); in nic_setup()
A Dlibxl_colo.h124 int init_subkind_qdisk(struct libxl__checkpoint_devices_state *cds);
126 void cleanup_subkind_qdisk(struct libxl__checkpoint_devices_state *cds);
128 int init_subkind_colo_nic(struct libxl__checkpoint_devices_state *cds);
130 void cleanup_subkind_colo_nic(struct libxl__checkpoint_devices_state *cds);
A Dlibxl_internal.h3293 int init_subkind_nic(libxl__checkpoint_devices_state *cds);
3294 void cleanup_subkind_nic(libxl__checkpoint_devices_state *cds);
3295 int init_subkind_drbd_disk(libxl__checkpoint_devices_state *cds);
3296 void cleanup_subkind_drbd_disk(libxl__checkpoint_devices_state *cds);
3354 libxl__checkpoint_devices_state *cds; member
3375 libxl__checkpoint_devices_state *cds);
3377 libxl__checkpoint_devices_state *cds);
3379 libxl__checkpoint_devices_state *cds);
3381 libxl__checkpoint_devices_state *cds);
3648 libxl__checkpoint_devices_state cds; member
[all …]

Completed in 29 milliseconds