Home
last modified time | relevance | path

Searched refs:XenDevice (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/include/hw/xen/
H A Dxen-bus.h19 struct XenDevice { struct
33 QLIST_ENTRY(XenDevice) list; argument
35 typedef struct XenDevice XenDevice; typedef
37 typedef char *(*XenDeviceGetFrontendPath)(XenDevice *xendev, Error **errp);
38 typedef char *(*XenDeviceGetName)(XenDevice *xendev, Error **errp);
39 typedef void (*XenDeviceRealize)(XenDevice *xendev, Error **errp);
40 typedef void (*XenDeviceFrontendChanged)(XenDevice *xendev,
43 typedef void (*XenDeviceUnrealize)(XenDevice *xendev);
59 OBJECT_DECLARE_TYPE(XenDevice, XenDeviceClass, XEN_DEVICE)
67 QLIST_HEAD(, XenDevice) inactive_devices;
[all …]
H A Dxen-backend.h30 XenDevice *xendevice);
31 XenDevice *xen_backend_get_device(XenBackendInstance *backend);
39 bool xen_backend_try_device_destroy(XenDevice *xendev, Error **errp);
H A Dxen-block.h51 XenDevice xendev;
/openbmc/qemu/hw/xen/
H A Dxen-bus.c26 static char *xen_device_get_backend_path(XenDevice *xendev) in xen_device_get_backend_path()
42 static char *xen_device_get_frontend_path(XenDevice *xendev) in xen_device_get_frontend_path()
56 static void xen_device_unplug(XenDevice *xendev, Error **errp) in xen_device_unplug()
105 XenDevice *xendev = XEN_DEVICE(dev); in xen_bus_print_dev()
253 static void xen_bus_device_cleanup(XenDevice *xendev) in xen_bus_device_cleanup()
273 XenDevice *xendev, *next; in xen_bus_cleanup()
378 XenDevice *xendev = XEN_DEVICE(dev); in xen_bus_unplug_request()
408 void xen_device_backend_printf(XenDevice *xendev, const char *key, in xen_device_backend_printf()
428 static int xen_device_backend_scanf(XenDevice *xendev, const char *key, in xen_device_backend_scanf()
445 void xen_device_backend_set_state(XenDevice *xendev, in xen_device_backend_set_state()
[all …]
H A Dxen-backend.c25 XenDevice *xendev;
91 static XenBackendInstance *xen_backend_list_find(XenDevice *xendev) in xen_backend_list_find()
159 XenDevice *xendev) in xen_backend_set_device()
165 XenDevice *xen_backend_get_device(XenBackendInstance *backend) in xen_backend_get_device()
171 bool xen_backend_try_device_destroy(XenDevice *xendev, Error **errp) in xen_backend_try_device_destroy()
/openbmc/qemu/hw/block/
H A Dxen-block.c152 static char *xen_block_get_name(XenDevice *xendev, Error **errp) in xen_block_get_name()
164 static void xen_block_disconnect(XenDevice *xendev, Error **errp) in xen_block_disconnect()
175 static void xen_block_connect(XenDevice *xendev, Error **errp) in xen_block_connect()
268 static void xen_block_unrealize(XenDevice *xendev) in xen_block_unrealize()
299 XenDevice *xendev = XEN_DEVICE(blockdev); in xen_block_set_size()
309 XenDevice *xendev = XEN_DEVICE(blockdev); in xen_block_resize_cb()
343 static void xen_block_realize(XenDevice *xendev, Error **errp) in xen_block_realize()
431 static void xen_block_frontend_changed(XenDevice *xendev, in xen_block_frontend_changed()
1036 XenDevice *xendev = NULL; in xen_block_device_create()
1131 XenDevice *xendev = xen_backend_get_device(backend); in xen_block_device_destroy()
/openbmc/qemu/hw/block/dataplane/
H A Dxen-block.h17 XenBlockDataPlane *xen_block_dataplane_create(XenDevice *xendev,
H A Dxen-block.c50 XenDevice *xendev;
213 XenDevice *xendev = dataplane->xendev; in xen_block_copy_request()
609 XenBlockDataPlane *xen_block_dataplane_create(XenDevice *xendev, in xen_block_dataplane_create()
687 XenDevice *xendev; in xen_block_dataplane_stop()
745 XenDevice *xendev = dataplane->xendev; in xen_block_dataplane_start()