Lines Matching refs:handle
186 u32 handle; /**< User-space: "Handle" to pass to mmap() */ member
197 void *handle; in compat_drm_getmap() local
217 || __get_user(handle, &map->handle) in compat_drm_getmap()
221 m32.handle = (unsigned long)handle; in compat_drm_getmap()
235 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 && printk_ratelimit()) 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()
587 u32 handle; /**< Handle of map */ member
604 || __put_user((void *)(unsigned long)req32.handle, in compat_drm_setsareactx()
605 &request->handle)) in compat_drm_setsareactx()
619 void *handle; in compat_drm_getsareactx() local
636 if (__get_user(handle, &request->handle) in compat_drm_getsareactx()
637 || __put_user((unsigned long)handle, &argp->handle)) in compat_drm_getsareactx()
808 u32 handle; /**< Used for binding / unbinding */ member
835 if (__get_user(req32.handle, &request->handle) in compat_drm_agp_alloc()
851 u32 handle; in compat_drm_agp_free() local
855 || get_user(handle, &argp->handle) in compat_drm_agp_free()
856 || __put_user(handle, &request->handle)) in compat_drm_agp_free()
864 u32 handle; /**< From drm_agp_buffer */ member
880 || __put_user(req32.handle, &request->handle) in compat_drm_agp_bind()
893 u32 handle; in compat_drm_agp_unbind() local
897 || get_user(handle, &argp->handle) in compat_drm_agp_unbind()
898 || __put_user(handle, &request->handle)) in compat_drm_agp_unbind()
908 u32 handle; /**< Used for mapping / unmapping */ member
932 if (__get_user(x, &request->handle) in compat_drm_sg_alloc()
933 || __put_user(x >> PAGE_SHIFT, &argp->handle)) in compat_drm_sg_alloc()
949 || __get_user(x, &argp->handle) in compat_drm_sg_free()
950 || __put_user(x << PAGE_SHIFT, &request->handle)) in compat_drm_sg_free()
958 drm_drawable_t handle; member
977 __put_user(update32.handle, &request->handle) || in compat_drm_update_draw()