/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_checkpoint_device.c | 46 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 D | libxl_remus.c | 78 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 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() 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 D | libxl_netbuffer.c | 44 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() 158 STATE_AO_GC(cds->ao); in init_qdisc() 248 libxl__checkpoint_devices_state *cds = dev->cds; in setup_async_exec() local 252 STATE_AO_GC(cds->ao); in setup_async_exec() 282 aes->ao = dev->cds->ao; in setup_async_exec() 345 libxl__checkpoint_devices_state *cds = dev->cds; in netbuf_setup_script_cb() local 349 STATE_AO_GC(cds->ao); in netbuf_setup_script_cb() [all …]
|
A D | libxl_colo_restore.c | 144 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 D | libxl_colo_qdisk.c | 22 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 D | libxl_colo_nic.c | 27 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() 91 libxl__checkpoint_devices_state *cds = dev->cds; in setup_async_exec() local 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() 191 libxl__checkpoint_devices_state *cds = dev->cds; in colo_save_setup_script_cb() local 197 const uint32_t domid = cds->domid; in colo_save_setup_script_cb() 274 libxl__colo_save_state *css = dev->cds->concrete_data; in colo_nic_save_setup() [all …]
|
A D | libxl_remus_disk_drbd.c | 29 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 D | libxl_nonetbuffer.c | 25 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 D | libxl_colo.h | 124 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 D | libxl_internal.h | 2958 int init_subkind_nic(libxl__checkpoint_devices_state *cds); 2959 void cleanup_subkind_nic(libxl__checkpoint_devices_state *cds); 2960 int init_subkind_drbd_disk(libxl__checkpoint_devices_state *cds); 2961 void cleanup_subkind_drbd_disk(libxl__checkpoint_devices_state *cds); 3019 libxl__checkpoint_devices_state *cds; member 3040 libxl__checkpoint_devices_state *cds); 3042 libxl__checkpoint_devices_state *cds); 3044 libxl__checkpoint_devices_state *cds); 3046 libxl__checkpoint_devices_state *cds); 3304 libxl__checkpoint_devices_state cds; member [all …]
|