Home
last modified time | relevance | path

Searched refs:xenbus_device (Results 1 – 22 of 22) sorted by relevance

/linux-4.4.14/include/xen/
Dxenbus.h68 struct xenbus_device { struct
80 static inline struct xenbus_device *to_xenbus_device(struct device *dev) in to_xenbus_device() argument
82 return container_of(dev, struct xenbus_device, dev); in to_xenbus_device()
95 int (*probe)(struct xenbus_device *dev,
97 void (*otherend_changed)(struct xenbus_device *dev,
99 int (*remove)(struct xenbus_device *dev);
100 int (*suspend)(struct xenbus_device *dev);
101 int (*resume)(struct xenbus_device *dev);
102 int (*uevent)(struct xenbus_device *, struct kobj_uevent_env *);
104 int (*read_otherend_details)(struct xenbus_device *dev);
[all …]
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_client.c76 int (*map)(struct xenbus_device *dev,
79 int (*unmap)(struct xenbus_device *dev, void *vaddr);
115 int xenbus_watch_path(struct xenbus_device *dev, const char *path, in xenbus_watch_path()
153 int xenbus_watch_pathfmt(struct xenbus_device *dev, in xenbus_watch_pathfmt()
179 static void xenbus_switch_fatal(struct xenbus_device *, int, int,
183 __xenbus_switch_state(struct xenbus_device *dev, in __xenbus_switch_state()
247 int xenbus_switch_state(struct xenbus_device *dev, enum xenbus_state state) in xenbus_switch_state()
254 int xenbus_frontend_closed(struct xenbus_device *dev) in xenbus_frontend_closed()
266 static char *error_path(struct xenbus_device *dev) in error_path()
272 static void xenbus_va_dev_error(struct xenbus_device *dev, int err, in xenbus_va_dev_error()
[all …]
Dxenbus_probe.c84 match_device(const struct xenbus_device_id *arr, struct xenbus_device *dev) in match_device()
105 static void free_otherend_details(struct xenbus_device *dev) in free_otherend_details()
112 static void free_otherend_watch(struct xenbus_device *dev) in free_otherend_watch()
122 static int talk_to_otherend(struct xenbus_device *dev) in talk_to_otherend()
134 static int watch_otherend(struct xenbus_device *dev) in watch_otherend()
145 int xenbus_read_otherend_details(struct xenbus_device *xendev, in xenbus_read_otherend_details()
176 struct xenbus_device *dev = in xenbus_otherend_changed()
177 container_of(watch, struct xenbus_device, otherend_watch); in xenbus_otherend_changed()
214 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
260 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
[all …]
Dxenbus_probe_frontend.c81 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_uevent_frontend()
98 struct xenbus_device *xdev = container_of(w, struct xenbus_device, work); in xenbus_frontend_delayed_resume()
110 struct xenbus_device *xdev = to_xenbus_device(dev); in xenbus_frontend_dev_resume()
129 struct xenbus_device *xdev = to_xenbus_device(dev); in xenbus_frontend_dev_probe()
178 static int read_backend_details(struct xenbus_device *xendev) in read_backend_details()
185 struct xenbus_device *xendev = to_xenbus_device(dev); in is_device_connecting()
239 struct xenbus_device *xendev = to_xenbus_device(dev); in print_device_status()
Dxenbus_probe_backend.c99 struct xenbus_device *xdev; in xenbus_uevent_backend()
220 static int read_frontend_details(struct xenbus_device *xendev) in read_frontend_details()
225 int xenbus_dev_is_online(struct xenbus_device *dev) in xenbus_dev_is_online()
Dxenbus_probe.h83 extern int xenbus_read_otherend_details(struct xenbus_device *xendev,
/linux-4.4.14/drivers/input/misc/
Dxen-kbdfront.c40 struct xenbus_device *xbdev;
44 static int xenkbd_remove(struct xenbus_device *);
45 static int xenkbd_connect_backend(struct xenbus_device *, struct xenkbd_info *);
108 static int xenkbd_probe(struct xenbus_device *dev, in xenkbd_probe()
211 static int xenkbd_resume(struct xenbus_device *dev) in xenkbd_resume()
220 static int xenkbd_remove(struct xenbus_device *dev) in xenkbd_remove()
234 static int xenkbd_connect_backend(struct xenbus_device *dev, in xenkbd_connect_backend()
309 static void xenkbd_backend_changed(struct xenbus_device *dev, in xenkbd_backend_changed()
/linux-4.4.14/drivers/net/xen-netback/
Dxenbus.c26 struct xenbus_device *dev;
229 static int netback_remove(struct xenbus_device *dev) in netback_remove()
254 static int netback_probe(struct xenbus_device *dev, in netback_probe()
399 static int netback_uevent(struct xenbus_device *xdev, in netback_uevent()
421 struct xenbus_device *dev = be->dev; in backend_create_xenvif()
465 struct xenbus_device *dev = be->dev; in backend_switch_state()
563 static void frontend_changed(struct xenbus_device *dev, in frontend_changed()
606 static void xen_net_read_rate(struct xenbus_device *dev, in xen_net_read_rate()
642 static int xen_net_read_mac(struct xenbus_device *dev, u8 mac[]) in xen_net_read_mac()
668 struct xenbus_device *dev = xenvif_to_xenbus_device(vif); in xen_net_rate_changed()
[all …]
Dcommon.h272 static inline struct xenbus_device *xenvif_to_xenbus_device(struct xenvif *vif) in xenvif_to_xenbus_device()
/linux-4.4.14/drivers/block/xen-blkback/
Dxenbus.c31 struct xenbus_device *dev;
47 struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be) in xen_blkbk_xenbus()
67 struct xenbus_device *dev = blkif->be->dev; in blkback_name()
304 struct xenbus_device *dev = to_xenbus_device(_dev); \
338 static int xenvbd_sysfs_addif(struct xenbus_device *dev) in xenvbd_sysfs_addif()
362 static void xenvbd_sysfs_delif(struct xenbus_device *dev) in xenvbd_sysfs_delif()
426 static int xen_blkbk_remove(struct xenbus_device *dev) in xen_blkbk_remove()
456 struct xenbus_device *dev = be->dev; in xen_blkbk_flush_diskcache()
469 struct xenbus_device *dev = be->dev; in xen_blkbk_discard()
514 struct xenbus_device *dev = be->dev; in xen_blkbk_barrier()
[all …]
Dcommon.h404 struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be);
Dblkback.c516 struct xenbus_device *dev = xen_blkbk_xenbus(blkif->be); in xen_vbd_resize()
/linux-4.4.14/drivers/char/tpm/
Dxen-tpmfront.c24 struct xenbus_device *dev;
191 static int setup_ring(struct xenbus_device *dev, struct tpm_private *priv) in setup_ring()
286 static int tpmfront_probe(struct xenbus_device *dev, in tpmfront_probe()
318 static int tpmfront_remove(struct xenbus_device *dev) in tpmfront_remove()
328 static int tpmfront_resume(struct xenbus_device *dev) in tpmfront_resume()
335 static void backend_changed(struct xenbus_device *dev, in backend_changed()
/linux-4.4.14/drivers/scsi/
Dxen-scsifront.c101 struct xenbus_device *dev;
715 struct xenbus_device *dev = info->dev; in scsifront_alloc_ring()
781 struct xenbus_device *dev = info->dev; in scsifront_init_ring()
831 static int scsifront_probe(struct xenbus_device *dev, in scsifront_probe()
887 static int scsifront_resume(struct xenbus_device *dev) in scsifront_resume()
914 static int scsifront_suspend(struct xenbus_device *dev) in scsifront_suspend()
936 static int scsifront_remove(struct xenbus_device *dev) in scsifront_remove()
958 struct xenbus_device *dev = info->dev; in scsifront_disconnect()
981 struct xenbus_device *dev = info->dev; in scsifront_do_lun_hotplug()
1059 static void scsifront_read_backend_params(struct xenbus_device *dev, in scsifront_read_backend_params()
[all …]
/linux-4.4.14/drivers/video/fbdev/
Dxen-fbfront.c56 struct xenbus_device *xbdev;
68 static int xenfb_remove(struct xenbus_device *);
70 static int xenfb_connect_backend(struct xenbus_device *, struct xenfb_info *);
362 static int xenfb_probe(struct xenbus_device *dev, in xenfb_probe()
512 static int xenfb_resume(struct xenbus_device *dev) in xenfb_resume()
521 static int xenfb_remove(struct xenbus_device *dev) in xenfb_remove()
566 static int xenfb_connect_backend(struct xenbus_device *dev, in xenfb_connect_backend()
632 static void xenfb_backend_changed(struct xenbus_device *dev, in xenfb_backend_changed()
/linux-4.4.14/drivers/tty/hvc/
Dhvc_xen.c49 struct xenbus_device *xbdev;
367 static int xencons_remove(struct xenbus_device *dev) in xencons_remove()
372 static int xencons_connect_backend(struct xenbus_device *dev, in xencons_connect_backend()
432 static int xencons_probe(struct xenbus_device *dev, in xencons_probe()
470 static int xencons_resume(struct xenbus_device *dev) in xencons_resume()
479 static void xencons_backend_changed(struct xenbus_device *dev, in xencons_backend_changed()
/linux-4.4.14/drivers/xen/xen-pciback/
Dxenbus.c37 static struct xen_pcibk_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
517 static void xen_pcibk_frontend_changed(struct xenbus_device *xdev, in xen_pcibk_frontend_changed()
674 static int xen_pcibk_xenbus_probe(struct xenbus_device *dev, in xen_pcibk_xenbus_probe()
709 static int xen_pcibk_xenbus_remove(struct xenbus_device *dev) in xen_pcibk_xenbus_remove()
Dpciback.h33 struct xenbus_device *xdev;
/linux-4.4.14/drivers/net/
Dxen-netfront.c150 struct xenbus_device *xbdev;
1286 static struct net_device *xennet_create_dev(struct xenbus_device *dev) in xennet_create_dev()
1344 static int netfront_probe(struct xenbus_device *dev, in netfront_probe()
1428 static int netfront_resume(struct xenbus_device *dev) in netfront_resume()
1438 static int xen_net_read_mac(struct xenbus_device *dev, u8 mac[]) in xen_net_read_mac()
1529 static int setup_netfront(struct xenbus_device *dev, in setup_netfront()
1662 struct xenbus_device *dev = queue->info->xbdev; in write_queue_xenstore_keys()
1803 static int talk_to_netback(struct xenbus_device *dev, in talk_to_netback()
2018 static void netback_changed(struct xenbus_device *dev, in netback_changed()
2150 static int xennet_remove(struct xenbus_device *dev) in xennet_remove()
/linux-4.4.14/drivers/pci/
Dxen-pcifront.c39 struct xenbus_device *xdev;
722 static struct pcifront_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
1089 static void __init_refok pcifront_backend_changed(struct xenbus_device *xdev, in pcifront_backend_changed()
1124 static int pcifront_xenbus_probe(struct xenbus_device *xdev, in pcifront_xenbus_probe()
1145 static int pcifront_xenbus_remove(struct xenbus_device *xdev) in pcifront_xenbus_remove()
/linux-4.4.14/drivers/block/
Dxen-blkfront.c131 struct xenbus_device *xbdev;
1410 static int setup_blkring(struct xenbus_device *dev, in setup_blkring()
1460 static int talk_to_blkback(struct xenbus_device *dev, in talk_to_blkback()
1566 static int blkfront_probe(struct xenbus_device *dev, in blkfront_probe()
1773 static int blkfront_resume(struct xenbus_device *dev) in blkfront_resume()
1796 struct xenbus_device *xbdev = info->xbdev; in blkfront_closing()
2087 static void blkback_changed(struct xenbus_device *dev, in blkback_changed()
2125 static int blkfront_remove(struct xenbus_device *xbdev) in blkfront_remove()
2174 static int blkfront_is_ready(struct xenbus_device *dev) in blkfront_is_ready()
2213 struct xenbus_device *xbdev; in blkif_release()
/linux-4.4.14/drivers/xen/
Dxen-scsiback.c88 struct xenbus_device *dev;
836 struct xenbus_device *dev = info->dev; in scsiback_map()
1027 struct xenbus_device *dev = info->dev; in scsiback_do_1lun_hotplug()
1108 static void scsiback_frontend_changed(struct xenbus_device *dev, in scsiback_frontend_changed()
1180 static int scsiback_remove(struct xenbus_device *dev) in scsiback_remove()
1194 static int scsiback_probe(struct xenbus_device *dev, in scsiback_probe()