Lines Matching refs:handle
188 u32 handle; /**< User-space: "Handle" to pass to mmap() */ member
199 void *handle; in compat_drm_getmap() local
218 || __get_user(handle, &map->handle) in compat_drm_getmap()
222 m32.handle = (unsigned long)handle; in compat_drm_getmap()
236 void *handle; in compat_drm_addmap() local
256 || __get_user(handle, &map->handle)) in compat_drm_addmap()
259 m32.handle = (unsigned long)handle; in compat_drm_addmap()
260 if (m32.handle != (unsigned long)handle) in compat_drm_addmap()
263 handle, m32.type, m32.offset); in compat_drm_addmap()
276 u32 handle; in compat_drm_rmmap() local
278 if (get_user(handle, &argp->handle)) in compat_drm_rmmap()
284 if (__put_user((void *)(unsigned long)handle, &map->handle)) in compat_drm_rmmap()
580 u32 handle; /**< Handle of map */ member
597 || __put_user((void *)(unsigned long)req32.handle, in compat_drm_setsareactx()
598 &request->handle)) in compat_drm_setsareactx()
611 void *handle; in compat_drm_getsareactx() local
627 if (__get_user(handle, &request->handle) in compat_drm_getsareactx()
628 || __put_user((unsigned long)handle, &argp->handle)) in compat_drm_getsareactx()
795 u32 handle; /**< Used for binding / unbinding */ member
821 if (__get_user(req32.handle, &request->handle) in compat_drm_agp_alloc()
836 u32 handle; in compat_drm_agp_free() local
840 || get_user(handle, &argp->handle) in compat_drm_agp_free()
841 || __put_user(handle, &request->handle)) in compat_drm_agp_free()
848 u32 handle; /**< From drm_agp_buffer */ member
864 || __put_user(req32.handle, &request->handle) in compat_drm_agp_bind()
876 u32 handle; in compat_drm_agp_unbind() local
880 || get_user(handle, &argp->handle) in compat_drm_agp_unbind()
881 || __put_user(handle, &request->handle)) in compat_drm_agp_unbind()
890 u32 handle; /**< Used for mapping / unmapping */ member
913 if (__get_user(x, &request->handle) in compat_drm_sg_alloc()
914 || __put_user(x >> PAGE_SHIFT, &argp->handle)) in compat_drm_sg_alloc()
930 || __get_user(x, &argp->handle) in compat_drm_sg_free()
931 || __put_user(x << PAGE_SHIFT, &request->handle)) in compat_drm_sg_free()
939 drm_drawable_t handle; member
958 __put_user(update32.handle, &request->handle) || in compat_drm_update_draw()