Lines Matching refs:xenbus_device
79 struct xenbus_device { struct
99 #define to_xenbus_device(__dev) container_of_const(__dev, struct xenbus_device, dev) argument
113 int (*probe)(struct xenbus_device *dev,
115 void (*otherend_changed)(struct xenbus_device *dev,
117 void (*remove)(struct xenbus_device *dev);
118 int (*suspend)(struct xenbus_device *dev);
119 int (*resume)(struct xenbus_device *dev);
120 int (*uevent)(const struct xenbus_device *, struct kobj_uevent_env *);
122 int (*read_otherend_details)(struct xenbus_device *dev);
123 int (*is_ready)(struct xenbus_device *dev);
124 void (*reclaim_memory)(struct xenbus_device *dev);
209 int xenbus_watch_path(struct xenbus_device *dev, const char *path,
216 int xenbus_watch_pathfmt(struct xenbus_device *dev, struct xenbus_watch *watch,
223 int xenbus_switch_state(struct xenbus_device *dev, enum xenbus_state new_state);
224 int xenbus_setup_ring(struct xenbus_device *dev, gfp_t gfp, void **vaddr,
228 int xenbus_map_ring_valloc(struct xenbus_device *dev, grant_ref_t *gnt_refs,
231 int xenbus_unmap_ring_vfree(struct xenbus_device *dev, void *vaddr);
233 int xenbus_alloc_evtchn(struct xenbus_device *dev, evtchn_port_t *port);
234 int xenbus_free_evtchn(struct xenbus_device *dev, evtchn_port_t port);
239 void xenbus_dev_error(struct xenbus_device *dev, int err, const char *fmt, ...);
241 void xenbus_dev_fatal(struct xenbus_device *dev, int err, const char *fmt, ...);
244 int xenbus_dev_is_online(struct xenbus_device *dev);
245 int xenbus_frontend_closed(struct xenbus_device *dev);