0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef _GNTDEV_DMABUF_H
0010 #define _GNTDEV_DMABUF_H
0011
0012 #include <xen/gntdev.h>
0013
0014 struct gntdev_dmabuf_priv;
0015 struct gntdev_priv;
0016
0017 struct gntdev_dmabuf_priv *gntdev_dmabuf_init(struct file *filp);
0018
0019 void gntdev_dmabuf_fini(struct gntdev_dmabuf_priv *priv);
0020
0021 long gntdev_ioctl_dmabuf_exp_from_refs(struct gntdev_priv *priv, int use_ptemod,
0022 struct ioctl_gntdev_dmabuf_exp_from_refs __user *u);
0023
0024 long gntdev_ioctl_dmabuf_exp_wait_released(struct gntdev_priv *priv,
0025 struct ioctl_gntdev_dmabuf_exp_wait_released __user *u);
0026
0027 long gntdev_ioctl_dmabuf_imp_to_refs(struct gntdev_priv *priv,
0028 struct ioctl_gntdev_dmabuf_imp_to_refs __user *u);
0029
0030 long gntdev_ioctl_dmabuf_imp_release(struct gntdev_priv *priv,
0031 struct ioctl_gntdev_dmabuf_imp_release __user *u);
0032
0033 #endif