Lines Matching refs:handle
42 drm_context_t handle; member
143 pos->handle != DRM_KERNEL_CONTEXT) { in drm_legacy_ctxbitmap_flush()
145 dev->driver->context_dtor(dev, pos->handle); in drm_legacy_ctxbitmap_flush()
147 drm_legacy_ctxbitmap_free(dev, pos->handle); in drm_legacy_ctxbitmap_flush()
192 request->handle = NULL; in drm_legacy_getsareactx()
195 request->handle = in drm_legacy_getsareactx()
203 if (request->handle == NULL) in drm_legacy_getsareactx()
234 && r_list->user_token == (unsigned long) request->handle) in drm_legacy_setsareactx()
338 ctx.handle = i; in drm_legacy_resctx()
381 ctx->handle = tmp_handle; in drm_legacy_addctx()
390 ctx_entry->handle = ctx->handle; in drm_legacy_addctx()
442 DRM_DEBUG("%d\n", ctx->handle); in drm_legacy_switchctx()
443 return drm_context_switch(dev, dev->last_context, ctx->handle); in drm_legacy_switchctx()
465 DRM_DEBUG("%d\n", ctx->handle); in drm_legacy_newctx()
466 drm_context_switch_complete(dev, file_priv, ctx->handle); in drm_legacy_newctx()
490 DRM_DEBUG("%d\n", ctx->handle); in drm_legacy_rmctx()
491 if (ctx->handle != DRM_KERNEL_CONTEXT) { in drm_legacy_rmctx()
493 dev->driver->context_dtor(dev, ctx->handle); in drm_legacy_rmctx()
494 drm_legacy_ctxbitmap_free(dev, ctx->handle); in drm_legacy_rmctx()
502 if (pos->handle == ctx->handle) { in drm_legacy_rmctx()