Lines Matching refs:user_token
90 unsigned long user_token, int hashed_handle, int shm) in drm_map_handle() argument
96 use_hashed_handle = ((user_token & 0xFFFFFFFF00000000UL) || hashed_handle); in drm_map_handle()
105 hash->key = user_token >> PAGE_SHIFT; in drm_map_handle()
129 add |= ((user_token >> PAGE_SHIFT) & ((1UL << bits) - 1UL)); in drm_map_handle()
133 user_token, 32 - PAGE_SHIFT - 3, in drm_map_handle()
153 unsigned long user_token; in drm_addmap_core() local
355 user_token = (map->type == _DRM_SHM) ? (unsigned long)map->handle : in drm_addmap_core()
357 ret = drm_map_handle(dev, &list->hash, user_token, 0, in drm_addmap_core()
368 list->user_token = list->hash.key << PAGE_SHIFT; in drm_addmap_core()
396 if (_entry->user_token == token) in drm_legacy_findmap()
434 map->handle = (void *)(unsigned long)maplist->user_token; in drm_legacy_addmap_ioctl()
495 map->handle = (void *)(unsigned long) r_list->user_token; in drm_legacy_getmap_ioctl()
526 r_list->user_token >> PAGE_SHIFT); in drm_legacy_rmmap_locked()
636 r_list->user_token == (unsigned long)request->handle && in drm_legacy_rmmap_ioctl()