Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/xen/xenbus/
Dxenbus_client.c71 int (*map)(struct xenbus_device *dev,
74 int (*unmap)(struct xenbus_device *dev, void *vaddr);
110 int xenbus_watch_path(struct xenbus_device *dev, const char *path, in xenbus_watch_path()
148 int xenbus_watch_pathfmt(struct xenbus_device *dev, in xenbus_watch_pathfmt()
174 static void xenbus_switch_fatal(struct xenbus_device *, int, int,
178 __xenbus_switch_state(struct xenbus_device *dev, in __xenbus_switch_state()
242 int xenbus_switch_state(struct xenbus_device *dev, enum xenbus_state state) in xenbus_switch_state()
249 int xenbus_frontend_closed(struct xenbus_device *dev) in xenbus_frontend_closed()
261 static char *error_path(struct xenbus_device *dev) in error_path()
267 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.1.27/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()
205 static int xenkbd_resume(struct xenbus_device *dev) in xenkbd_resume()
214 static int xenkbd_remove(struct xenbus_device *dev) in xenkbd_remove()
228 static int xenkbd_connect_backend(struct xenbus_device *dev, in xenkbd_connect_backend()
303 static void xenkbd_backend_changed(struct xenbus_device *dev, in xenkbd_backend_changed()
/linux-4.1.27/drivers/block/xen-blkback/
Dxenbus.c30 struct xenbus_device *dev;
46 struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be) in xen_blkbk_xenbus()
66 struct xenbus_device *dev = blkif->be->dev; in blkback_name()
340 struct xenbus_device *dev = to_xenbus_device(_dev); \
374 static int xenvbd_sysfs_addif(struct xenbus_device *dev) in xenvbd_sysfs_addif()
398 static void xenvbd_sysfs_delif(struct xenbus_device *dev) in xenvbd_sysfs_delif()
462 static int xen_blkbk_remove(struct xenbus_device *dev) in xen_blkbk_remove()
492 struct xenbus_device *dev = be->dev; in xen_blkbk_flush_diskcache()
505 struct xenbus_device *dev = be->dev; in xen_blkbk_discard()
550 struct xenbus_device *dev = be->dev; in xen_blkbk_barrier()
[all …]
Dcommon.h393 struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be);
Dblkback.c509 struct xenbus_device *dev = xen_blkbk_xenbus(blkif->be); in xen_vbd_resize()
/linux-4.1.27/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()
391 static int netback_uevent(struct xenbus_device *xdev, in netback_uevent()
413 struct xenbus_device *dev = be->dev; in backend_create_xenvif()
457 struct xenbus_device *dev = be->dev; in backend_switch_state()
555 static void frontend_changed(struct xenbus_device *dev, in frontend_changed()
598 static void xen_net_read_rate(struct xenbus_device *dev, in xen_net_read_rate()
634 static int xen_net_read_mac(struct xenbus_device *dev, u8 mac[]) in xen_net_read_mac()
660 struct xenbus_device *dev = xenvif_to_xenbus_device(vif); in xen_net_rate_changed()
[all …]
Dcommon.h260 static inline struct xenbus_device *xenvif_to_xenbus_device(struct xenvif *vif) in xenvif_to_xenbus_device()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/tty/hvc/
Dhvc_xen.c49 struct xenbus_device *xbdev;
366 static int xencons_remove(struct xenbus_device *dev) in xencons_remove()
371 static int xencons_connect_backend(struct xenbus_device *dev, in xencons_connect_backend()
436 static int xencons_probe(struct xenbus_device *dev, in xencons_probe()
474 static int xencons_resume(struct xenbus_device *dev) in xencons_resume()
483 static void xencons_backend_changed(struct xenbus_device *dev, in xencons_backend_changed()
/linux-4.1.27/drivers/xen/xen-pciback/
Dxenbus.c37 static struct xen_pcibk_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
515 static void xen_pcibk_frontend_changed(struct xenbus_device *xdev, in xen_pcibk_frontend_changed()
672 static int xen_pcibk_xenbus_probe(struct xenbus_device *dev, in xen_pcibk_xenbus_probe()
707 static int xen_pcibk_xenbus_remove(struct xenbus_device *dev) in xen_pcibk_xenbus_remove()
Dpciback.h33 struct xenbus_device *xdev;
/linux-4.1.27/drivers/block/
Dxen-blkfront.c112 struct xenbus_device *xbdev;
1246 static int setup_blkring(struct xenbus_device *dev, in setup_blkring()
1292 static int talk_to_blkback(struct xenbus_device *dev, in talk_to_blkback()
1363 static int blkfront_probe(struct xenbus_device *dev, in blkfront_probe()
1604 static int blkfront_resume(struct xenbus_device *dev) in blkfront_resume()
1627 struct xenbus_device *xbdev = info->xbdev; in blkfront_closing()
1903 static void blkback_changed(struct xenbus_device *dev, in blkback_changed()
1934 static int blkfront_remove(struct xenbus_device *xbdev) in blkfront_remove()
1983 static int blkfront_is_ready(struct xenbus_device *dev) in blkfront_is_ready()
2022 struct xenbus_device *xbdev; in blkif_release()
/linux-4.1.27/drivers/net/
Dxen-netfront.c151 struct xenbus_device *xbdev;
1235 static struct net_device *xennet_create_dev(struct xenbus_device *dev) in xennet_create_dev()
1297 static int netfront_probe(struct xenbus_device *dev, in netfront_probe()
1381 static int netfront_resume(struct xenbus_device *dev) in netfront_resume()
1391 static int xen_net_read_mac(struct xenbus_device *dev, u8 mac[]) in xen_net_read_mac()
1482 static int setup_netfront(struct xenbus_device *dev, in setup_netfront()
1616 struct xenbus_device *dev = queue->info->xbdev; in write_queue_xenstore_keys()
1757 static int talk_to_netback(struct xenbus_device *dev, in talk_to_netback()
1972 static void netback_changed(struct xenbus_device *dev, in netback_changed()
2104 static int xennet_remove(struct xenbus_device *dev) in xennet_remove()
/linux-4.1.27/drivers/pci/
Dxen-pcifront.c38 struct xenbus_device *xdev;
714 static struct pcifront_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
1081 static void __init_refok pcifront_backend_changed(struct xenbus_device *xdev, in pcifront_backend_changed()
1116 static int pcifront_xenbus_probe(struct xenbus_device *xdev, in pcifront_xenbus_probe()
1137 static int pcifront_xenbus_remove(struct xenbus_device *xdev) in pcifront_xenbus_remove()
/linux-4.1.27/drivers/xen/
Dxen-scsiback.c93 struct xenbus_device *dev;
842 struct xenbus_device *dev = info->dev; in scsiback_map()
1029 struct xenbus_device *dev = info->dev; in scsiback_do_1lun_hotplug()
1110 static void scsiback_frontend_changed(struct xenbus_device *dev, in scsiback_frontend_changed()
1182 static int scsiback_remove(struct xenbus_device *dev) in scsiback_remove()
1196 static int scsiback_probe(struct xenbus_device *dev, in scsiback_probe()