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);
206 int xenbus_watch_path(struct xenbus_device *dev, const char *path,
213 int xenbus_watch_pathfmt(struct xenbus_device *dev, struct xenbus_watch *watch,
220 int xenbus_switch_state(struct xenbus_device *dev, enum xenbus_state new_state);
221 int xenbus_setup_ring(struct xenbus_device *dev, gfp_t gfp, void **vaddr,
225 int xenbus_map_ring_valloc(struct xenbus_device *dev, grant_ref_t *gnt_refs,
228 int xenbus_unmap_ring_vfree(struct xenbus_device *dev, void *vaddr);
230 int xenbus_alloc_evtchn(struct xenbus_device *dev, evtchn_port_t *port);
231 int xenbus_free_evtchn(struct xenbus_device *dev, evtchn_port_t port);
236 void xenbus_dev_error(struct xenbus_device *dev, int err, const char *fmt, ...);
238 void xenbus_dev_fatal(struct xenbus_device *dev, int err, const char *fmt, ...);
241 int xenbus_dev_is_online(struct xenbus_device *dev);
242 int xenbus_frontend_closed(struct xenbus_device *dev);