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()
579 u32 handle; /**< Handle of map */ member
596 || __put_user((void *)(unsigned long)req32.handle, in compat_drm_setsareactx()
597 &request->handle)) in compat_drm_setsareactx()
610 void *handle; in compat_drm_getsareactx() local
626 if (__get_user(handle, &request->handle) in compat_drm_getsareactx()
627 || __put_user((unsigned long)handle, &argp->handle)) in compat_drm_getsareactx()
794 u32 handle; /**< Used for binding / unbinding */ member
820 if (__get_user(req32.handle, &request->handle) in compat_drm_agp_alloc()
835 u32 handle; in compat_drm_agp_free() local
839 || get_user(handle, &argp->handle) in compat_drm_agp_free()
840 || __put_user(handle, &request->handle)) in compat_drm_agp_free()
847 u32 handle; /**< From drm_agp_buffer */ member
863 || __put_user(req32.handle, &request->handle) in compat_drm_agp_bind()
875 u32 handle; in compat_drm_agp_unbind() local
879 || get_user(handle, &argp->handle) in compat_drm_agp_unbind()
880 || __put_user(handle, &request->handle)) in compat_drm_agp_unbind()
889 u32 handle; /**< Used for mapping / unmapping */ member
911 if (__get_user(x, &request->handle) in compat_drm_sg_alloc()
912 || __put_user(x >> PAGE_SHIFT, &argp->handle)) in compat_drm_sg_alloc()
927 || __get_user(x, &argp->handle) in compat_drm_sg_free()
928 || __put_user(x << PAGE_SHIFT, &request->handle)) in compat_drm_sg_free()
936 drm_drawable_t handle; member
955 __put_user(update32.handle, &request->handle) || in compat_drm_update_draw()