Home
last modified time | relevance | path

Searched refs:aodev (Results 1 – 16 of 16) sorted by relevance

/xen/tools/libxl/
A Dlibxl_device.c631 aodev->ao = ao; in libxl__prepare_ao_device()
632 aodev->rc = 0; in libxl__prepare_ao_device()
694 GCNEW(aodev); in libxl__multidev_prepare()
697 return aodev; in libxl__multidev_prepare()
919 aodev->rc = rc; in libxl__wait_device_connection()
1038 libxl__ao_device *aodev = CONTAINER_OF(ev, *aodev, timeout); in device_qemu_timeout() local
1087 libxl__ao_device *aodev = CONTAINER_OF(ds, *aodev, backend_ds); in device_backend_callback() local
1248 libxl__ao_device *aodev = CONTAINER_OF(aes, *aodev, aes); in device_hotplug_child_death_cb() local
1292 libxl__ao_device *aodev = CONTAINER_OF(xswait, *aodev, xswait); in device_destroy_be_watch_cb() local
1328 aodev->callback(egc, aodev); in device_hotplug_done()
[all …]
A Dlibxl_remus_disk_drbd.c101 dev->aodev.callback(egc, &dev->aodev); in match_async_exec()
108 libxl__ao_device *aodev = CONTAINER_OF(aes, *aodev, aes); in match_async_exec_cb() local
109 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in match_async_exec_cb()
140 aodev->rc = rc; in match_async_exec_cb()
141 aodev->callback(egc, aodev); in match_async_exec_cb()
151 dev->aodev.callback(egc, &dev->aodev); in drbd_teardown()
176 dev->aodev.callback(egc, &dev->aodev); in drbd_postsuspend()
207 libxl__ao_device *aodev = CONTAINER_OF(child, *aodev, child); in checkpoint_async_call_done() local
208 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in checkpoint_async_call_done()
222 aodev->rc = rc; in checkpoint_async_call_done()
[all …]
A Dlibxl_usb.c517 libxl__ao_device *aodev = CONTAINER_OF(ev, *aodev, timeout); in device_usbctrl_add_timeout() local
530 libxl__ao_device *aodev = CONTAINER_OF(qmp, *aodev, qmp); in device_usbctrl_add_qmp_cb() local
547 aodev->callback(egc, aodev); in device_usbctrl_add_done()
599 ucrs->aodev = aodev; in libxl__initiate_device_usbctrl_remove()
635 libxl__ao_device *aodev = ucrs->aodev; in device_usbctrl_usbdevs_removed() local
686 libxl__ao_device *aodev = CONTAINER_OF(qmp, *aodev, qmp); in device_usbctrl_remove_qmp_cb() local
707 aodev->callback(egc, aodev); in device_usbctrl_remove_done()
1847 libxl__ao_device *aodev = CONTAINER_OF(qmp, *aodev, qmp); in device_usbdev_add_qmp_cb() local
1865 aodev->callback(egc, aodev); in device_usbdev_add_done()
2028 libxl__ao_device *aodev = CONTAINER_OF(qmp, *aodev, qmp); in device_usbdev_remove_qmp_cb() local
[all …]
A Dlibxl_colo_nic.c181 dev->aodev.rc = rc; in colo_nic_setup()
182 dev->aodev.callback(egc, &dev->aodev); in colo_nic_setup()
189 libxl__ao_device *aodev = CONTAINER_OF(aes, *aodev, aes); in colo_save_setup_script_cb() local
190 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in colo_save_setup_script_cb()
226 aodev->rc = rc; in colo_save_setup_script_cb()
227 aodev->callback(egc, aodev); in colo_save_setup_script_cb()
252 dev->aodev.rc = rc; in colo_nic_teardown()
253 dev->aodev.callback(egc, &dev->aodev); in colo_nic_teardown()
260 libxl__ao_device *aodev = CONTAINER_OF(aes, *aodev, aes); in colo_save_teardown_script_cb() local
267 aodev->rc = rc; in colo_save_teardown_script_cb()
[all …]
A Dlibxl_netbuffer.c333 dev->aodev.callback(egc, &dev->aodev); in nic_setup()
344 libxl__ao_device *aodev = CONTAINER_OF(aes, *aodev, aes); in netbuf_setup_script_cb() local
345 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in netbuf_setup_script_cb()
407 aodev->rc = rc; in netbuf_setup_script_cb()
408 aodev->callback(egc, aodev); in netbuf_setup_script_cb()
426 dev->aodev.callback(egc, &dev->aodev); in nic_teardown()
433 libxl__ao_device *aodev = CONTAINER_OF(aes, *aodev, aes); in netbuf_teardown_script_cb() local
442 aodev->rc = rc; in netbuf_teardown_script_cb()
443 aodev->callback(egc, aodev); in netbuf_teardown_script_cb()
502 dev->aodev.callback(egc, &dev->aodev); in nic_postsuspend()
[all …]
A Dlibxl_checkpoint_device.c28 libxl__ao_device *aodev);
112 dev->aodev.rc = ERROR_CHECKPOINT_DEVICE_NOT_SUPPORTED; in checkpoint_devices_setup()
113 dev->aodev.callback = device_setup_iterate; in checkpoint_devices_setup()
114 device_setup_iterate(egc,&dev->aodev); in checkpoint_devices_setup()
124 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in device_setup_iterate()
127 if (aodev->rc != ERROR_CHECKPOINT_DEVICE_NOT_SUPPORTED && in device_setup_iterate()
128 aodev->rc != ERROR_CHECKPOINT_DEVOPS_DOES_NOT_MATCH) in device_setup_iterate()
150 aodev->rc = ERROR_FAIL; in device_setup_iterate()
157 aodev->rc = ERROR_CHECKPOINT_DEVICE_NOT_SUPPORTED; in device_setup_iterate()
163 assert(dev->aodev.callback == device_setup_iterate); in device_setup_iterate()
[all …]
A Dlibxl_colo_qdisk.c103 dev->aodev.rc = rc; in colo_qdisk_setup()
104 dev->aodev.callback(egc, &dev->aodev); in colo_qdisk_setup()
143 dev->aodev.rc = rc; in colo_qdisk_teardown()
144 dev->aodev.callback(egc, &dev->aodev); in colo_qdisk_teardown()
187 dev->aodev.rc = rc; in colo_qdisk_save_preresume()
188 dev->aodev.callback(egc, &dev->aodev); in colo_qdisk_save_preresume()
A Dlibxl_disk.c238 STATE_AO_GC(aodev->ao); in device_disk_add()
431 aodev->dev = device; in device_disk_add()
442 aodev->rc = rc; in device_disk_add()
443 if (rc) aodev->callback(egc, aodev); in device_disk_add()
1221 libxl__disk_local_state *dls = CONTAINER_OF(aodev, *dls, aodev); in local_device_attach_cb()
1227 rc = aodev->rc; in local_device_attach_cb()
1266 libxl__ao_device *aodev = &dls->aodev; in libxl__device_disk_local_initiate_detach() local
1280 aodev->force = 0; in libxl__device_disk_local_initiate_detach()
1286 aodev->rc = rc; in libxl__device_disk_local_initiate_detach()
1294 libxl__disk_local_state *dls = CONTAINER_OF(aodev, *dls, aodev); in local_device_detach_cb()
[all …]
A Dlibxl_pci.c1502 GCNEW(aodev); in libxl_device_pci_add()
1553 pas->aodev = aodev; in libxl__device_pci_add()
1625 libxl__ao_device *aodev = pas->aodev; in device_pci_add_stubdom_wait() local
1665 libxl__ao_device *aodev = pas->aodev; in device_pci_add_stubdom_done() local
1716 libxl__ao_device *aodev = pas->aodev; in device_pci_add_done() local
1728 aodev->callback(egc, aodev); in device_pci_add_done()
1791 aodev->callback(egc, aodev); in add_pcidevs_done()
2238 prs->aodev = aodev; in libxl__device_pci_remove_common()
2277 libxl__ao_device *const aodev = prs->aodev; in device_pci_remove_common_next() local
2305 aodev->callback(egc, aodev); in device_pci_remove_common_next()
[all …]
A Dlibxl_nonetbuffer.c39 dev->aodev.rc = ERROR_FAIL; in nic_setup()
40 dev->aodev.callback(egc, &dev->aodev); in nic_setup()
A Dlibxl_internal.h1717 libxl__ao_device *aodev);
2812 libxl__ao_device *aodev);
3005 libxl__ao_device *aodev);
3067 libxl__ao_device aodev; member
3355 libxl__ao_device aodev; member
3748 libxl__ao_device *aodev; \
3750 GCNEW(aodev); \
3751 libxl__prepare_ao_device(ao, aodev); \
3752 aodev->action = LIBXL__DEVICE_ACTION_ADD; \
3753 aodev->callback = device_addrm_aocomplete; \
[all …]
A Dlibxl_vtpm.c56 libxl__ao_device *aodev) in libxl__device_vtpm_add() argument
58 libxl__device_add_async(egc, domid, &libxl__vtpm_devtype, vtpm, aodev); in libxl__device_vtpm_add()
A Dlibxl_vdispl.c59 libxl__ao_device *aodev) in libxl__device_vdispl_add() argument
61 libxl__device_add_async(egc, domid, &libxl__vdispl_devtype, vdispl, aodev); in libxl__device_vdispl_add()
A Dlibxl_nic.c245 libxl__ao_device *aodev) in libxl__device_nic_add() argument
247 libxl__device_add_async(egc, domid, &libxl__nic_devtype, nic, aodev); in libxl__device_nic_add()
A Dlibxl_vsnd.c301 libxl__ao_device *aodev) in libxl__device_vsnd_add() argument
303 libxl__device_add_async(egc, domid, &libxl__vsnd_devtype, vsnd, aodev); in libxl__device_vsnd_add()
A Dlibxl_create.c1784 libxl__ao_device *aodev = libxl__multidev_prepare(multidev); in libxl__add_dtdevs() local
1799 aodev->rc = rc; in libxl__add_dtdevs()
1800 aodev->callback(egc, aodev); in libxl__add_dtdevs()

Completed in 50 milliseconds