1
2
3
4
5
6
7
8
9 #ifndef _GNTDEV_DMABUF_H
10 #define _GNTDEV_DMABUF_H
11
12 #include <xen/gntdev.h>
13
14 struct gntdev_dmabuf_priv;
15 struct gntdev_priv;
16
17 struct gntdev_dmabuf_priv *gntdev_dmabuf_init(struct file *filp);
18
19 void gntdev_dmabuf_fini(struct gntdev_dmabuf_priv *priv);
20
21 long gntdev_ioctl_dmabuf_exp_from_refs(struct gntdev_priv *priv, int use_ptemod,
22 struct ioctl_gntdev_dmabuf_exp_from_refs __user *u);
23
24 long gntdev_ioctl_dmabuf_exp_wait_released(struct gntdev_priv *priv,
25 struct ioctl_gntdev_dmabuf_exp_wait_released __user *u);
26
27 long gntdev_ioctl_dmabuf_imp_to_refs(struct gntdev_priv *priv,
28 struct ioctl_gntdev_dmabuf_imp_to_refs __user *u);
29
30 long gntdev_ioctl_dmabuf_imp_release(struct gntdev_priv *priv,
31 struct ioctl_gntdev_dmabuf_imp_release __user *u);
32
33 #endif