Home
last modified time | relevance | path

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

12

/linux/include/xen/
H A Dxenbus.h79 struct xenbus_device { struct
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);
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);
244 int xenbus_dev_is_online(struct xenbus_device *dev);
[all …]
H A Devents.h15 struct xenbus_device;
40 int bind_interdomain_evtchn_to_irq_lateeoi(struct xenbus_device *dev,
42 int bind_interdomain_evtchn_to_irqhandler_lateeoi(struct xenbus_device *dev,
H A Dxen-front-pgdir-shbuf.h49 struct xenbus_device *xb_dev;
59 struct xenbus_device *xb_dev;
/linux/drivers/xen/xenbus/
H A Dxenbus_client.c89 int (*map)(struct xenbus_device *dev, struct map_ring_valloc *info,
92 int (*unmap)(struct xenbus_device *dev, void *vaddr);
131 int xenbus_watch_path(struct xenbus_device *dev, const char *path, in xenbus_watch_path()
177 int xenbus_watch_pathfmt(struct xenbus_device *dev, in xenbus_watch_pathfmt()
205 static void xenbus_switch_fatal(struct xenbus_device *, int, int,
209 __xenbus_switch_state(struct xenbus_device *dev, in __xenbus_switch_state()
282 int xenbus_frontend_closed(struct xenbus_device *dev) in xenbus_frontend_closed()
290 static void xenbus_va_dev_error(struct xenbus_device *dev, int err, in xenbus_va_dev_error()
555 static int __xenbus_map_ring(struct xenbus_device *dev, in __xenbus_map_ring()
667 static int xenbus_map_ring_hvm(struct xenbus_device *dev, in xenbus_map_ring_hvm()
[all …]
H A Dxenbus_probe.c138 static int watch_otherend(struct xenbus_device *dev) in watch_otherend()
181 struct xenbus_device *dev = in xenbus_otherend_changed()
234 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_show()
243 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_store()
386 struct xenbus_device *dev;
507 struct xenbus_device *xendev; in xenbus_probe_node()
630 struct xenbus_device *dev; in xenbus_dev_changed()
669 struct xenbus_device *xdev in xenbus_dev_suspend()
670 = container_of(dev, struct xenbus_device, dev); in xenbus_dev_suspend()
689 struct xenbus_device *xdev in xenbus_dev_resume()
[all …]
H A Dxenbus_probe_frontend.c79 const 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()
130 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_frontend_dev_shutdown()
192 static int read_backend_details(struct xenbus_device *xendev) in read_backend_details()
199 struct xenbus_device *xendev = to_xenbus_device(dev); in is_device_connecting()
245 struct xenbus_device *xendev = to_xenbus_device(dev); in print_device_status()
H A Dxenbus_probe_backend.c98 const struct xenbus_device *xdev; in xenbus_uevent_backend()
225 static int read_frontend_details(struct xenbus_device *xendev) in read_frontend_details()
230 int xenbus_dev_is_online(struct xenbus_device *dev) in xenbus_dev_is_online()
260 struct xenbus_device *xdev; in backend_reclaim_memory()
/linux/drivers/net/xen-netback/
H A Dxenbus.c225 struct xenbus_device *dev = be->dev; in backend_create_xenvif()
289 struct xenbus_device *dev = be->dev; in backend_switch_state()
397 struct xenbus_device *dev) in read_xenbus_frontend_xdp()
417 static void frontend_changed(struct xenbus_device *dev, in frontend_changed()
465 static void xen_net_read_rate(struct xenbus_device *dev, in xen_net_read_rate()
684 struct xenbus_device *dev = be->dev; in connect_ctrl_ring()
727 struct xenbus_device *dev = be->dev; in connect()
852 struct xenbus_device *dev = be->dev; in connect_data_rings()
932 struct xenbus_device *dev = be->dev; in read_xenbus_vif_flags()
980 static void netback_remove(struct xenbus_device *dev) in netback_remove()
[all …]
H A Dcommon.h264 struct xenbus_device *dev;
339 static inline struct xenbus_device *xenvif_to_xenbus_device(struct xenvif *vif) in xenvif_to_xenbus_device()
/linux/drivers/block/xen-blkback/
H A Dxenbus.c22 struct xenbus_device *dev;
58 struct xenbus_device *dev = blkif->be->dev; in blkback_name()
555 struct xenbus_device *dev = be->dev; in xen_blkbk_flush_diskcache()
568 struct xenbus_device *dev = be->dev; in xen_blkbk_discard()
611 struct xenbus_device *dev = be->dev; in xen_blkbk_barrier()
627 static int xen_blkbk_probe(struct xenbus_device *dev, in xen_blkbk_probe()
706 struct xenbus_device *dev = be->dev; in backend_changed()
868 static void reclaim_memory(struct xenbus_device *dev) in reclaim_memory()
888 struct xenbus_device *dev = be->dev; in connect()
972 struct xenbus_device *dev = blkif->be->dev; in read_per_ring_refs()
[all …]
/linux/drivers/xen/
H A Dpvcalls-back.c40 struct xenbus_device *dev;
261 static int pvcalls_back_socket(struct xenbus_device *dev, in pvcalls_back_socket()
392 static int pvcalls_back_connect(struct xenbus_device *dev, in pvcalls_back_connect()
625 static int pvcalls_back_bind(struct xenbus_device *dev, in pvcalls_back_bind()
762 static int pvcalls_back_poll(struct xenbus_device *dev, in pvcalls_back_poll()
866 struct xenbus_device *dev = fedata->dev; in pvcalls_back_work()
892 struct xenbus_device *dev = dev_id; in pvcalls_back_event()
930 static int backend_connect(struct xenbus_device *dev) in backend_connect()
997 static int backend_disconnect(struct xenbus_device *dev) in backend_disconnect()
1039 static int pvcalls_back_probe(struct xenbus_device *dev, in pvcalls_back_probe()
[all …]
/linux/drivers/input/misc/
H A Dxen-kbdfront.c42 struct xenbus_device *xbdev;
54 static void xenkbd_remove(struct xenbus_device *);
55 static int xenkbd_connect_backend(struct xenbus_device *, struct xenkbd_info *);
200 static int xenkbd_probe(struct xenbus_device *dev, in xenkbd_probe()
398 static int xenkbd_resume(struct xenbus_device *dev) in xenkbd_resume()
407 static void xenkbd_remove(struct xenbus_device *dev) in xenkbd_remove()
422 static int xenkbd_connect_backend(struct xenbus_device *dev, in xenkbd_connect_backend()
498 static void xenkbd_backend_changed(struct xenbus_device *dev, in xenkbd_backend_changed()
/linux/drivers/char/tpm/
H A Dxen-tpmfront.c22 struct xenbus_device *dev;
251 static int setup_ring(struct xenbus_device *dev, struct tpm_private *priv) in setup_ring()
334 static int tpmfront_probe(struct xenbus_device *dev, in tpmfront_probe()
363 static void tpmfront_remove(struct xenbus_device *dev) in tpmfront_remove()
372 static int tpmfront_resume(struct xenbus_device *dev) in tpmfront_resume()
379 static void backend_changed(struct xenbus_device *dev, in backend_changed()
/linux/net/9p/
H A Dtrans_xen.c53 struct xenbus_device *dev;
311 static void xen_9pfs_front_remove(struct xenbus_device *dev) in xen_9pfs_front_remove()
319 static int xen_9pfs_front_alloc_dataring(struct xenbus_device *dev, in xen_9pfs_front_alloc_dataring()
378 static int xen_9pfs_front_init(struct xenbus_device *dev) in xen_9pfs_front_init()
478 static int xen_9pfs_front_probe(struct xenbus_device *dev, in xen_9pfs_front_probe()
497 static int xen_9pfs_front_resume(struct xenbus_device *dev) in xen_9pfs_front_resume()
503 static void xen_9pfs_front_changed(struct xenbus_device *dev, in xen_9pfs_front_changed()
/linux/drivers/video/fbdev/
H A Dxen-fbfront.c58 struct xenbus_device *xbdev;
70 static void xenfb_remove(struct xenbus_device *);
72 static int xenfb_connect_backend(struct xenbus_device *, struct xenfb_info *);
342 static int xenfb_probe(struct xenbus_device *dev, in xenfb_probe()
496 static int xenfb_resume(struct xenbus_device *dev) in xenfb_resume()
505 static void xenfb_remove(struct xenbus_device *dev) in xenfb_remove()
548 static int xenfb_connect_backend(struct xenbus_device *dev, in xenfb_connect_backend()
614 static void xenfb_backend_changed(struct xenbus_device *dev, in xenfb_backend_changed()
/linux/drivers/scsi/
H A Dxen-scsifront.c103 struct xenbus_device *dev;
791 struct xenbus_device *dev = info->dev; in scsifront_alloc_ring()
843 struct xenbus_device *dev = info->dev; in scsifront_init_ring()
893 static int scsifront_probe(struct xenbus_device *dev, in scsifront_probe()
949 static int scsifront_resume(struct xenbus_device *dev) in scsifront_resume()
976 static int scsifront_suspend(struct xenbus_device *dev) in scsifront_suspend()
998 static void scsifront_remove(struct xenbus_device *dev) in scsifront_remove()
1018 struct xenbus_device *dev = info->dev; in scsifront_disconnect()
1041 struct xenbus_device *dev = info->dev; in scsifront_do_lun_hotplug()
1129 static void scsifront_read_backend_params(struct xenbus_device *dev, in scsifront_read_backend_params()
[all …]
/linux/drivers/tty/hvc/
H A Dhvc_xen.c37 struct xenbus_device *xbdev;
424 static void xencons_remove(struct xenbus_device *dev) in xencons_remove()
429 static int xencons_connect_backend(struct xenbus_device *dev, in xencons_connect_backend()
489 static int xencons_probe(struct xenbus_device *dev, in xencons_probe()
529 static int xencons_resume(struct xenbus_device *dev) in xencons_resume()
538 static void xencons_backend_changed(struct xenbus_device *dev, in xencons_backend_changed()
/linux/sound/xen/
H A Dxen_snd_front.c237 static void sndback_changed(struct xenbus_device *xb_dev, in sndback_changed()
298 static int xen_drv_probe(struct xenbus_device *xb_dev, in xen_drv_probe()
314 static void xen_drv_remove(struct xenbus_device *dev) in xen_drv_remove()
H A Dxen_snd_front.h23 struct xenbus_device *xb_dev;
/linux/drivers/usb/host/
H A Dxen-hcd.c76 struct xenbus_device *xbdev;
1107 static int xenhcd_setup_rings(struct xenbus_device *dev, in xenhcd_setup_rings()
1161 static int xenhcd_talk_to_backend(struct xenbus_device *dev, in xenhcd_talk_to_backend()
1220 static int xenhcd_connect(struct xenbus_device *dev) in xenhcd_connect()
1250 static void xenhcd_disconnect(struct xenbus_device *dev) in xenhcd_disconnect()
1441 static struct usb_hcd *xenhcd_create_hcd(struct xenbus_device *dev) in xenhcd_create_hcd()
1499 static void xenhcd_backend_changed(struct xenbus_device *dev, in xenhcd_backend_changed()
1533 static void xenhcd_remove(struct xenbus_device *dev) in xenhcd_remove()
1542 static int xenhcd_probe(struct xenbus_device *dev, in xenhcd_probe()
/linux/drivers/xen/events/
H A Devents_base.c129 struct xenbus_device *interdomain;
354 struct xenbus_device *dev) in xen_irq_info_evtchn_setup()
608 struct xenbus_device *dev = info->u.interdomain; in xen_irq_lateeoi_locked()
976 struct xenbus_device *dev; in __unbind_from_irq()
1193 struct xenbus_device *dev, bool shared) in bind_evtchn_to_irq_chip()
1297 static int bind_interdomain_evtchn_to_irq_chip(struct xenbus_device *dev, in bind_interdomain_evtchn_to_irq_chip()
1315 int bind_interdomain_evtchn_to_irq_lateeoi(struct xenbus_device *dev, in bind_interdomain_evtchn_to_irq_lateeoi()
1471 struct xenbus_device *dev, evtchn_port_t remote_port, in bind_interdomain_evtchn_to_irqhandler_chip()
1491 int bind_interdomain_evtchn_to_irqhandler_lateeoi(struct xenbus_device *dev, in bind_interdomain_evtchn_to_irqhandler_lateeoi()
1655 struct xenbus_device *dev; in handle_irq_for_port()
/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front_cfg.c51 struct xenbus_device *xb_dev = front_info->xb_dev; in xen_drm_front_cfg_card()
H A Dxen_drm_front.h84 struct xenbus_device *xb_dev;
/linux/drivers/xen/xen-pciback/
H A Dxenbus.c37 static struct xen_pcibk_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
518 static void xen_pcibk_frontend_changed(struct xenbus_device *xdev, in xen_pcibk_frontend_changed()
684 static int xen_pcibk_xenbus_probe(struct xenbus_device *dev, in xen_pcibk_xenbus_probe()
719 static void xen_pcibk_xenbus_remove(struct xenbus_device *dev) in xen_pcibk_xenbus_remove()
/linux/drivers/pci/
H A Dxen-pcifront.c40 struct xenbus_device *xdev;
686 static struct pcifront_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
994 static void pcifront_backend_changed(struct xenbus_device *xdev, in pcifront_backend_changed()
1029 static int pcifront_xenbus_probe(struct xenbus_device *xdev, in pcifront_xenbus_probe()
1050 static void pcifront_xenbus_remove(struct xenbus_device *xdev) in pcifront_xenbus_remove()

12