Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/xen/
Dxenbus.h69 struct xenbus_device { struct
81 static inline struct xenbus_device *to_xenbus_device(struct device *dev) in to_xenbus_device() argument
83 return container_of(dev, struct xenbus_device, dev); in to_xenbus_device()
96 int (*probe)(struct xenbus_device *dev,
98 void (*otherend_changed)(struct xenbus_device *dev,
100 int (*remove)(struct xenbus_device *dev);
101 int (*suspend)(struct xenbus_device *dev);
102 int (*resume)(struct xenbus_device *dev);
103 int (*uevent)(struct xenbus_device *, struct kobj_uevent_env *);
105 int (*read_otherend_details)(struct xenbus_device *dev);
[all …]
/Linux-v4.19/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()
153 int xenbus_watch_pathfmt(struct xenbus_device *dev, in xenbus_watch_pathfmt()
179 static void xenbus_switch_fatal(struct xenbus_device *, int, int,
183 __xenbus_switch_state(struct xenbus_device *dev, in __xenbus_switch_state()
247 int xenbus_switch_state(struct xenbus_device *dev, enum xenbus_state state) in xenbus_switch_state()
254 int xenbus_frontend_closed(struct xenbus_device *dev) in xenbus_frontend_closed()
262 static void xenbus_va_dev_error(struct xenbus_device *dev, int err, in xenbus_va_dev_error()
299 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()
144 int xenbus_read_otherend_details(struct xenbus_device *xendev, in xenbus_read_otherend_details()
175 struct xenbus_device *dev = in xenbus_otherend_changed()
176 container_of(watch, struct xenbus_device, otherend_watch); in xenbus_otherend_changed()
210 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
256 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()
219 static int read_frontend_details(struct xenbus_device *xendev) in read_frontend_details()
224 int xenbus_dev_is_online(struct xenbus_device *dev) in xenbus_dev_is_online()
Dxenbus.h128 int xenbus_read_otherend_details(struct xenbus_device *xendev,
/Linux-v4.19/drivers/net/xen-netback/
Dxenbus.c26 struct xenbus_device *dev;
263 static int netback_remove(struct xenbus_device *dev) in netback_remove()
288 static int netback_probe(struct xenbus_device *dev, in netback_probe()
447 static int netback_uevent(struct xenbus_device *xdev, in netback_uevent()
469 struct xenbus_device *dev = be->dev; in backend_create_xenvif()
532 struct xenbus_device *dev = be->dev; in backend_switch_state()
642 static void frontend_changed(struct xenbus_device *dev, in frontend_changed()
685 static void xen_net_read_rate(struct xenbus_device *dev, in xen_net_read_rate()
721 static int xen_net_read_mac(struct xenbus_device *dev, u8 mac[]) in xen_net_read_mac()
747 struct xenbus_device *dev = xenvif_to_xenbus_device(vif); in xen_net_rate_changed()
[all …]
/Linux-v4.19/drivers/xen/
Dpvcalls-back.c48 struct xenbus_device *dev;
95 static int pvcalls_back_release_active(struct xenbus_device *dev,
254 static int pvcalls_back_socket(struct xenbus_device *dev, in pvcalls_back_socket()
386 static int pvcalls_back_connect(struct xenbus_device *dev, in pvcalls_back_connect()
432 static int pvcalls_back_release_active(struct xenbus_device *dev, in pvcalls_back_release_active()
457 static int pvcalls_back_release_passive(struct xenbus_device *dev, in pvcalls_back_release_passive()
475 static int pvcalls_back_release(struct xenbus_device *dev, in pvcalls_back_release()
617 static int pvcalls_back_bind(struct xenbus_device *dev, in pvcalls_back_bind()
682 static int pvcalls_back_listen(struct xenbus_device *dev, in pvcalls_back_listen()
709 static int pvcalls_back_accept(struct xenbus_device *dev, in pvcalls_back_accept()
[all …]
/Linux-v4.19/drivers/block/xen-blkback/
Dxenbus.c30 struct xenbus_device *dev;
46 struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be) in xen_blkbk_xenbus()
66 struct xenbus_device *dev = blkif->be->dev; in blkback_name()
353 struct xenbus_device *dev = to_xenbus_device(_dev); \
402 struct xenbus_device *dev = to_xenbus_device(_dev); \
412 static int xenvbd_sysfs_addif(struct xenbus_device *dev) in xenvbd_sysfs_addif()
436 static void xenvbd_sysfs_delif(struct xenbus_device *dev) in xenvbd_sysfs_delif()
500 static int xen_blkbk_remove(struct xenbus_device *dev) in xen_blkbk_remove()
530 struct xenbus_device *dev = be->dev; in xen_blkbk_flush_diskcache()
543 struct xenbus_device *dev = be->dev; in xen_blkbk_discard()
[all …]
/Linux-v4.19/drivers/gpu/drm/xen/
Dxen_drm_front_shbuf.h35 struct xenbus_device *xb_dev;
45 struct xenbus_device *xb_dev;
Dxen_drm_front_cfg.c51 struct xenbus_device *xb_dev = front_info->xb_dev; in xen_drm_front_cfg_card()
Dxen_drm_front.h88 struct xenbus_device *xb_dev;
/Linux-v4.19/drivers/input/misc/
Dxen-kbdfront.c42 struct xenbus_device *xbdev;
54 static int 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 int xenkbd_remove(struct xenbus_device *dev) in xenkbd_remove()
423 static int xenkbd_connect_backend(struct xenbus_device *dev, in xenkbd_connect_backend()
499 static void xenkbd_backend_changed(struct xenbus_device *dev, in xenkbd_backend_changed()
/Linux-v4.19/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-v4.19/drivers/scsi/
Dxen-scsifront.c104 struct xenbus_device *dev;
705 struct xenbus_device *dev = info->dev; in scsifront_alloc_ring()
771 struct xenbus_device *dev = info->dev; in scsifront_init_ring()
821 static int scsifront_probe(struct xenbus_device *dev, in scsifront_probe()
877 static int scsifront_resume(struct xenbus_device *dev) in scsifront_resume()
904 static int scsifront_suspend(struct xenbus_device *dev) in scsifront_suspend()
926 static int scsifront_remove(struct xenbus_device *dev) in scsifront_remove()
948 struct xenbus_device *dev = info->dev; in scsifront_disconnect()
971 struct xenbus_device *dev = info->dev; in scsifront_do_lun_hotplug()
1056 static void scsifront_read_backend_params(struct xenbus_device *dev, in scsifront_read_backend_params()
[all …]
/Linux-v4.19/net/9p/
Dtrans_xen.c76 struct xenbus_device *dev;
315 static int xen_9pfs_front_remove(struct xenbus_device *dev) in xen_9pfs_front_remove()
324 static int xen_9pfs_front_alloc_dataring(struct xenbus_device *dev, in xen_9pfs_front_alloc_dataring()
384 static int xen_9pfs_front_probe(struct xenbus_device *dev, in xen_9pfs_front_probe()
488 static int xen_9pfs_front_resume(struct xenbus_device *dev) in xen_9pfs_front_resume()
494 static void xen_9pfs_front_changed(struct xenbus_device *dev, in xen_9pfs_front_changed()
/Linux-v4.19/drivers/tty/hvc/
Dhvc_xen.c37 struct xenbus_device *xbdev;
362 static int xencons_remove(struct xenbus_device *dev) in xencons_remove()
367 static int xencons_connect_backend(struct xenbus_device *dev, in xencons_connect_backend()
427 static int xencons_probe(struct xenbus_device *dev, in xencons_probe()
465 static int xencons_resume(struct xenbus_device *dev) in xencons_resume()
474 static void xencons_backend_changed(struct xenbus_device *dev, in xencons_backend_changed()
/Linux-v4.19/drivers/video/fbdev/
Dxen-fbfront.c58 struct xenbus_device *xbdev;
70 static int xenfb_remove(struct xenbus_device *);
72 static int xenfb_connect_backend(struct xenbus_device *, struct xenfb_info *);
364 static int xenfb_probe(struct xenbus_device *dev, in xenfb_probe()
522 static int xenfb_resume(struct xenbus_device *dev) in xenfb_resume()
531 static int xenfb_remove(struct xenbus_device *dev) in xenfb_remove()
576 static int xenfb_connect_backend(struct xenbus_device *dev, in xenfb_connect_backend()
642 static void xenfb_backend_changed(struct xenbus_device *dev, in xenfb_backend_changed()
/Linux-v4.19/sound/xen/
Dxen_snd_front_shbuf.h28 int xen_snd_front_shbuf_alloc(struct xenbus_device *xb_dev,
Dxen_snd_front_shbuf.c87 static int grant_references(struct xenbus_device *xb_dev, in grant_references()
167 int xen_snd_front_shbuf_alloc(struct xenbus_device *xb_dev, in xen_snd_front_shbuf_alloc()
Dxen_snd_front.c236 static void sndback_changed(struct xenbus_device *xb_dev, in sndback_changed()
301 static int xen_drv_probe(struct xenbus_device *xb_dev, in xen_drv_probe()
317 static int xen_drv_remove(struct xenbus_device *dev) in xen_drv_remove()
Dxen_snd_front.h23 struct xenbus_device *xb_dev;
/Linux-v4.19/drivers/xen/xen-pciback/
Dxenbus.c37 static struct xen_pcibk_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
514 static void xen_pcibk_frontend_changed(struct xenbus_device *xdev, in xen_pcibk_frontend_changed()
671 static int xen_pcibk_xenbus_probe(struct xenbus_device *dev, in xen_pcibk_xenbus_probe()
706 static int xen_pcibk_xenbus_remove(struct xenbus_device *dev) in xen_pcibk_xenbus_remove()
/Linux-v4.19/drivers/net/
Dxen-netfront.c153 struct xenbus_device *xbdev;
1291 static struct net_device *xennet_create_dev(struct xenbus_device *dev) in xennet_create_dev()
1357 static int netfront_probe(struct xenbus_device *dev, in netfront_probe()
1433 static int netfront_resume(struct xenbus_device *dev) in netfront_resume()
1443 static int xen_net_read_mac(struct xenbus_device *dev, u8 mac[]) in xen_net_read_mac()
1534 static int setup_netfront(struct xenbus_device *dev, in setup_netfront()
1668 struct xenbus_device *dev = queue->info->xbdev; in write_queue_xenstore_keys()
1800 static int talk_to_netback(struct xenbus_device *dev, in talk_to_netback()
2010 static void netback_changed(struct xenbus_device *dev, in netback_changed()
2144 static int xennet_remove(struct xenbus_device *dev) in xennet_remove()
/Linux-v4.19/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()

12