Home
last modified time | relevance | path

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

/linux-4.19.296/include/xen/
Dxenbus.h78 struct xenbus_device { struct
90 static inline struct xenbus_device *to_xenbus_device(struct device *dev) in to_xenbus_device() argument
92 return container_of(dev, struct xenbus_device, dev); in to_xenbus_device()
105 int (*probe)(struct xenbus_device *dev,
107 void (*otherend_changed)(struct xenbus_device *dev,
109 int (*remove)(struct xenbus_device *dev);
110 int (*suspend)(struct xenbus_device *dev);
111 int (*resume)(struct xenbus_device *dev);
112 int (*uevent)(struct xenbus_device *, struct kobj_uevent_env *);
114 int (*read_otherend_details)(struct xenbus_device *dev);
[all …]
/linux-4.19.296/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()
157 int xenbus_watch_pathfmt(struct xenbus_device *dev, in xenbus_watch_pathfmt()
185 static void xenbus_switch_fatal(struct xenbus_device *, int, int,
189 __xenbus_switch_state(struct xenbus_device *dev, in __xenbus_switch_state()
253 int xenbus_switch_state(struct xenbus_device *dev, enum xenbus_state state) in xenbus_switch_state()
260 int xenbus_frontend_closed(struct xenbus_device *dev) in xenbus_frontend_closed()
268 static void xenbus_va_dev_error(struct xenbus_device *dev, int err, in xenbus_va_dev_error()
305 void xenbus_dev_error(struct xenbus_device *dev, int err, const char *fmt, ...) in xenbus_dev_error()
[all …]
Dxenbus_probe.c83 match_device(const struct xenbus_device_id *arr, struct xenbus_device *dev) in match_device()
104 static void free_otherend_details(struct xenbus_device *dev) in free_otherend_details()
111 static void free_otherend_watch(struct xenbus_device *dev) in free_otherend_watch()
121 static int talk_to_otherend(struct xenbus_device *dev) in talk_to_otherend()
133 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()
211 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
257 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
[all …]
Dxenbus_probe_frontend.c79 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_uevent_frontend()
96 struct xenbus_device *xdev = container_of(w, struct xenbus_device, work); in xenbus_frontend_delayed_resume()
108 struct xenbus_device *xdev = to_xenbus_device(dev); in xenbus_frontend_dev_resume()
121 struct xenbus_device *xdev = to_xenbus_device(dev); in xenbus_frontend_dev_probe()
170 static int read_backend_details(struct xenbus_device *xendev) in read_backend_details()
177 struct xenbus_device *xendev = to_xenbus_device(dev); in is_device_connecting()
231 struct xenbus_device *xendev = to_xenbus_device(dev); in print_device_status()
Dxenbus_probe_backend.c98 struct xenbus_device *xdev; in xenbus_uevent_backend()
226 static int read_frontend_details(struct xenbus_device *xendev) in read_frontend_details()
231 int xenbus_dev_is_online(struct xenbus_device *dev) in xenbus_dev_is_online()
Dxenbus.h131 int xenbus_read_otherend_details(struct xenbus_device *xendev,
/linux-4.19.296/drivers/xen/
Dpvcalls-back.c48 struct xenbus_device *dev;
96 static int pvcalls_back_release_active(struct xenbus_device *dev,
268 static int pvcalls_back_socket(struct xenbus_device *dev, in pvcalls_back_socket()
397 static int pvcalls_back_connect(struct xenbus_device *dev, in pvcalls_back_connect()
441 static int pvcalls_back_release_active(struct xenbus_device *dev, in pvcalls_back_release_active()
466 static int pvcalls_back_release_passive(struct xenbus_device *dev, in pvcalls_back_release_passive()
484 static int pvcalls_back_release(struct xenbus_device *dev, in pvcalls_back_release()
625 static int pvcalls_back_bind(struct xenbus_device *dev, in pvcalls_back_bind()
690 static int pvcalls_back_listen(struct xenbus_device *dev, in pvcalls_back_listen()
717 static int pvcalls_back_accept(struct xenbus_device *dev, in pvcalls_back_accept()
[all …]
Dpvcalls-front.c52 static struct xenbus_device *pvcalls_front_dev;
176 struct xenbus_device *dev = dev_id; in pvcalls_front_event_handler()
1095 static int pvcalls_front_remove(struct xenbus_device *dev) in pvcalls_front_remove()
1134 static int pvcalls_front_probe(struct xenbus_device *dev, in pvcalls_front_probe()
1250 static void pvcalls_front_changed(struct xenbus_device *dev, in pvcalls_front_changed()
Dxen-scsiback.c88 struct xenbus_device *dev;
860 struct xenbus_device *dev = info->dev; in scsiback_map()
1067 struct xenbus_device *dev = info->dev; in scsiback_do_1lun_hotplug()
1154 static void scsiback_frontend_changed(struct xenbus_device *dev, in scsiback_frontend_changed()
1226 static int scsiback_remove(struct xenbus_device *dev) in scsiback_remove()
1240 static int scsiback_probe(struct xenbus_device *dev, in scsiback_probe()
/linux-4.19.296/drivers/char/tpm/
Dxen-tpmfront.c25 struct xenbus_device *dev;
254 static int setup_ring(struct xenbus_device *dev, struct tpm_private *priv) in setup_ring()
349 static int tpmfront_probe(struct xenbus_device *dev, in tpmfront_probe()
378 static int tpmfront_remove(struct xenbus_device *dev) in tpmfront_remove()
388 static int tpmfront_resume(struct xenbus_device *dev) in tpmfront_resume()
395 static void backend_changed(struct xenbus_device *dev, in backend_changed()
/linux-4.19.296/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()
683 static int xen_pcibk_xenbus_probe(struct xenbus_device *dev, in xen_pcibk_xenbus_probe()
718 static int xen_pcibk_xenbus_remove(struct xenbus_device *dev) in xen_pcibk_xenbus_remove()
Dpciback.h37 struct xenbus_device *xdev;
/linux-4.19.296/drivers/pci/
Dxen-pcifront.c40 struct xenbus_device *xdev;
723 static struct pcifront_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
1088 static void __ref pcifront_backend_changed(struct xenbus_device *xdev, in pcifront_backend_changed()
1123 static int pcifront_xenbus_probe(struct xenbus_device *xdev, in pcifront_xenbus_probe()
1144 static int pcifront_xenbus_remove(struct xenbus_device *xdev) in pcifront_xenbus_remove()