/xen/tools/libxl/ |
A D | libxl_checkpoint_device.c | 105 libxl__multidev_begin(ao, &cds->multidev); in checkpoint_devices_setup() 106 cds->multidev.callback = all_devices_setup_cb; in checkpoint_devices_setup() 118 libxl__multidev_prepared(egc, &cds->multidev, rc); in checkpoint_devices_setup() 175 STATE_AO_GC(multidev->ao); in all_devices_setup_cb() 179 CONTAINER_OF(multidev, *cds, multidev); in all_devices_setup_cb() 192 libxl__multidev_begin(ao, &cds->multidev); in libxl__checkpoint_devices_teardown() 193 cds->multidev.callback = devices_teardown_cb; in libxl__checkpoint_devices_teardown() 210 STATE_AO_GC(multidev->ao); in devices_teardown_cb() 214 CONTAINER_OF(multidev, *cds, multidev); in devices_teardown_cb() 271 STATE_AO_GC(multidev->ao); in devices_checkpoint_cb() [all …]
|
A D | libxl_device.c | 657 multidev->ao = ao; in libxl__multidev_begin() 659 multidev->used = multidev->allocd = 0; in libxl__multidev_begin() 672 multidev->preparation = libxl__multidev_prepare(multidev); in libxl__multidev_begin() 679 aodev->multidev = multidev; in libxl__multidev_prepare_with_aodev() 683 if (multidev->used >= multidev->allocd) { in libxl__multidev_prepare_with_aodev() 684 multidev->allocd = multidev->used * 2 + 5; in libxl__multidev_prepare_with_aodev() 685 GCREALLOC_ARRAY(multidev->array, multidev->allocd); in libxl__multidev_prepare_with_aodev() 687 multidev->array[multidev->used++] = aodev; in libxl__multidev_prepare_with_aodev() 703 libxl__multidev *multidev = aodev->multidev; in libxl__multidev_one_callback() local 716 multidev->callback(egc, multidev, error); in libxl__multidev_one_callback() [all …]
|
A D | libxl_create.c | 1583 libxl__multidev_begin(ao, &dcs->multidev); in domcreate_rebuild_done() 1584 dcs->multidev.callback = domcreate_launch_dm; in domcreate_rebuild_done() 1586 libxl__multidev_prepared(egc, &dcs->multidev, 0); in domcreate_rebuild_done() 1598 libxl__domain_create_state *dcs = CONTAINER_OF(multidev, *dcs, multidev); in domcreate_launch_dm() 1781 libxl__multidev *multidev) in libxl__add_dtdevs() argument 1837 domcreate_attach_devices(egc, &dcs->multidev, 0); in domcreate_devmodel_started() 1849 libxl__domain_create_state *dcs = CONTAINER_OF(multidev, *dcs, multidev); in domcreate_attach_devices() 1867 libxl__multidev_begin(ao, &dcs->multidev); in domcreate_attach_devices() 1868 dcs->multidev.callback = domcreate_attach_devices; in domcreate_attach_devices() 1870 libxl__multidev_prepared(egc, &dcs->multidev, 0); in domcreate_attach_devices() [all …]
|
A D | libxl_pci.c | 1732 libxl__multidev multidev; member 1742 libxl__multidev *multidev) in libxl__add_pcidevs() argument 1752 apds->outer_aodev = libxl__multidev_prepare(multidev); in libxl__add_pcidevs() 1755 apds->multidev.callback = add_pcidevs_done; in libxl__add_pcidevs() 1756 libxl__multidev_begin(ao, &apds->multidev); in libxl__add_pcidevs() 1764 libxl__multidev_prepared(egc, &apds->multidev, 0); in libxl__add_pcidevs() 1767 static void add_pcidevs_done(libxl__egc *egc, libxl__multidev *multidev, in add_pcidevs_done() argument 1771 add_pcidevs_state *apds = CONTAINER_OF(multidev, *apds, multidev); in add_pcidevs_done() 2422 libxl__multidev *multidev) in libxl__device_pci_destroy_all() argument 2424 STATE_AO_GC(multidev->ao); in libxl__device_pci_destroy_all() [all …]
|
A D | libxl_dm.c | 2412 libxl__multidev_begin(ao, &sdss->multidev); in libxl__spawn_stub_dm() 2413 sdss->multidev.callback = spawn_stub_launch_dm; in libxl__spawn_stub_dm() 2414 libxl__add_disks(egc, ao, dm_domid, dm_config, &sdss->multidev); in libxl__spawn_stub_dm() 2415 libxl__multidev_prepared(egc, &sdss->multidev, 0); in libxl__spawn_stub_dm() 2427 libxl__stub_dm_spawn_state *sdss = CONTAINER_OF(multidev, *sdss, multidev); in spawn_stub_launch_dm() 2704 libxl__multidev_begin(ao, &sdss->multidev); in spawn_stubdom_pvqemu_cb() 2705 sdss->multidev.callback = stubdom_pvqemu_cb; in spawn_stubdom_pvqemu_cb() 2707 libxl__multidev_prepared(egc, &sdss->multidev, 0); in spawn_stubdom_pvqemu_cb() 2712 stubdom_pvqemu_cb(egc, &sdss->multidev, rc); in spawn_stubdom_pvqemu_cb() 2716 libxl__multidev *multidev, in stubdom_pvqemu_cb() argument [all …]
|
A D | libxl_usb.c | 572 libxl__multidev multidev; member 600 ucrs->multidev.callback = device_usbctrl_usbdevs_removed; in libxl__initiate_device_usbctrl_remove() 601 libxl__multidev_begin(ao, &ucrs->multidev); in libxl__initiate_device_usbctrl_remove() 620 libxl__multidev_prepare(&ucrs->multidev); in libxl__initiate_device_usbctrl_remove() 626 libxl__multidev_prepared(egc, &ucrs->multidev, rc); /* must be last */ in libxl__initiate_device_usbctrl_remove() 630 libxl__multidev *multidev, in device_usbctrl_usbdevs_removed() argument 634 CONTAINER_OF(multidev, *ucrs, multidev); in device_usbctrl_usbdevs_removed()
|
A D | libxl_domain.c | 1155 libxl__multidev *multidev, 1187 libxl__multidev_begin(ao, &dis->multidev); in libxl__destroy_domid() 1188 dis->multidev.callback = destroy_domid_pci_done; in libxl__destroy_domid() 1189 libxl__device_pci_destroy_all(egc, domid, &dis->multidev); in libxl__destroy_domid() 1190 libxl__multidev_prepared(egc, &dis->multidev, 0); in libxl__destroy_domid() 1199 libxl__multidev *multidev, in destroy_domid_pci_done() argument 1202 STATE_AO_GC(multidev->ao); in destroy_domid_pci_done() 1204 CONTAINER_OF(multidev, *dis, multidev); in destroy_domid_pci_done()
|
A D | libxl_internal.h | 2747 libxl__multidev *multidev; /* reference to the containing multidev */ member 3336 libxl__multidev multidev; member 3763 libxl__multidev *multidev) \ 3768 libxl__ao_device *aodev = libxl__multidev_prepare(multidev); \ 4036 libxl__multidev multidev; member 4060 libxl__multidev multidev; member 4108 libxl__multidev *multidev); 4112 libxl__multidev *multidev); 4158 libxl__multidev multidev; member 4203 libxl__multidev multidev; member
|