fpriv 37 drivers/char/tpm/tpmrm-dev.c struct file_priv *fpriv = file->private_data; fpriv 38 drivers/char/tpm/tpmrm-dev.c struct tpmrm_priv *priv = container_of(fpriv, struct tpmrm_priv, priv); fpriv 40 drivers/char/tpm/tpmrm-dev.c tpm_common_release(file, fpriv); fpriv 41 drivers/char/tpm/tpmrm-dev.c tpm2_del_space(fpriv->chip, &priv->space); fpriv 427 drivers/gpu/drm/amd/amdgpu/amdgpu.h int amdgpu_file_to_fpriv(struct file *filp, struct amdgpu_fpriv **fpriv); fpriv 158 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c static void amdgpu_bo_list_destroy(struct amdgpu_fpriv *fpriv, int id) fpriv 162 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c mutex_lock(&fpriv->bo_list_lock); fpriv 163 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c list = idr_remove(&fpriv->bo_list_handles, id); fpriv 164 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c mutex_unlock(&fpriv->bo_list_lock); fpriv 169 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c int amdgpu_bo_list_get(struct amdgpu_fpriv *fpriv, int id, fpriv 173 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c *result = idr_find(&fpriv->bo_list_handles, id); fpriv 269 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c struct amdgpu_fpriv *fpriv = filp->driver_priv; fpriv 287 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c mutex_lock(&fpriv->bo_list_lock); fpriv 288 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c r = idr_alloc(&fpriv->bo_list_handles, list, 1, 0, GFP_KERNEL); fpriv 289 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c mutex_unlock(&fpriv->bo_list_lock); fpriv 298 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c amdgpu_bo_list_destroy(fpriv, handle); fpriv 308 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c mutex_lock(&fpriv->bo_list_lock); fpriv 309 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c old = idr_replace(&fpriv->bo_list_handles, list, handle); fpriv 310 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c mutex_unlock(&fpriv->bo_list_lock); fpriv 52 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h int amdgpu_bo_list_get(struct amdgpu_fpriv *fpriv, int id, fpriv 107 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_fpriv *fpriv = p->filp->driver_priv; fpriv 108 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_vm *vm = &fpriv->vm; fpriv 123 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->ctx = amdgpu_ctx_get(fpriv, cs->in.ctx_id); fpriv 573 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_fpriv *fpriv = p->filp->driver_priv; fpriv 574 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_vm *vm = &fpriv->vm; fpriv 589 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c r = amdgpu_bo_list_get(fpriv, cs->in.bo_list_handle, fpriv 610 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_vm_get_pd_bo(&fpriv->vm, &p->validated, &p->vm_pd); fpriv 664 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c r = amdgpu_vm_validate_pt_bos(p->adev, &fpriv->vm, fpriv 787 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_fpriv *fpriv = p->filp->driver_priv; fpriv 789 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_vm *vm = &fpriv->vm; fpriv 864 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c r = amdgpu_vm_bo_update(adev, fpriv->prt_va, false); fpriv 869 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c fpriv->prt_va->last_pt_update, false); fpriv 876 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c bo_va = fpriv->csa_va; fpriv 943 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_fpriv *fpriv = parser->filp->driver_priv; fpriv 944 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_vm *vm = &fpriv->vm; fpriv 1017 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_fpriv *fpriv = p->filp->driver_priv; fpriv 1031 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c ctx = amdgpu_ctx_get(fpriv, deps[i].ctx_id); fpriv 1274 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_fpriv *fpriv = p->filp->driver_priv; fpriv 1327 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_vm_bo_trace_cs(&fpriv->vm, &p->ticket); fpriv 1334 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_vm_move_to_lru_tail(p->adev, &fpriv->vm); fpriv 1715 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_fpriv *fpriv = parser->filp->driver_priv; fpriv 1717 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_vm *vm = &fpriv->vm; fpriv 252 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c struct amdgpu_fpriv *fpriv, fpriv 257 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c struct amdgpu_ctx_mgr *mgr = &fpriv->ctx_mgr; fpriv 299 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c static int amdgpu_ctx_free(struct amdgpu_fpriv *fpriv, uint32_t id) fpriv 301 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c struct amdgpu_ctx_mgr *mgr = &fpriv->ctx_mgr; fpriv 313 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c struct amdgpu_fpriv *fpriv, uint32_t id, fpriv 320 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c if (!fpriv) fpriv 323 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c mgr = &fpriv->ctx_mgr; fpriv 349 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c struct amdgpu_fpriv *fpriv, uint32_t id, fpriv 356 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c if (!fpriv) fpriv 359 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c mgr = &fpriv->ctx_mgr; fpriv 407 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c struct amdgpu_fpriv *fpriv = filp->driver_priv; fpriv 420 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c r = amdgpu_ctx_alloc(adev, fpriv, filp, priority, &id); fpriv 424 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c r = amdgpu_ctx_free(fpriv, id); fpriv 427 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c r = amdgpu_ctx_query(adev, fpriv, id, &args->out); fpriv 430 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c r = amdgpu_ctx_query2(adev, fpriv, id, &args->out); fpriv 439 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id) fpriv 444 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c if (!fpriv) fpriv 447 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c mgr = &fpriv->ctx_mgr; fpriv 65 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id); fpriv 1313 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c struct amdgpu_fpriv *fpriv = file_priv->driver_priv; fpriv 1316 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c timeout = amdgpu_ctx_mgr_entity_flush(&fpriv->ctx_mgr, timeout); fpriv 1317 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c timeout = amdgpu_vm_wait_idle(&fpriv->vm, timeout); fpriv 1336 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c int amdgpu_file_to_fpriv(struct file *filp, struct amdgpu_fpriv **fpriv) fpriv 1348 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c *fpriv = file->driver_priv; fpriv 126 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct amdgpu_fpriv *fpriv = file_priv->driver_priv; fpriv 127 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct amdgpu_vm *vm = &fpriv->vm; fpriv 159 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct amdgpu_fpriv *fpriv = file_priv->driver_priv; fpriv 160 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct amdgpu_vm *vm = &fpriv->vm; fpriv 213 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct amdgpu_fpriv *fpriv = filp->driver_priv; fpriv 214 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct amdgpu_vm *vm = &fpriv->vm; fpriv 549 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct amdgpu_fpriv *fpriv = filp->driver_priv; fpriv 614 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_vm_get_pd_bo(&fpriv->vm, &list, &vm_pd); fpriv 621 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c bo_va = amdgpu_vm_bo_find(&fpriv->vm, abo); fpriv 627 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c bo_va = fpriv->prt_va; fpriv 644 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_vm_bo_clear_mappings(adev, &fpriv->vm, fpriv 658 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_va_update_vm(adev, &fpriv->vm, bo_va, fpriv 968 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c struct amdgpu_fpriv *fpriv; fpriv 980 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fpriv = kzalloc(sizeof(*fpriv), GFP_KERNEL); fpriv 981 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (unlikely(!fpriv)) { fpriv 991 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c r = amdgpu_vm_init(adev, &fpriv->vm, AMDGPU_VM_CONTEXT_GFX, pasid); fpriv 995 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fpriv->prt_va = amdgpu_vm_bo_add(adev, &fpriv->vm, NULL); fpriv 996 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (!fpriv->prt_va) { fpriv 1004 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c r = amdgpu_map_static_csa(adev, &fpriv->vm, adev->virt.csa_obj, fpriv 1005 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c &fpriv->csa_va, csa_addr, AMDGPU_CSA_SIZE); fpriv 1010 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c mutex_init(&fpriv->bo_list_lock); fpriv 1011 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c idr_init(&fpriv->bo_list_handles); fpriv 1013 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_ctx_mgr_init(&fpriv->ctx_mgr); fpriv 1015 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c file_priv->driver_priv = fpriv; fpriv 1019 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_vm_fini(adev, &fpriv->vm); fpriv 1025 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c kfree(fpriv); fpriv 1046 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c struct amdgpu_fpriv *fpriv = file_priv->driver_priv; fpriv 1052 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (!fpriv) fpriv 1062 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_vm_bo_rmv(adev, fpriv->prt_va); fpriv 1067 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_vm_bo_rmv(adev, fpriv->csa_va); fpriv 1068 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fpriv->csa_va = NULL; fpriv 1072 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c pasid = fpriv->vm.pasid; fpriv 1073 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c pd = amdgpu_bo_ref(fpriv->vm.root.base.bo); fpriv 1075 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_ctx_mgr_fini(&fpriv->ctx_mgr); fpriv 1076 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_vm_fini(adev, &fpriv->vm); fpriv 1082 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c idr_for_each_entry(&fpriv->bo_list_handles, list, handle) fpriv 1085 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c idr_destroy(&fpriv->bo_list_handles); fpriv 1086 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c mutex_destroy(&fpriv->bo_list_lock); fpriv 1088 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c kfree(fpriv); fpriv 60 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c struct amdgpu_fpriv *fpriv; fpriv 68 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c r = amdgpu_file_to_fpriv(f.file, &fpriv); fpriv 74 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c idr_for_each_entry(&fpriv->ctx_mgr.ctx_handles, ctx, id) fpriv 87 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c struct amdgpu_fpriv *fpriv; fpriv 94 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c r = amdgpu_file_to_fpriv(f.file, &fpriv); fpriv 100 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c ctx = amdgpu_ctx_get(fpriv, ctx_id); fpriv 3069 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_fpriv *fpriv = filp->driver_priv; fpriv 3075 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c r = amdgpu_vmid_alloc_reserved(adev, &fpriv->vm, AMDGPU_GFXHUB_0); fpriv 3080 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vmid_free_reserved(adev, &fpriv->vm, AMDGPU_GFXHUB_0); fpriv 125 drivers/gpu/drm/drm_auth.c static int drm_set_master(struct drm_device *dev, struct drm_file *fpriv, fpriv 130 drivers/gpu/drm/drm_auth.c dev->master = drm_master_get(fpriv->master); fpriv 132 drivers/gpu/drm/drm_auth.c ret = dev->driver->master_set(dev, fpriv, new_master); fpriv 141 drivers/gpu/drm/drm_auth.c static int drm_new_set_master(struct drm_device *dev, struct drm_file *fpriv) fpriv 148 drivers/gpu/drm/drm_auth.c WARN_ON(fpriv->is_master); fpriv 149 drivers/gpu/drm/drm_auth.c old_master = fpriv->master; fpriv 150 drivers/gpu/drm/drm_auth.c fpriv->master = drm_master_create(dev); fpriv 151 drivers/gpu/drm/drm_auth.c if (!fpriv->master) { fpriv 152 drivers/gpu/drm/drm_auth.c fpriv->master = old_master; fpriv 157 drivers/gpu/drm/drm_auth.c ret = dev->driver->master_create(dev, fpriv->master); fpriv 161 drivers/gpu/drm/drm_auth.c fpriv->is_master = 1; fpriv 162 drivers/gpu/drm/drm_auth.c fpriv->authenticated = 1; fpriv 164 drivers/gpu/drm/drm_auth.c ret = drm_set_master(dev, fpriv, true); fpriv 175 drivers/gpu/drm/drm_auth.c drm_master_put(&fpriv->master); fpriv 176 drivers/gpu/drm/drm_auth.c fpriv->master = old_master; fpriv 177 drivers/gpu/drm/drm_auth.c fpriv->is_master = 0; fpriv 219 drivers/gpu/drm/drm_auth.c struct drm_file *fpriv) fpriv 222 drivers/gpu/drm/drm_auth.c dev->driver->master_drop(dev, fpriv); fpriv 308 drivers/gpu/drm/drm_auth.c bool drm_is_current_master(struct drm_file *fpriv) fpriv 310 drivers/gpu/drm/drm_auth.c return fpriv->is_master && drm_lease_owner(fpriv->master) == fpriv->minor->dev->master; fpriv 681 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_file_private *fpriv) fpriv 685 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx->file_priv = fpriv; fpriv 687 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx->vm->file = fpriv; fpriv 698 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_lock(&fpriv->context_idr_lock); fpriv 699 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = idr_alloc(&fpriv->context_idr, ctx, 0, 0, GFP_KERNEL); fpriv 700 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_unlock(&fpriv->context_idr_lock); fpriv 1746 drivers/gpu/drm/i915/gem/i915_gem_context.c static int ctx_setparam(struct drm_i915_file_private *fpriv, fpriv 1816 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = set_ppgtt(fpriv, ctx, args); fpriv 1834 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_file_private *fpriv; fpriv 1848 drivers/gpu/drm/i915/gem/i915_gem_context.c return ctx_setparam(arg->fpriv, arg->ctx, &local.param); fpriv 2047 drivers/gpu/drm/i915/gem/i915_gem_context.c src = __i915_gem_context_lookup_rcu(arg->fpriv, local.clone_id); fpriv 2094 drivers/gpu/drm/i915/gem/i915_gem_context.c ext_data.fpriv = file->driver_priv; fpriv 2095 drivers/gpu/drm/i915/gem/i915_gem_context.c if (client_is_banned(ext_data.fpriv)) { fpriv 2119 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = gem_context_register(ext_data.ctx, ext_data.fpriv); fpriv 95 drivers/gpu/drm/i915/gem/i915_gem_object.c struct drm_i915_file_private *fpriv = file->driver_priv; fpriv 103 drivers/gpu/drm/i915/gem/i915_gem_object.c if (ctx->file_priv != fpriv) fpriv 1046 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_drm_open(struct drm_device *dev, struct drm_file *fpriv) fpriv 1059 drivers/gpu/drm/nouveau/nouveau_drm.c snprintf(name, sizeof(name), "%s[%d]", tmpname, pid_nr(fpriv->pid)); fpriv 1072 drivers/gpu/drm/nouveau/nouveau_drm.c fpriv->driver_priv = cli; fpriv 1090 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_drm_postclose(struct drm_device *dev, struct drm_file *fpriv) fpriv 1092 drivers/gpu/drm/nouveau/nouveau_drm.c struct nouveau_cli *cli = nouveau_cli(fpriv); fpriv 127 drivers/gpu/drm/nouveau/nouveau_drv.h nouveau_cli(struct drm_file *fpriv) fpriv 129 drivers/gpu/drm/nouveau/nouveau_drv.h return fpriv ? fpriv->driver_priv : NULL; fpriv 545 drivers/gpu/drm/radeon/radeon_cs.c struct radeon_fpriv *fpriv = parser->filp->driver_priv; fpriv 546 drivers/gpu/drm/radeon/radeon_cs.c struct radeon_vm *vm = &fpriv->vm; fpriv 614 drivers/gpu/drm/radeon/radeon_cs.c struct radeon_fpriv *fpriv = parser->filp->driver_priv; fpriv 615 drivers/gpu/drm/radeon/radeon_cs.c vm = &fpriv->vm; fpriv 152 drivers/gpu/drm/radeon/radeon_gem.c struct radeon_fpriv *fpriv = file_priv->driver_priv; fpriv 153 drivers/gpu/drm/radeon/radeon_gem.c struct radeon_vm *vm = &fpriv->vm; fpriv 183 drivers/gpu/drm/radeon/radeon_gem.c struct radeon_fpriv *fpriv = file_priv->driver_priv; fpriv 184 drivers/gpu/drm/radeon/radeon_gem.c struct radeon_vm *vm = &fpriv->vm; fpriv 608 drivers/gpu/drm/radeon/radeon_gem.c struct radeon_fpriv *fpriv = filp->driver_priv; fpriv 673 drivers/gpu/drm/radeon/radeon_gem.c bo_va = radeon_vm_bo_find(&fpriv->vm, rbo); fpriv 646 drivers/gpu/drm/radeon/radeon_kms.c struct radeon_fpriv *fpriv; fpriv 649 drivers/gpu/drm/radeon/radeon_kms.c fpriv = kzalloc(sizeof(*fpriv), GFP_KERNEL); fpriv 650 drivers/gpu/drm/radeon/radeon_kms.c if (unlikely(!fpriv)) { fpriv 656 drivers/gpu/drm/radeon/radeon_kms.c vm = &fpriv->vm; fpriv 659 drivers/gpu/drm/radeon/radeon_kms.c kfree(fpriv); fpriv 666 drivers/gpu/drm/radeon/radeon_kms.c kfree(fpriv); fpriv 680 drivers/gpu/drm/radeon/radeon_kms.c kfree(fpriv); fpriv 684 drivers/gpu/drm/radeon/radeon_kms.c file_priv->driver_priv = fpriv; fpriv 721 drivers/gpu/drm/radeon/radeon_kms.c struct radeon_fpriv *fpriv = file_priv->driver_priv; fpriv 722 drivers/gpu/drm/radeon/radeon_kms.c struct radeon_vm *vm = &fpriv->vm; fpriv 735 drivers/gpu/drm/radeon/radeon_kms.c kfree(fpriv); fpriv 253 drivers/gpu/drm/tegra/drm.c struct tegra_drm_file *fpriv; fpriv 255 drivers/gpu/drm/tegra/drm.c fpriv = kzalloc(sizeof(*fpriv), GFP_KERNEL); fpriv 256 drivers/gpu/drm/tegra/drm.c if (!fpriv) fpriv 259 drivers/gpu/drm/tegra/drm.c idr_init(&fpriv->contexts); fpriv 260 drivers/gpu/drm/tegra/drm.c mutex_init(&fpriv->lock); fpriv 261 drivers/gpu/drm/tegra/drm.c filp->driver_priv = fpriv; fpriv 585 drivers/gpu/drm/tegra/drm.c static int tegra_client_open(struct tegra_drm_file *fpriv, fpriv 595 drivers/gpu/drm/tegra/drm.c err = idr_alloc(&fpriv->contexts, context, 1, 0, GFP_KERNEL); fpriv 610 drivers/gpu/drm/tegra/drm.c struct tegra_drm_file *fpriv = file->driver_priv; fpriv 621 drivers/gpu/drm/tegra/drm.c mutex_lock(&fpriv->lock); fpriv 625 drivers/gpu/drm/tegra/drm.c err = tegra_client_open(fpriv, client, context); fpriv 636 drivers/gpu/drm/tegra/drm.c mutex_unlock(&fpriv->lock); fpriv 643 drivers/gpu/drm/tegra/drm.c struct tegra_drm_file *fpriv = file->driver_priv; fpriv 648 drivers/gpu/drm/tegra/drm.c mutex_lock(&fpriv->lock); fpriv 650 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); fpriv 656 drivers/gpu/drm/tegra/drm.c idr_remove(&fpriv->contexts, context->id); fpriv 660 drivers/gpu/drm/tegra/drm.c mutex_unlock(&fpriv->lock); fpriv 667 drivers/gpu/drm/tegra/drm.c struct tegra_drm_file *fpriv = file->driver_priv; fpriv 673 drivers/gpu/drm/tegra/drm.c mutex_lock(&fpriv->lock); fpriv 675 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); fpriv 690 drivers/gpu/drm/tegra/drm.c mutex_unlock(&fpriv->lock); fpriv 697 drivers/gpu/drm/tegra/drm.c struct tegra_drm_file *fpriv = file->driver_priv; fpriv 702 drivers/gpu/drm/tegra/drm.c mutex_lock(&fpriv->lock); fpriv 704 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); fpriv 713 drivers/gpu/drm/tegra/drm.c mutex_unlock(&fpriv->lock); fpriv 720 drivers/gpu/drm/tegra/drm.c struct tegra_drm_file *fpriv = file->driver_priv; fpriv 727 drivers/gpu/drm/tegra/drm.c mutex_lock(&fpriv->lock); fpriv 729 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); fpriv 751 drivers/gpu/drm/tegra/drm.c mutex_unlock(&fpriv->lock); fpriv 952 drivers/gpu/drm/tegra/drm.c struct tegra_drm_file *fpriv = file->driver_priv; fpriv 954 drivers/gpu/drm/tegra/drm.c mutex_lock(&fpriv->lock); fpriv 955 drivers/gpu/drm/tegra/drm.c idr_for_each(&fpriv->contexts, tegra_drm_context_cleanup, NULL); fpriv 956 drivers/gpu/drm/tegra/drm.c mutex_unlock(&fpriv->lock); fpriv 958 drivers/gpu/drm/tegra/drm.c idr_destroy(&fpriv->contexts); fpriv 959 drivers/gpu/drm/tegra/drm.c mutex_destroy(&fpriv->lock); fpriv 960 drivers/gpu/drm/tegra/drm.c kfree(fpriv); fpriv 200 drivers/pci/proc.c struct pci_filp_private *fpriv = file->private_data; fpriv 217 drivers/pci/proc.c fpriv->mmap_state = pci_mmap_io; fpriv 221 drivers/pci/proc.c fpriv->mmap_state = pci_mmap_mem; fpriv 227 drivers/pci/proc.c fpriv->write_combine = 1; fpriv 229 drivers/pci/proc.c fpriv->write_combine = 0; fpriv 247 drivers/pci/proc.c struct pci_filp_private *fpriv = file->private_data; fpriv 254 drivers/pci/proc.c if (fpriv->mmap_state == pci_mmap_io) { fpriv 270 drivers/pci/proc.c if (fpriv->mmap_state == pci_mmap_mem && fpriv 271 drivers/pci/proc.c fpriv->write_combine) { fpriv 278 drivers/pci/proc.c fpriv->mmap_state, write_combine); fpriv 287 drivers/pci/proc.c struct pci_filp_private *fpriv = kmalloc(sizeof(*fpriv), GFP_KERNEL); fpriv 289 drivers/pci/proc.c if (!fpriv) fpriv 292 drivers/pci/proc.c fpriv->mmap_state = pci_mmap_io; fpriv 293 drivers/pci/proc.c fpriv->write_combine = 0; fpriv 295 drivers/pci/proc.c file->private_data = fpriv; fpriv 111 include/drm/drm_auth.h bool drm_is_current_master(struct drm_file *fpriv);