Go to the documentation of this file.
33 #ifndef __LINUX_PUBLIC_GNTDEV_H__
34 #define __LINUX_PUBLIC_GNTDEV_H__
48 #define IOCTL_GNTDEV_MAP_GRANT_REF \
49 _IOC(_IOC_NONE, 'G', 0, sizeof(struct ioctl_gntdev_map_grant_ref))
68 #define IOCTL_GNTDEV_UNMAP_GRANT_REF \
69 _IOC(_IOC_NONE, 'G', 1, sizeof(struct ioctl_gntdev_unmap_grant_ref))
91 #define IOCTL_GNTDEV_GET_OFFSET_FOR_VADDR \
92 _IOC(_IOC_NONE, 'G', 2, sizeof(struct ioctl_gntdev_get_offset_for_vaddr))
111 #define IOCTL_GNTDEV_SET_MAX_GRANTS \
112 _IOC(_IOC_NONE, 'G', 3, sizeof(struct ioctl_gntdev_set_max_grants))
129 #define IOCTL_GNTDEV_SET_UNMAP_NOTIFY \
130 _IOC(_IOC_NONE, 'G', 7, sizeof(struct ioctl_gntdev_unmap_notify))
146 #define UNMAP_NOTIFY_CLEAR_BYTE 0x1
148 #define UNMAP_NOTIFY_SEND_EVENT 0x2