Home
last modified time | relevance | path

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

/linux-2.6.39/include/xen/
Dxenbus.h63 struct xenbus_device { struct
74 static inline struct xenbus_device *to_xenbus_device(struct device *dev) in to_xenbus_device() argument
76 return container_of(dev, struct xenbus_device, dev); in to_xenbus_device()
90 int (*probe)(struct xenbus_device *dev,
92 void (*otherend_changed)(struct xenbus_device *dev,
94 int (*remove)(struct xenbus_device *dev);
95 int (*suspend)(struct xenbus_device *dev);
96 int (*resume)(struct xenbus_device *dev);
97 int (*uevent)(struct xenbus_device *, struct kobj_uevent_env *);
99 int (*read_otherend_details)(struct xenbus_device *dev);
[all …]
/linux-2.6.39/drivers/xen/xenbus/
Dxenbus_client.c74 int xenbus_watch_path(struct xenbus_device *dev, const char *path, in xenbus_watch_path()
112 int xenbus_watch_pathfmt(struct xenbus_device *dev, in xenbus_watch_pathfmt()
138 static void xenbus_switch_fatal(struct xenbus_device *, int, int,
142 __xenbus_switch_state(struct xenbus_device *dev, in __xenbus_switch_state()
206 int xenbus_switch_state(struct xenbus_device *dev, enum xenbus_state state) in xenbus_switch_state()
213 int xenbus_frontend_closed(struct xenbus_device *dev) in xenbus_frontend_closed()
225 static char *error_path(struct xenbus_device *dev) in error_path()
231 static void xenbus_va_dev_error(struct xenbus_device *dev, int err, in xenbus_va_dev_error()
280 void xenbus_dev_error(struct xenbus_device *dev, int err, const char *fmt, ...) in xenbus_dev_error()
301 void xenbus_dev_fatal(struct xenbus_device *dev, int err, const char *fmt, ...) in xenbus_dev_fatal()
[all …]
Dxenbus_probe.c77 match_device(const struct xenbus_device_id *arr, struct xenbus_device *dev) in match_device()
98 static void free_otherend_details(struct xenbus_device *dev) in free_otherend_details()
105 static void free_otherend_watch(struct xenbus_device *dev) in free_otherend_watch()
115 static int talk_to_otherend(struct xenbus_device *dev) in talk_to_otherend()
127 static int watch_otherend(struct xenbus_device *dev) in watch_otherend()
138 int xenbus_read_otherend_details(struct xenbus_device *xendev, in xenbus_read_otherend_details()
169 struct xenbus_device *dev = in xenbus_otherend_changed()
170 container_of(watch, struct xenbus_device, otherend_watch); in xenbus_otherend_changed()
207 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
253 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
[all …]
Dxenbus_probe_frontend.c69 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_uevent_frontend()
130 static int read_backend_details(struct xenbus_device *xendev) in read_backend_details()
137 struct xenbus_device *xendev = to_xenbus_device(dev); in is_device_connecting()
166 struct xenbus_device *xendev = to_xenbus_device(dev); in print_device_status()
Dxenbus_probe_backend.c96 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.h75 extern int xenbus_read_otherend_details(struct xenbus_device *xendev,
/linux-2.6.39/drivers/net/xen-netback/
Dxenbus.c25 struct xenbus_device *dev;
37 static int netback_remove(struct xenbus_device *dev) in netback_remove()
58 static int netback_probe(struct xenbus_device *dev, in netback_probe()
149 static int netback_uevent(struct xenbus_device *xdev, in netback_uevent()
179 struct xenbus_device *dev = be->dev; in backend_create_xenvif()
202 static void disconnect_backend(struct xenbus_device *dev) in disconnect_backend()
216 static void frontend_changed(struct xenbus_device *dev, in frontend_changed()
269 static void xen_net_read_rate(struct xenbus_device *dev, in xen_net_read_rate()
305 static int xen_net_read_mac(struct xenbus_device *dev, u8 mac[]) in xen_net_read_mac()
360 struct xenbus_device *dev = be->dev; in connect()
[all …]
/linux-2.6.39/drivers/input/misc/
Dxen-kbdfront.c39 struct xenbus_device *xbdev;
43 static int xenkbd_remove(struct xenbus_device *);
44 static int xenkbd_connect_backend(struct xenbus_device *, struct xenkbd_info *);
107 static int __devinit xenkbd_probe(struct xenbus_device *dev, in xenkbd_probe()
204 static int xenkbd_resume(struct xenbus_device *dev) in xenkbd_resume()
213 static int xenkbd_remove(struct xenbus_device *dev) in xenkbd_remove()
227 static int xenkbd_connect_backend(struct xenbus_device *dev, in xenkbd_connect_backend()
302 static void xenkbd_backend_changed(struct xenbus_device *dev, in xenkbd_backend_changed()
/linux-2.6.39/drivers/video/
Dxen-fbfront.c55 struct xenbus_device *xbdev;
67 static int xenfb_remove(struct xenbus_device *);
69 static int xenfb_connect_backend(struct xenbus_device *, struct xenfb_info *);
361 static int __devinit xenfb_probe(struct xenbus_device *dev, in xenfb_probe()
508 static int xenfb_resume(struct xenbus_device *dev) in xenfb_resume()
517 static int xenfb_remove(struct xenbus_device *dev) in xenfb_remove()
562 static int xenfb_connect_backend(struct xenbus_device *dev, in xenfb_connect_backend()
628 static void xenfb_backend_changed(struct xenbus_device *dev, in xenfb_backend_changed()
/linux-2.6.39/drivers/block/
Dxen-blkfront.c85 struct xenbus_device *xbdev;
773 static int setup_blkring(struct xenbus_device *dev, in setup_blkring()
821 static int talk_to_blkback(struct xenbus_device *dev, in talk_to_blkback()
887 static int blkfront_probe(struct xenbus_device *dev, in blkfront_probe()
1039 static int blkfront_resume(struct xenbus_device *dev) in blkfront_resume()
1058 struct xenbus_device *xbdev = info->xbdev; in blkfront_closing()
1182 static void blkback_changed(struct xenbus_device *dev, in blkback_changed()
1209 static int blkfront_remove(struct xenbus_device *xbdev) in blkfront_remove()
1258 static int blkfront_is_ready(struct xenbus_device *dev) in blkfront_is_ready()
1297 struct xenbus_device *xbdev; in blkif_release()
/linux-2.6.39/drivers/net/
Dxen-netfront.c80 struct xenbus_device *xbdev;
1153 static struct net_device * __devinit xennet_create_dev(struct xenbus_device *dev) in xennet_create_dev()
1235 static int __devinit netfront_probe(struct xenbus_device *dev, in netfront_probe()
1311 static int netfront_resume(struct xenbus_device *dev) in netfront_resume()
1321 static int xen_net_read_mac(struct xenbus_device *dev, u8 mac[]) in xen_net_read_mac()
1363 static int setup_netfront(struct xenbus_device *dev, struct netfront_info *info) in setup_netfront()
1431 static int talk_to_netback(struct xenbus_device *dev, in talk_to_netback()
1635 static void netback_changed(struct xenbus_device *dev, in netback_changed()
1860 static int __devexit xennet_remove(struct xenbus_device *dev) in xennet_remove()
/linux-2.6.39/drivers/pci/
Dxen-pcifront.c36 struct xenbus_device *xdev;
703 static struct pcifront_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
1063 static void __init_refok pcifront_backend_changed(struct xenbus_device *xdev, in pcifront_backend_changed()
1095 static int pcifront_xenbus_probe(struct xenbus_device *xdev, in pcifront_xenbus_probe()
1116 static int pcifront_xenbus_remove(struct xenbus_device *xdev) in pcifront_xenbus_remove()