file_priv 58 drivers/char/tpm/tpm-dev-common.c struct file_priv *priv = file_priv 59 drivers/char/tpm/tpm-dev-common.c container_of(work, struct file_priv, async_work); file_priv 84 drivers/char/tpm/tpm-dev-common.c struct file_priv *priv = from_timer(priv, t, user_read_timer); file_priv 94 drivers/char/tpm/tpm-dev-common.c struct file_priv *priv = container_of(work, struct file_priv, file_priv 106 drivers/char/tpm/tpm-dev-common.c struct file_priv *priv, struct tpm_space *space) file_priv 123 drivers/char/tpm/tpm-dev-common.c struct file_priv *priv = file->private_data; file_priv 163 drivers/char/tpm/tpm-dev-common.c struct file_priv *priv = file->private_data; file_priv 235 drivers/char/tpm/tpm-dev-common.c struct file_priv *priv = file->private_data; file_priv 258 drivers/char/tpm/tpm-dev-common.c void tpm_common_release(struct file *file, struct file_priv *priv) file_priv 21 drivers/char/tpm/tpm-dev.c struct file_priv *priv; file_priv 51 drivers/char/tpm/tpm-dev.c struct file_priv *priv = file->private_data; file_priv 25 drivers/char/tpm/tpm-dev.h struct file_priv *priv, struct tpm_space *space); file_priv 32 drivers/char/tpm/tpm-dev.h void tpm_common_release(struct file *file, struct file_priv *priv); file_priv 9 drivers/char/tpm/tpmrm-dev.c struct file_priv priv; file_priv 37 drivers/char/tpm/tpmrm-dev.c struct file_priv *fpriv = file->private_data; file_priv 1207 drivers/gpu/drm/amd/amdgpu/amdgpu.h int amdgpu_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv); file_priv 1209 drivers/gpu/drm/amd/amdgpu/amdgpu.h struct drm_file *file_priv); file_priv 543 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c struct drm_file *file_priv, file_priv 550 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c obj = drm_gem_object_lookup(file_priv, mode_cmd->handles[0]); file_priv 45 drivers/gpu/drm/amd/amdgpu/amdgpu_display.h struct drm_file *file_priv, file_priv 1283 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c struct drm_file *file_priv = filp->private_data; file_priv 1286 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c dev = file_priv->minor->dev; file_priv 1312 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c struct drm_file *file_priv = f->private_data; file_priv 1313 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c struct amdgpu_fpriv *fpriv = file_priv->driver_priv; file_priv 122 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct drm_file *file_priv) file_priv 126 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct amdgpu_fpriv *fpriv = file_priv->driver_priv; file_priv 155 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct drm_file *file_priv) file_priv 159 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct amdgpu_fpriv *fpriv = file_priv->driver_priv; file_priv 745 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c int amdgpu_mode_dumb_create(struct drm_file *file_priv, file_priv 776 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = drm_gem_handle_create(file_priv, gobj, &handle); file_priv 38 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h struct drm_file *file_priv); file_priv 40 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h struct drm_file *file_priv); file_priv 53 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h int amdgpu_mode_dumb_create(struct drm_file *file_priv, file_priv 965 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c int amdgpu_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv) file_priv 974 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c file_priv->driver_priv = NULL; file_priv 1015 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c file_priv->driver_priv = fpriv; file_priv 1043 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c struct drm_file *file_priv) file_priv 1046 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c struct amdgpu_fpriv *fpriv = file_priv->driver_priv; file_priv 1058 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_uvd_free_handles(adev, file_priv); file_priv 1060 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_vce_free_handles(adev, file_priv); file_priv 1089 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c file_priv->driver_priv = NULL; file_priv 1888 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct drm_file *file_priv = filp->private_data; file_priv 1889 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_device *adev = file_priv->minor->dev->dev_private; file_priv 2355 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c struct drm_file *file_priv, file_priv 2380 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c obj = drm_gem_object_lookup(file_priv, handle); file_priv 2434 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c struct drm_file *file_priv, file_priv 2459 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c obj = drm_gem_object_lookup(file_priv, handle); file_priv 2248 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c struct drm_file *file_priv, file_priv 2273 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c obj = drm_gem_object_lookup(file_priv, handle); file_priv 2256 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c struct drm_file *file_priv, file_priv 2281 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c obj = drm_gem_object_lookup(file_priv, handle); file_priv 459 drivers/gpu/drm/arm/malidp_drv.c static int malidp_dumb_create(struct drm_file *file_priv, file_priv 469 drivers/gpu/drm/arm/malidp_drv.c return drm_gem_cma_dumb_create_internal(file_priv, drm, args); file_priv 47 drivers/gpu/drm/ast/ast_mode.c struct drm_file *file_priv, file_priv 1153 drivers/gpu/drm/ast/ast_mode.c struct drm_file *file_priv, file_priv 1176 drivers/gpu/drm/ast/ast_mode.c obj = drm_gem_object_lookup(file_priv, handle); file_priv 561 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c struct drm_file *file_priv, const struct drm_mode_fb_cmd2 *mode_cmd) file_priv 563 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c return drm_gem_fb_create(dev, file_priv, mode_cmd); file_priv 479 drivers/gpu/drm/cirrus/cirrus.c cirrus_fb_create(struct drm_device *dev, struct drm_file *file_priv, file_priv 488 drivers/gpu/drm/cirrus/cirrus.c return drm_gem_fb_create_with_dirty(dev, file_priv, mode_cmd); file_priv 83 drivers/gpu/drm/drm_agpsupport.c struct drm_file *file_priv) file_priv 131 drivers/gpu/drm/drm_agpsupport.c struct drm_file *file_priv) file_priv 133 drivers/gpu/drm/drm_agpsupport.c return drm_agp_acquire((struct drm_device *) file_priv->minor->dev); file_priv 155 drivers/gpu/drm/drm_agpsupport.c struct drm_file *file_priv) file_priv 183 drivers/gpu/drm/drm_agpsupport.c struct drm_file *file_priv) file_priv 238 drivers/gpu/drm/drm_agpsupport.c struct drm_file *file_priv) file_priv 297 drivers/gpu/drm/drm_agpsupport.c struct drm_file *file_priv) file_priv 341 drivers/gpu/drm/drm_agpsupport.c struct drm_file *file_priv) file_priv 384 drivers/gpu/drm/drm_agpsupport.c struct drm_file *file_priv) file_priv 515 drivers/gpu/drm/drm_atomic_uapi.c struct drm_plane_state *state, struct drm_file *file_priv, file_priv 525 drivers/gpu/drm/drm_atomic_uapi.c fb = drm_framebuffer_lookup(dev, file_priv, val); file_priv 541 drivers/gpu/drm/drm_atomic_uapi.c struct drm_crtc *crtc = drm_crtc_find(dev, file_priv, val); file_priv 674 drivers/gpu/drm/drm_atomic_uapi.c struct drm_connector_state *state, struct drm_file *file_priv, file_priv 683 drivers/gpu/drm/drm_atomic_uapi.c struct drm_crtc *crtc = drm_crtc_find(dev, file_priv, val); file_priv 757 drivers/gpu/drm/drm_atomic_uapi.c fb = drm_framebuffer_lookup(dev, file_priv, val); file_priv 963 drivers/gpu/drm/drm_atomic_uapi.c struct drm_file *file_priv, file_priv 986 drivers/gpu/drm/drm_atomic_uapi.c connector_state, file_priv, file_priv 1015 drivers/gpu/drm/drm_atomic_uapi.c plane_state, file_priv, file_priv 1106 drivers/gpu/drm/drm_atomic_uapi.c struct drm_file *file_priv, file_priv 1137 drivers/gpu/drm/drm_atomic_uapi.c if (!file_priv) file_priv 1140 drivers/gpu/drm/drm_atomic_uapi.c ret = drm_event_reserve_init(dev, file_priv, &e->base, file_priv 1252 drivers/gpu/drm/drm_atomic_uapi.c if (event && (event->base.fence || event->base.file_priv)) { file_priv 1277 drivers/gpu/drm/drm_atomic_uapi.c void *data, struct drm_file *file_priv) file_priv 1299 drivers/gpu/drm/drm_atomic_uapi.c if (!file_priv->atomic) file_priv 1339 drivers/gpu/drm/drm_atomic_uapi.c obj = drm_mode_object_find(dev, file_priv, obj_id, DRM_MODE_OBJECT_ANY); file_priv 1385 drivers/gpu/drm/drm_atomic_uapi.c ret = drm_atomic_set_property(state, file_priv, file_priv 1398 drivers/gpu/drm/drm_atomic_uapi.c ret = prepare_signaling(dev, state, arg, file_priv, &fence_state, file_priv 64 drivers/gpu/drm/drm_auth.c int drm_getmagic(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 70 drivers/gpu/drm/drm_auth.c if (!file_priv->magic) { file_priv 71 drivers/gpu/drm/drm_auth.c ret = idr_alloc(&file_priv->master->magic_map, file_priv, file_priv 74 drivers/gpu/drm/drm_auth.c file_priv->magic = ret; file_priv 76 drivers/gpu/drm/drm_auth.c auth->magic = file_priv->magic; file_priv 85 drivers/gpu/drm/drm_auth.c struct drm_file *file_priv) file_priv 93 drivers/gpu/drm/drm_auth.c file = idr_find(&file_priv->master->magic_map, auth->magic); file_priv 96 drivers/gpu/drm/drm_auth.c idr_replace(&file_priv->master->magic_map, NULL, auth->magic); file_priv 183 drivers/gpu/drm/drm_auth.c struct drm_file *file_priv) file_priv 188 drivers/gpu/drm/drm_auth.c if (drm_is_current_master(file_priv)) file_priv 196 drivers/gpu/drm/drm_auth.c if (!file_priv->master) { file_priv 201 drivers/gpu/drm/drm_auth.c if (!file_priv->is_master) { file_priv 202 drivers/gpu/drm/drm_auth.c ret = drm_new_set_master(dev, file_priv); file_priv 206 drivers/gpu/drm/drm_auth.c if (file_priv->master->lessor != NULL) { file_priv 207 drivers/gpu/drm/drm_auth.c DRM_DEBUG_LEASE("Attempt to set lessee %d as master\n", file_priv->master->lessee_id); file_priv 212 drivers/gpu/drm/drm_auth.c ret = drm_set_master(dev, file_priv, false); file_priv 227 drivers/gpu/drm/drm_auth.c struct drm_file *file_priv) file_priv 232 drivers/gpu/drm/drm_auth.c if (!drm_is_current_master(file_priv)) file_priv 238 drivers/gpu/drm/drm_auth.c if (file_priv->master->lessor != NULL) { file_priv 239 drivers/gpu/drm/drm_auth.c DRM_DEBUG_LEASE("Attempt to drop lessee %d as master\n", file_priv->master->lessee_id); file_priv 245 drivers/gpu/drm/drm_auth.c drm_drop_master(dev, file_priv); file_priv 251 drivers/gpu/drm/drm_auth.c int drm_master_open(struct drm_file *file_priv) file_priv 253 drivers/gpu/drm/drm_auth.c struct drm_device *dev = file_priv->minor->dev; file_priv 260 drivers/gpu/drm/drm_auth.c ret = drm_new_set_master(dev, file_priv); file_priv 262 drivers/gpu/drm/drm_auth.c file_priv->master = drm_master_get(dev->master); file_priv 268 drivers/gpu/drm/drm_auth.c void drm_master_release(struct drm_file *file_priv) file_priv 270 drivers/gpu/drm/drm_auth.c struct drm_device *dev = file_priv->minor->dev; file_priv 271 drivers/gpu/drm/drm_auth.c struct drm_master *master = file_priv->master; file_priv 274 drivers/gpu/drm/drm_auth.c if (file_priv->magic) file_priv 275 drivers/gpu/drm/drm_auth.c idr_remove(&file_priv->master->magic_map, file_priv->magic); file_priv 277 drivers/gpu/drm/drm_auth.c if (!drm_is_current_master(file_priv)) file_priv 282 drivers/gpu/drm/drm_auth.c if (dev->master == file_priv->master) file_priv 283 drivers/gpu/drm/drm_auth.c drm_drop_master(dev, file_priv); file_priv 285 drivers/gpu/drm/drm_auth.c if (drm_core_check_feature(dev, DRIVER_MODESET) && file_priv->is_master) { file_priv 293 drivers/gpu/drm/drm_auth.c if (file_priv->master) file_priv 294 drivers/gpu/drm/drm_auth.c drm_master_put(&file_priv->master); file_priv 414 drivers/gpu/drm/drm_bufs.c struct drm_file *file_priv) file_priv 461 drivers/gpu/drm/drm_bufs.c struct drm_file *file_priv) file_priv 549 drivers/gpu/drm/drm_bufs.c master->lock.file_priv = NULL; file_priv 622 drivers/gpu/drm/drm_bufs.c struct drm_file *file_priv) file_priv 815 drivers/gpu/drm/drm_bufs.c buf->file_priv = NULL; file_priv 1014 drivers/gpu/drm/drm_bufs.c buf->file_priv = NULL; file_priv 1178 drivers/gpu/drm/drm_bufs.c buf->file_priv = NULL; file_priv 1250 drivers/gpu/drm/drm_bufs.c struct drm_file *file_priv) file_priv 1361 drivers/gpu/drm/drm_bufs.c struct drm_file *file_priv) file_priv 1382 drivers/gpu/drm/drm_bufs.c struct drm_file *file_priv) file_priv 1429 drivers/gpu/drm/drm_bufs.c struct drm_file *file_priv) file_priv 1457 drivers/gpu/drm/drm_bufs.c if (buf->file_priv != file_priv) { file_priv 1486 drivers/gpu/drm/drm_bufs.c struct drm_file *file_priv) file_priv 1521 drivers/gpu/drm/drm_bufs.c virtual = vm_mmap(file_priv->filp, 0, map->size, file_priv 1526 drivers/gpu/drm/drm_bufs.c virtual = vm_mmap(file_priv->filp, 0, dma->byte_count, file_priv 1572 drivers/gpu/drm/drm_bufs.c struct drm_file *file_priv) file_priv 1577 drivers/gpu/drm/drm_bufs.c file_priv); file_priv 1581 drivers/gpu/drm/drm_bufs.c struct drm_file *file_priv) file_priv 1587 drivers/gpu/drm/drm_bufs.c return dev->driver->dma_ioctl(dev, data, file_priv); file_priv 239 drivers/gpu/drm/drm_color_mgmt.c void *data, struct drm_file *file_priv) file_priv 251 drivers/gpu/drm/drm_color_mgmt.c crtc = drm_crtc_find(dev, file_priv, crtc_lut->crtc_id); file_priv 308 drivers/gpu/drm/drm_color_mgmt.c void *data, struct drm_file *file_priv) file_priv 319 drivers/gpu/drm/drm_color_mgmt.c crtc = drm_crtc_find(dev, file_priv, crtc_lut->crtc_id); file_priv 2058 drivers/gpu/drm/drm_connector.c void *data, struct drm_file *file_priv) file_priv 2069 drivers/gpu/drm/drm_connector.c return drm_mode_obj_set_property_ioctl(dev, &obj_set_prop, file_priv); file_priv 2084 drivers/gpu/drm/drm_connector.c const struct drm_file *file_priv) file_priv 2090 drivers/gpu/drm/drm_connector.c if (!file_priv->stereo_allowed && drm_mode_is_stereo(mode)) file_priv 2098 drivers/gpu/drm/drm_connector.c if (!file_priv->aspect_ratio_allowed) { file_priv 2114 drivers/gpu/drm/drm_connector.c struct drm_file *file_priv) file_priv 2135 drivers/gpu/drm/drm_connector.c connector = drm_connector_lookup(dev, file_priv, out_resp->connector_id); file_priv 2175 drivers/gpu/drm/drm_connector.c file_priv)) { file_priv 2197 drivers/gpu/drm/drm_connector.c if (!file_priv->aspect_ratio_allowed) file_priv 2221 drivers/gpu/drm/drm_connector.c ret = drm_mode_object_get_properties(&connector->base, file_priv->atomic, file_priv 179 drivers/gpu/drm/drm_context.c struct drm_file *file_priv) file_priv 227 drivers/gpu/drm/drm_context.c struct drm_file *file_priv) file_priv 305 drivers/gpu/drm/drm_context.c struct drm_file *file_priv, int new) file_priv 309 drivers/gpu/drm/drm_context.c if (!_DRM_LOCK_IS_HELD(file_priv->master->lock.hw_lock->lock)) { file_priv 331 drivers/gpu/drm/drm_context.c struct drm_file *file_priv) file_priv 366 drivers/gpu/drm/drm_context.c struct drm_file *file_priv) file_priv 398 drivers/gpu/drm/drm_context.c ctx_entry->tag = file_priv; file_priv 417 drivers/gpu/drm/drm_context.c struct drm_file *file_priv) file_priv 443 drivers/gpu/drm/drm_context.c struct drm_file *file_priv) file_priv 467 drivers/gpu/drm/drm_context.c struct drm_file *file_priv) file_priv 476 drivers/gpu/drm/drm_context.c drm_context_switch_complete(dev, file_priv, ctx->handle); file_priv 493 drivers/gpu/drm/drm_context.c struct drm_file *file_priv) file_priv 360 drivers/gpu/drm/drm_crtc.c void *data, struct drm_file *file_priv) file_priv 369 drivers/gpu/drm/drm_crtc.c crtc = drm_crtc_find(dev, file_priv, crtc_resp->crtc_id); file_priv 411 drivers/gpu/drm/drm_crtc.c if (!file_priv->aspect_ratio_allowed) file_priv 526 drivers/gpu/drm/drm_crtc.c struct drm_file *file_priv) file_priv 551 drivers/gpu/drm/drm_crtc.c crtc = drm_crtc_find(dev, file_priv, crtc_req->crtc_id); file_priv 561 drivers/gpu/drm/drm_crtc.c if (crtc_req->mode_valid && !drm_lease_held(file_priv, plane->base.id)) file_priv 589 drivers/gpu/drm/drm_crtc.c fb = drm_framebuffer_lookup(dev, file_priv, crtc_req->fb_id); file_priv 603 drivers/gpu/drm/drm_crtc.c if (!file_priv->aspect_ratio_allowed && file_priv 685 drivers/gpu/drm/drm_crtc.c connector = drm_connector_lookup(dev, file_priv, out_id); file_priv 77 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 79 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 91 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 97 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv); file_priv 99 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv); file_priv 103 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 105 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 107 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 115 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 117 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 121 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv); file_priv 130 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 132 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 134 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 136 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 147 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv, file_priv 161 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv); file_priv 163 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv); file_priv 171 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 187 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 189 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 195 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv); file_priv 200 drivers/gpu/drm/drm_crtc_internal.h void drm_fb_release(struct drm_file *file_priv); file_priv 203 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv); file_priv 205 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 207 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv); file_priv 212 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 214 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 216 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 218 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 220 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 240 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv, file_priv 249 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 263 drivers/gpu/drm/drm_crtc_internal.h struct drm_file *file_priv); file_priv 265 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 267 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 269 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 271 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 273 drivers/gpu/drm/drm_crtc_internal.h void *data, struct drm_file *file_priv); file_priv 161 drivers/gpu/drm/drm_damage_helper.c struct drm_file *file_priv, unsigned int flags, file_priv 177 drivers/gpu/drm/drm_damage_helper.c file_priv ? DRM_MODESET_ACQUIRE_INTERRUPTIBLE : 0); file_priv 137 drivers/gpu/drm/drm_dma.c buf->file_priv = NULL; file_priv 149 drivers/gpu/drm/drm_dma.c struct drm_file *file_priv) file_priv 157 drivers/gpu/drm/drm_dma.c if (dma->buflist[i]->file_priv == file_priv) { file_priv 60 drivers/gpu/drm/drm_dumb_buffers.c struct drm_file *file_priv) file_priv 94 drivers/gpu/drm/drm_dumb_buffers.c return dev->driver->dumb_create(file_priv, dev, args); file_priv 98 drivers/gpu/drm/drm_dumb_buffers.c void *data, struct drm_file *file_priv) file_priv 100 drivers/gpu/drm/drm_dumb_buffers.c return drm_mode_create_dumb(dev, data, file_priv); file_priv 118 drivers/gpu/drm/drm_dumb_buffers.c void *data, struct drm_file *file_priv) file_priv 126 drivers/gpu/drm/drm_dumb_buffers.c return dev->driver->dumb_map_offset(file_priv, dev, file_priv 130 drivers/gpu/drm/drm_dumb_buffers.c return drm_gem_dumb_map_offset(file_priv, dev, args->handle, file_priv 135 drivers/gpu/drm/drm_dumb_buffers.c struct drm_file *file_priv) file_priv 141 drivers/gpu/drm/drm_dumb_buffers.c return dev->driver->dumb_destroy(file_priv, dev, handle); file_priv 143 drivers/gpu/drm/drm_dumb_buffers.c return drm_gem_dumb_destroy(file_priv, dev, handle); file_priv 147 drivers/gpu/drm/drm_dumb_buffers.c void *data, struct drm_file *file_priv) file_priv 151 drivers/gpu/drm/drm_dumb_buffers.c return drm_mode_destroy_dumb(dev, args->handle, file_priv); file_priv 220 drivers/gpu/drm/drm_encoder.c struct drm_file *file_priv) file_priv 229 drivers/gpu/drm/drm_encoder.c encoder = drm_encoder_find(dev, file_priv, enc_resp->encoder_id); file_priv 235 drivers/gpu/drm/drm_encoder.c if (crtc && drm_lease_held(file_priv, crtc->base.id)) file_priv 243 drivers/gpu/drm/drm_encoder.c enc_resp->possible_crtcs = drm_lease_filter_crtcs(file_priv, file_priv 172 drivers/gpu/drm/drm_file.c static void drm_events_release(struct drm_file *file_priv) file_priv 174 drivers/gpu/drm/drm_file.c struct drm_device *dev = file_priv->minor->dev; file_priv 181 drivers/gpu/drm/drm_file.c list_for_each_entry_safe(e, et, &file_priv->pending_event_list, file_priv 184 drivers/gpu/drm/drm_file.c e->file_priv = NULL; file_priv 188 drivers/gpu/drm/drm_file.c list_for_each_entry_safe(e, et, &file_priv->event_list, link) { file_priv 264 drivers/gpu/drm/drm_file.c struct drm_file *file_priv = filp->private_data; file_priv 265 drivers/gpu/drm/drm_file.c struct drm_device *dev = file_priv->minor->dev; file_priv 268 drivers/gpu/drm/drm_file.c list_del(&file_priv->lhead); file_priv 271 drivers/gpu/drm/drm_file.c drm_file_free(file_priv); file_priv 435 drivers/gpu/drm/drm_file.c struct drm_file *file_priv = filp->private_data; file_priv 436 drivers/gpu/drm/drm_file.c struct drm_minor *minor = file_priv->minor; file_priv 485 drivers/gpu/drm/drm_file.c struct drm_file *file_priv = filp->private_data; file_priv 486 drivers/gpu/drm/drm_file.c struct drm_device *dev = file_priv->minor->dev; file_priv 492 drivers/gpu/drm/drm_file.c ret = mutex_lock_interruptible(&file_priv->event_read_lock); file_priv 500 drivers/gpu/drm/drm_file.c if (!list_empty(&file_priv->event_list)) { file_priv 501 drivers/gpu/drm/drm_file.c e = list_first_entry(&file_priv->event_list, file_priv 503 drivers/gpu/drm/drm_file.c file_priv->event_space += e->event->length; file_priv 517 drivers/gpu/drm/drm_file.c mutex_unlock(&file_priv->event_read_lock); file_priv 518 drivers/gpu/drm/drm_file.c ret = wait_event_interruptible(file_priv->event_wait, file_priv 519 drivers/gpu/drm/drm_file.c !list_empty(&file_priv->event_list)); file_priv 521 drivers/gpu/drm/drm_file.c ret = mutex_lock_interruptible(&file_priv->event_read_lock); file_priv 530 drivers/gpu/drm/drm_file.c file_priv->event_space -= length; file_priv 531 drivers/gpu/drm/drm_file.c list_add(&e->link, &file_priv->event_list); file_priv 533 drivers/gpu/drm/drm_file.c wake_up_interruptible(&file_priv->event_wait); file_priv 547 drivers/gpu/drm/drm_file.c mutex_unlock(&file_priv->event_read_lock); file_priv 571 drivers/gpu/drm/drm_file.c struct drm_file *file_priv = filp->private_data; file_priv 574 drivers/gpu/drm/drm_file.c poll_wait(filp, &file_priv->event_wait, wait); file_priv 576 drivers/gpu/drm/drm_file.c if (!list_empty(&file_priv->event_list)) file_priv 608 drivers/gpu/drm/drm_file.c struct drm_file *file_priv, file_priv 612 drivers/gpu/drm/drm_file.c if (file_priv->event_space < e->length) file_priv 615 drivers/gpu/drm/drm_file.c file_priv->event_space -= e->length; file_priv 618 drivers/gpu/drm/drm_file.c list_add(&p->pending_link, &file_priv->pending_event_list); file_priv 619 drivers/gpu/drm/drm_file.c p->file_priv = file_priv; file_priv 650 drivers/gpu/drm/drm_file.c struct drm_file *file_priv, file_priv 658 drivers/gpu/drm/drm_file.c ret = drm_event_reserve_init_locked(dev, file_priv, p, e); file_priv 679 drivers/gpu/drm/drm_file.c if (p->file_priv) { file_priv 680 drivers/gpu/drm/drm_file.c p->file_priv->event_space += p->event->length; file_priv 721 drivers/gpu/drm/drm_file.c if (!e->file_priv) { file_priv 728 drivers/gpu/drm/drm_file.c &e->file_priv->event_list); file_priv 729 drivers/gpu/drm/drm_file.c wake_up_interruptible(&e->file_priv->event_wait); file_priv 117 drivers/gpu/drm/drm_framebuffer.c struct drm_file *file_priv) file_priv 138 drivers/gpu/drm/drm_framebuffer.c ret = drm_mode_addfb2(dev, &r, file_priv); file_priv 148 drivers/gpu/drm/drm_framebuffer.c void *data, struct drm_file *file_priv) file_priv 150 drivers/gpu/drm/drm_framebuffer.c return drm_mode_addfb(dev, data, file_priv); file_priv 292 drivers/gpu/drm/drm_framebuffer.c struct drm_file *file_priv) file_priv 324 drivers/gpu/drm/drm_framebuffer.c fb = dev->mode_config.funcs->fb_create(dev, file_priv, r); file_priv 350 drivers/gpu/drm/drm_framebuffer.c void *data, struct drm_file *file_priv) file_priv 358 drivers/gpu/drm/drm_framebuffer.c fb = drm_internal_framebuffer_create(dev, r, file_priv); file_priv 366 drivers/gpu/drm/drm_framebuffer.c mutex_lock(&file_priv->fbs_lock); file_priv 367 drivers/gpu/drm/drm_framebuffer.c list_add(&fb->filp_head, &file_priv->fbs); file_priv 368 drivers/gpu/drm/drm_framebuffer.c mutex_unlock(&file_priv->fbs_lock); file_priv 374 drivers/gpu/drm/drm_framebuffer.c void *data, struct drm_file *file_priv) file_priv 394 drivers/gpu/drm/drm_framebuffer.c return drm_mode_addfb2(dev, data, file_priv); file_priv 429 drivers/gpu/drm/drm_framebuffer.c struct drm_file *file_priv) file_priv 438 drivers/gpu/drm/drm_framebuffer.c fb = drm_framebuffer_lookup(dev, file_priv, fb_id); file_priv 442 drivers/gpu/drm/drm_framebuffer.c mutex_lock(&file_priv->fbs_lock); file_priv 443 drivers/gpu/drm/drm_framebuffer.c list_for_each_entry(fbl, &file_priv->fbs, filp_head) file_priv 447 drivers/gpu/drm/drm_framebuffer.c mutex_unlock(&file_priv->fbs_lock); file_priv 452 drivers/gpu/drm/drm_framebuffer.c mutex_unlock(&file_priv->fbs_lock); file_priv 485 drivers/gpu/drm/drm_framebuffer.c void *data, struct drm_file *file_priv) file_priv 489 drivers/gpu/drm/drm_framebuffer.c return drm_mode_rmfb(dev, *fb_id, file_priv); file_priv 506 drivers/gpu/drm/drm_framebuffer.c void *data, struct drm_file *file_priv) file_priv 515 drivers/gpu/drm/drm_framebuffer.c fb = drm_framebuffer_lookup(dev, file_priv, r->fb_id); file_priv 541 drivers/gpu/drm/drm_framebuffer.c if (!drm_is_current_master(file_priv) && !capable(CAP_SYS_ADMIN)) { file_priv 547 drivers/gpu/drm/drm_framebuffer.c ret = fb->funcs->create_handle(fb, file_priv, &r->handle); file_priv 575 drivers/gpu/drm/drm_framebuffer.c void *data, struct drm_file *file_priv) file_priv 588 drivers/gpu/drm/drm_framebuffer.c fb = drm_framebuffer_lookup(dev, file_priv, r->fb_id); file_priv 628 drivers/gpu/drm/drm_framebuffer.c ret = fb->funcs->dirty(fb, file_priv, flags, r->color, file_priv 763 drivers/gpu/drm/drm_framebuffer.c struct drm_file *file_priv, file_priv 769 drivers/gpu/drm/drm_framebuffer.c obj = __drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_FB); file_priv 249 drivers/gpu/drm/drm_gem.c struct drm_file *file_priv = data; file_priv 254 drivers/gpu/drm/drm_gem.c obj->funcs->close(obj, file_priv); file_priv 256 drivers/gpu/drm/drm_gem.c dev->driver->gem_close_object(obj, file_priv); file_priv 258 drivers/gpu/drm/drm_gem.c drm_gem_remove_prime_handles(obj, file_priv); file_priv 259 drivers/gpu/drm/drm_gem.c drm_vma_node_revoke(&obj->vma_node, file_priv); file_priv 373 drivers/gpu/drm/drm_gem.c drm_gem_handle_create_tail(struct drm_file *file_priv, file_priv 390 drivers/gpu/drm/drm_gem.c spin_lock(&file_priv->table_lock); file_priv 392 drivers/gpu/drm/drm_gem.c ret = idr_alloc(&file_priv->object_idr, obj, 1, 0, GFP_NOWAIT); file_priv 394 drivers/gpu/drm/drm_gem.c spin_unlock(&file_priv->table_lock); file_priv 403 drivers/gpu/drm/drm_gem.c ret = drm_vma_node_allow(&obj->vma_node, file_priv); file_priv 408 drivers/gpu/drm/drm_gem.c ret = obj->funcs->open(obj, file_priv); file_priv 412 drivers/gpu/drm/drm_gem.c ret = dev->driver->gem_open_object(obj, file_priv); file_priv 421 drivers/gpu/drm/drm_gem.c drm_vma_node_revoke(&obj->vma_node, file_priv); file_priv 423 drivers/gpu/drm/drm_gem.c spin_lock(&file_priv->table_lock); file_priv 424 drivers/gpu/drm/drm_gem.c idr_remove(&file_priv->object_idr, handle); file_priv 425 drivers/gpu/drm/drm_gem.c spin_unlock(&file_priv->table_lock); file_priv 444 drivers/gpu/drm/drm_gem.c int drm_gem_handle_create(struct drm_file *file_priv, file_priv 450 drivers/gpu/drm/drm_gem.c return drm_gem_handle_create_tail(file_priv, obj, handlep); file_priv 805 drivers/gpu/drm/drm_gem.c struct drm_file *file_priv) file_priv 813 drivers/gpu/drm/drm_gem.c ret = drm_gem_handle_delete(file_priv, args->handle); file_priv 831 drivers/gpu/drm/drm_gem.c struct drm_file *file_priv) file_priv 840 drivers/gpu/drm/drm_gem.c obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 881 drivers/gpu/drm/drm_gem.c struct drm_file *file_priv) file_priv 901 drivers/gpu/drm/drm_gem.c ret = drm_gem_handle_create_tail(file_priv, obj, &handle); file_priv 139 drivers/gpu/drm/drm_gem_cma_helper.c drm_gem_cma_create_with_handle(struct drm_file *file_priv, file_priv 157 drivers/gpu/drm/drm_gem_cma_helper.c ret = drm_gem_handle_create(file_priv, gem_obj, handle); file_priv 211 drivers/gpu/drm/drm_gem_cma_helper.c int drm_gem_cma_dumb_create_internal(struct drm_file *file_priv, file_priv 224 drivers/gpu/drm/drm_gem_cma_helper.c cma_obj = drm_gem_cma_create_with_handle(file_priv, drm, args->size, file_priv 248 drivers/gpu/drm/drm_gem_cma_helper.c int drm_gem_cma_dumb_create(struct drm_file *file_priv, file_priv 257 drivers/gpu/drm/drm_gem_cma_helper.c cma_obj = drm_gem_cma_create_with_handle(file_priv, drm, args->size, file_priv 341 drivers/gpu/drm/drm_gem_shmem_helper.c drm_gem_shmem_create_with_handle(struct drm_file *file_priv, file_priv 356 drivers/gpu/drm/drm_gem_shmem_helper.c ret = drm_gem_handle_create(file_priv, &shmem->base, handle); file_priv 50 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 56 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 58 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 77 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 84 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 95 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 97 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 99 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 101 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 102 drivers/gpu/drm/drm_internal.h int drm_master_open(struct drm_file *file_priv); file_priv 103 drivers/gpu/drm/drm_internal.h void drm_master_release(struct drm_file *file_priv); file_priv 122 drivers/gpu/drm/drm_internal.h int drm_gem_handle_create_tail(struct drm_file *file_priv, file_priv 126 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 128 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 130 drivers/gpu/drm/drm_internal.h struct drm_file *file_priv); file_priv 388 drivers/gpu/drm/drm_ioc32.c struct drm_file *file_priv) file_priv 447 drivers/gpu/drm/drm_ioc32.c struct drm_file *file_priv) file_priv 453 drivers/gpu/drm/drm_ioc32.c file_priv); file_priv 973 drivers/gpu/drm/drm_ioc32.c struct drm_file *file_priv = filp->private_data; file_priv 990 drivers/gpu/drm/drm_ioc32.c (long)old_encode_dev(file_priv->minor->kdev->devt), file_priv 991 drivers/gpu/drm/drm_ioc32.c file_priv->authenticated, file_priv 118 drivers/gpu/drm/drm_ioctl.c struct drm_file *file_priv) file_priv 121 drivers/gpu/drm/drm_ioctl.c struct drm_master *master = file_priv->master; file_priv 145 drivers/gpu/drm/drm_ioctl.c static int drm_set_busid(struct drm_device *dev, struct drm_file *file_priv) file_priv 147 drivers/gpu/drm/drm_ioctl.c struct drm_master *master = file_priv->master; file_priv 183 drivers/gpu/drm/drm_ioctl.c struct drm_file *file_priv) file_priv 199 drivers/gpu/drm/drm_ioctl.c client->auth = file_priv->authenticated; file_priv 222 drivers/gpu/drm/drm_ioctl.c struct drm_file *file_priv) file_priv 235 drivers/gpu/drm/drm_ioctl.c static int drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 315 drivers/gpu/drm/drm_ioctl.c drm_setclientcap(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 329 drivers/gpu/drm/drm_ioctl.c file_priv->stereo_allowed = req->value; file_priv 334 drivers/gpu/drm/drm_ioctl.c file_priv->universal_planes = req->value; file_priv 346 drivers/gpu/drm/drm_ioctl.c file_priv->atomic = req->value; file_priv 347 drivers/gpu/drm/drm_ioctl.c file_priv->universal_planes = req->value; file_priv 351 drivers/gpu/drm/drm_ioctl.c file_priv->aspect_ratio_allowed = req->value; file_priv 356 drivers/gpu/drm/drm_ioctl.c file_priv->aspect_ratio_allowed = req->value; file_priv 359 drivers/gpu/drm/drm_ioctl.c if (!file_priv->atomic) file_priv 363 drivers/gpu/drm/drm_ioctl.c file_priv->writeback_connectors = req->value; file_priv 383 drivers/gpu/drm/drm_ioctl.c static int drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 403 drivers/gpu/drm/drm_ioctl.c retcode = drm_set_busid(dev, file_priv); file_priv 441 drivers/gpu/drm/drm_ioctl.c struct drm_file *file_priv) file_priv 464 drivers/gpu/drm/drm_ioctl.c struct drm_file *file_priv) file_priv 505 drivers/gpu/drm/drm_ioctl.c struct drm_file *file_priv) file_priv 537 drivers/gpu/drm/drm_ioctl.c int drm_ioctl_permit(u32 flags, struct drm_file *file_priv) file_priv 544 drivers/gpu/drm/drm_ioctl.c if (unlikely((flags & DRM_AUTH) && !drm_is_render_client(file_priv) && file_priv 545 drivers/gpu/drm/drm_ioctl.c !file_priv->authenticated)) file_priv 550 drivers/gpu/drm/drm_ioctl.c !drm_is_current_master(file_priv))) file_priv 555 drivers/gpu/drm/drm_ioctl.c drm_is_render_client(file_priv))) file_priv 772 drivers/gpu/drm/drm_ioctl.c struct drm_file *file_priv = file->private_data; file_priv 773 drivers/gpu/drm/drm_ioctl.c struct drm_device *dev = file_priv->minor->dev; file_priv 779 drivers/gpu/drm/drm_ioctl.c retcode = drm_ioctl_permit(flags, file_priv); file_priv 786 drivers/gpu/drm/drm_ioctl.c retcode = func(dev, kdata, file_priv); file_priv 789 drivers/gpu/drm/drm_ioctl.c retcode = func(dev, kdata, file_priv); file_priv 812 drivers/gpu/drm/drm_ioctl.c struct drm_file *file_priv = filp->private_data; file_priv 823 drivers/gpu/drm/drm_ioctl.c dev = file_priv->minor->dev; file_priv 856 drivers/gpu/drm/drm_ioctl.c (long)old_encode_dev(file_priv->minor->kdev->devt), file_priv 857 drivers/gpu/drm/drm_ioctl.c file_priv->authenticated, ioctl->name); file_priv 894 drivers/gpu/drm/drm_ioctl.c (long)old_encode_dev(file_priv->minor->kdev->devt), file_priv 895 drivers/gpu/drm/drm_ioctl.c file_priv->authenticated, cmd, nr); file_priv 223 drivers/gpu/drm/drm_irq.c struct drm_file *file_priv) file_priv 108 drivers/gpu/drm/drm_lease.c bool _drm_lease_held(struct drm_file *file_priv, int id) file_priv 110 drivers/gpu/drm/drm_lease.c if (!file_priv || !file_priv->master) file_priv 113 drivers/gpu/drm/drm_lease.c return _drm_lease_held_master(file_priv->master, id); file_priv 127 drivers/gpu/drm/drm_lease.c bool drm_lease_held(struct drm_file *file_priv, int id) file_priv 132 drivers/gpu/drm/drm_lease.c if (!file_priv || !file_priv->master || !file_priv->master->lessor) file_priv 135 drivers/gpu/drm/drm_lease.c master = file_priv->master; file_priv 150 drivers/gpu/drm/drm_lease.c uint32_t drm_lease_filter_crtcs(struct drm_file *file_priv, uint32_t crtcs_in) file_priv 158 drivers/gpu/drm/drm_lease.c if (!file_priv || !file_priv->master || !file_priv->master->lessor) file_priv 161 drivers/gpu/drm/drm_lease.c master = file_priv->master; file_priv 101 drivers/gpu/drm/drm_legacy.h struct drm_file *file_priv); file_priv 185 drivers/gpu/drm/drm_legacy.h struct drm_file *file_priv); file_priv 187 drivers/gpu/drm/drm_legacy.h struct drm_file *file_priv); file_priv 114 drivers/gpu/drm/drm_lock.c lock_data->file_priv = NULL; file_priv 165 drivers/gpu/drm/drm_lock.c struct drm_file *file_priv) file_priv 169 drivers/gpu/drm/drm_lock.c struct drm_master *master = file_priv->master; file_priv 175 drivers/gpu/drm/drm_lock.c ++file_priv->lock_count; file_priv 202 drivers/gpu/drm/drm_lock.c master->lock.file_priv = file_priv; file_priv 229 drivers/gpu/drm/drm_lock.c if (!drm_is_current_master(file_priv)) { file_priv 257 drivers/gpu/drm/drm_lock.c int drm_legacy_unlock(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 260 drivers/gpu/drm/drm_lock.c struct drm_master *master = file_priv->master; file_priv 331 drivers/gpu/drm/drm_lock.c struct drm_file *file_priv) file_priv 333 drivers/gpu/drm/drm_lock.c struct drm_master *master = file_priv->master; file_priv 334 drivers/gpu/drm/drm_lock.c return (file_priv->lock_count && master->lock.hw_lock && file_priv 336 drivers/gpu/drm/drm_lock.c master->lock.file_priv == file_priv); file_priv 341 drivers/gpu/drm/drm_lock.c struct drm_file *file_priv = filp->private_data; file_priv 347 drivers/gpu/drm/drm_lock.c if (drm_legacy_i_have_hw_lock(dev, file_priv)) { file_priv 349 drivers/gpu/drm/drm_lock.c filp, _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); file_priv 350 drivers/gpu/drm/drm_lock.c drm_legacy_lock_free(&file_priv->master->lock, file_priv 351 drivers/gpu/drm/drm_lock.c _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); file_priv 368 drivers/gpu/drm/drm_lock.c master->lock.file_priv = NULL; file_priv 89 drivers/gpu/drm/drm_mode_config.c struct drm_file *file_priv) file_priv 106 drivers/gpu/drm/drm_mode_config.c mutex_lock(&file_priv->fbs_lock); file_priv 109 drivers/gpu/drm/drm_mode_config.c list_for_each_entry(fb, &file_priv->fbs, filp_head) { file_priv 112 drivers/gpu/drm/drm_mode_config.c mutex_unlock(&file_priv->fbs_lock); file_priv 118 drivers/gpu/drm/drm_mode_config.c mutex_unlock(&file_priv->fbs_lock); file_priv 128 drivers/gpu/drm/drm_mode_config.c if (drm_lease_held(file_priv, crtc->base.id)) { file_priv 152 drivers/gpu/drm/drm_mode_config.c if (!file_priv->writeback_connectors && file_priv 156 drivers/gpu/drm/drm_mode_config.c if (drm_lease_held(file_priv, connector->base.id)) { file_priv 137 drivers/gpu/drm/drm_mode_object.c struct drm_file *file_priv, file_priv 150 drivers/gpu/drm/drm_mode_object.c !_drm_lease_held(file_priv, obj->id)) file_priv 174 drivers/gpu/drm/drm_mode_object.c struct drm_file *file_priv, file_priv 179 drivers/gpu/drm/drm_mode_object.c obj = __drm_mode_object_find(dev, file_priv, id, type); file_priv 387 drivers/gpu/drm/drm_mode_object.c struct drm_file *file_priv) file_priv 398 drivers/gpu/drm/drm_mode_object.c obj = drm_mode_object_find(dev, file_priv, arg->obj_id, arg->obj_type); file_priv 408 drivers/gpu/drm/drm_mode_object.c ret = drm_mode_object_get_properties(obj, file_priv->atomic, file_priv 463 drivers/gpu/drm/drm_mode_object.c struct drm_file *file_priv, file_priv 490 drivers/gpu/drm/drm_mode_object.c ret = drm_atomic_set_property(state, file_priv, obj, prop, prop_value); file_priv 511 drivers/gpu/drm/drm_mode_object.c struct drm_file *file_priv) file_priv 521 drivers/gpu/drm/drm_mode_object.c arg_obj = drm_mode_object_find(dev, file_priv, arg->obj_id, arg->obj_type); file_priv 533 drivers/gpu/drm/drm_mode_object.c ret = set_property_atomic(arg_obj, file_priv, property, arg->value); file_priv 166 drivers/gpu/drm/drm_pci.c struct drm_file *file_priv) file_priv 320 drivers/gpu/drm/drm_pci.c struct drm_file *file_priv) file_priv 475 drivers/gpu/drm/drm_plane.c struct drm_file *file_priv) file_priv 497 drivers/gpu/drm/drm_plane.c !file_priv->universal_planes) file_priv 500 drivers/gpu/drm/drm_plane.c if (drm_lease_held(file_priv, plane->base.id)) { file_priv 513 drivers/gpu/drm/drm_plane.c struct drm_file *file_priv) file_priv 522 drivers/gpu/drm/drm_plane.c plane = drm_plane_find(dev, file_priv, plane_resp->plane_id); file_priv 527 drivers/gpu/drm/drm_plane.c if (plane->state && plane->state->crtc && drm_lease_held(file_priv, plane->state->crtc->base.id)) file_priv 529 drivers/gpu/drm/drm_plane.c else if (!plane->state && plane->crtc && drm_lease_held(file_priv, plane->crtc->base.id)) file_priv 543 drivers/gpu/drm/drm_plane.c plane_resp->possible_crtcs = drm_lease_filter_crtcs(file_priv, file_priv 791 drivers/gpu/drm/drm_plane.c struct drm_file *file_priv) file_priv 806 drivers/gpu/drm/drm_plane.c plane = drm_plane_find(dev, file_priv, plane_req->plane_id); file_priv 814 drivers/gpu/drm/drm_plane.c fb = drm_framebuffer_lookup(dev, file_priv, plane_req->fb_id); file_priv 821 drivers/gpu/drm/drm_plane.c crtc = drm_crtc_find(dev, file_priv, plane_req->crtc_id); file_priv 844 drivers/gpu/drm/drm_plane.c struct drm_file *file_priv, file_priv 872 drivers/gpu/drm/drm_plane.c fb = drm_internal_framebuffer_create(dev, &fbreq, file_priv); file_priv 931 drivers/gpu/drm/drm_plane.c struct drm_file *file_priv) file_priv 943 drivers/gpu/drm/drm_plane.c crtc = drm_crtc_find(dev, file_priv, req->crtc_id); file_priv 963 drivers/gpu/drm/drm_plane.c if (!drm_lease_held(file_priv, crtc->cursor->base.id)) { file_priv 968 drivers/gpu/drm/drm_plane.c ret = drm_mode_cursor_universal(crtc, req, file_priv, &ctx); file_priv 979 drivers/gpu/drm/drm_plane.c ret = crtc->funcs->cursor_set2(crtc, file_priv, req->handle, file_priv 982 drivers/gpu/drm/drm_plane.c ret = crtc->funcs->cursor_set(crtc, file_priv, req->handle, file_priv 1010 drivers/gpu/drm/drm_plane.c void *data, struct drm_file *file_priv) file_priv 1018 drivers/gpu/drm/drm_plane.c return drm_mode_cursor_common(dev, &new_req, file_priv); file_priv 1027 drivers/gpu/drm/drm_plane.c void *data, struct drm_file *file_priv) file_priv 1031 drivers/gpu/drm/drm_plane.c return drm_mode_cursor_common(dev, req, file_priv); file_priv 1035 drivers/gpu/drm/drm_plane.c void *data, struct drm_file *file_priv) file_priv 1064 drivers/gpu/drm/drm_plane.c crtc = drm_crtc_find(dev, file_priv, page_flip->crtc_id); file_priv 1070 drivers/gpu/drm/drm_plane.c if (!drm_lease_held(file_priv, plane->base.id)) file_priv 1135 drivers/gpu/drm/drm_plane.c fb = drm_framebuffer_lookup(dev, file_priv, page_flip->fb_id); file_priv 1174 drivers/gpu/drm/drm_plane.c ret = drm_event_reserve_init(dev, file_priv, &e->base, &e->event.base); file_priv 292 drivers/gpu/drm/drm_prime.c struct drm_file *file_priv, int prime_fd, file_priv 303 drivers/gpu/drm/drm_prime.c mutex_lock(&file_priv->prime.lock); file_priv 305 drivers/gpu/drm/drm_prime.c ret = drm_prime_lookup_buf_handle(&file_priv->prime, file_priv 329 drivers/gpu/drm/drm_prime.c ret = drm_gem_handle_create_tail(file_priv, obj, handle); file_priv 334 drivers/gpu/drm/drm_prime.c ret = drm_prime_add_buf_handle(&file_priv->prime, file_priv 336 drivers/gpu/drm/drm_prime.c mutex_unlock(&file_priv->prime.lock); file_priv 348 drivers/gpu/drm/drm_prime.c drm_gem_handle_delete(file_priv, *handle); file_priv 355 drivers/gpu/drm/drm_prime.c mutex_unlock(&file_priv->prime.lock); file_priv 362 drivers/gpu/drm/drm_prime.c struct drm_file *file_priv) file_priv 369 drivers/gpu/drm/drm_prime.c return dev->driver->prime_fd_to_handle(dev, file_priv, file_priv 423 drivers/gpu/drm/drm_prime.c struct drm_file *file_priv, uint32_t handle, file_priv 431 drivers/gpu/drm/drm_prime.c mutex_lock(&file_priv->prime.lock); file_priv 432 drivers/gpu/drm/drm_prime.c obj = drm_gem_object_lookup(file_priv, handle); file_priv 438 drivers/gpu/drm/drm_prime.c dmabuf = drm_prime_lookup_buf_by_handle(&file_priv->prime, handle); file_priv 475 drivers/gpu/drm/drm_prime.c ret = drm_prime_add_buf_handle(&file_priv->prime, file_priv 503 drivers/gpu/drm/drm_prime.c mutex_unlock(&file_priv->prime.lock); file_priv 510 drivers/gpu/drm/drm_prime.c struct drm_file *file_priv) file_priv 521 drivers/gpu/drm/drm_prime.c return dev->driver->prime_handle_to_fd(dev, file_priv, file_priv 460 drivers/gpu/drm/drm_property.c void *data, struct drm_file *file_priv) file_priv 474 drivers/gpu/drm/drm_property.c property = drm_property_find(dev, file_priv, out_resp->prop_id); file_priv 613 drivers/gpu/drm/drm_property.c struct drm_file *file_priv) file_priv 621 drivers/gpu/drm/drm_property.c list_for_each_entry_safe(blob, bt, &file_priv->blobs, head_file) { file_priv 758 drivers/gpu/drm/drm_property.c void *data, struct drm_file *file_priv) file_priv 787 drivers/gpu/drm/drm_property.c void *data, struct drm_file *file_priv) file_priv 812 drivers/gpu/drm/drm_property.c list_add_tail(&blob->head_file, &file_priv->blobs); file_priv 823 drivers/gpu/drm/drm_property.c void *data, struct drm_file *file_priv) file_priv 839 drivers/gpu/drm/drm_property.c list_for_each_entry(bt, &file_priv->blobs, head_file) { file_priv 88 drivers/gpu/drm/drm_scatter.c struct drm_file *file_priv) file_priv 204 drivers/gpu/drm/drm_scatter.c struct drm_file *file_priv) file_priv 854 drivers/gpu/drm/drm_vblank.c trace_drm_vblank_event_delivered(e->base.file_priv, e->pipe, seq); file_priv 1414 drivers/gpu/drm/drm_vblank.c struct drm_file *file_priv) file_priv 1453 drivers/gpu/drm/drm_vblank.c struct drm_file *file_priv) file_priv 1492 drivers/gpu/drm/drm_vblank.c ret = drm_event_reserve_init_locked(dev, file_priv, &e->base, file_priv 1503 drivers/gpu/drm/drm_vblank.c trace_drm_vblank_event_queued(file_priv, pipe, req_seq); file_priv 1573 drivers/gpu/drm/drm_vblank.c struct drm_file *file_priv) file_priv 1610 drivers/gpu/drm/drm_vblank.c if (drm_lease_held(file_priv, crtc->base.id)) { file_priv 1668 drivers/gpu/drm/drm_vblank.c return drm_queue_vblank_event(dev, pipe, req_seq, vblwait, file_priv); file_priv 1827 drivers/gpu/drm/drm_vblank.c struct drm_file *file_priv) file_priv 1843 drivers/gpu/drm/drm_vblank.c crtc = drm_crtc_find(dev, file_priv, get_seq->crtc_id); file_priv 1881 drivers/gpu/drm/drm_vblank.c struct drm_file *file_priv) file_priv 1901 drivers/gpu/drm/drm_vblank.c crtc = drm_crtc_find(dev, file_priv, queue_seq->crtc_id); file_priv 1952 drivers/gpu/drm/drm_vblank.c ret = drm_event_reserve_init_locked(dev, file_priv, &e->base, file_priv 289 drivers/gpu/drm/drm_vram_mm_helper.c struct drm_file *file_priv = filp->private_data; file_priv 290 drivers/gpu/drm/drm_vram_mm_helper.c struct drm_device *dev = file_priv->minor->dev; file_priv 51 drivers/gpu/drm/exynos/exynos_drm_drv.c struct drm_exynos_file_private *file_priv; file_priv 54 drivers/gpu/drm/exynos/exynos_drm_drv.c file_priv = kzalloc(sizeof(*file_priv), GFP_KERNEL); file_priv 55 drivers/gpu/drm/exynos/exynos_drm_drv.c if (!file_priv) file_priv 58 drivers/gpu/drm/exynos/exynos_drm_drv.c file->driver_priv = file_priv; file_priv 66 drivers/gpu/drm/exynos/exynos_drm_drv.c kfree(file_priv); file_priv 96 drivers/gpu/drm/exynos/exynos_drm_fb.c exynos_user_fb_create(struct drm_device *dev, struct drm_file *file_priv, file_priv 111 drivers/gpu/drm/exynos/exynos_drm_fb.c exynos_gem[i] = exynos_drm_gem_get(file_priv, file_priv 356 drivers/gpu/drm/exynos/exynos_drm_g2d.c static void g2d_add_cmdlist_to_inuse(struct drm_exynos_file_private *file_priv, file_priv 361 drivers/gpu/drm/exynos/exynos_drm_g2d.c if (list_empty(&file_priv->inuse_cmdlist)) file_priv 365 drivers/gpu/drm/exynos/exynos_drm_g2d.c lnode = list_entry(file_priv->inuse_cmdlist.prev, file_priv 370 drivers/gpu/drm/exynos/exynos_drm_g2d.c list_add_tail(&node->list, &file_priv->inuse_cmdlist); file_priv 373 drivers/gpu/drm/exynos/exynos_drm_g2d.c list_add_tail(&node->event->base.link, &file_priv->event_list); file_priv 425 drivers/gpu/drm/exynos/exynos_drm_g2d.c struct drm_exynos_file_private *file_priv = filp->driver_priv; file_priv 438 drivers/gpu/drm/exynos/exynos_drm_g2d.c list_for_each_entry(g2d_userptr, &file_priv->userptr_list, list) { file_priv 524 drivers/gpu/drm/exynos/exynos_drm_g2d.c list_add_tail(&g2d_userptr->list, &file_priv->userptr_list); file_priv 555 drivers/gpu/drm/exynos/exynos_drm_g2d.c struct drm_exynos_file_private *file_priv = filp->driver_priv; file_priv 558 drivers/gpu/drm/exynos/exynos_drm_g2d.c list_for_each_entry_safe(g2d_userptr, n, &file_priv->userptr_list, list) file_priv 1139 drivers/gpu/drm/exynos/exynos_drm_g2d.c struct drm_exynos_file_private *file_priv = file->driver_priv; file_priv 1281 drivers/gpu/drm/exynos/exynos_drm_g2d.c g2d_add_cmdlist_to_inuse(file_priv, node); file_priv 1298 drivers/gpu/drm/exynos/exynos_drm_g2d.c struct drm_exynos_file_private *file_priv = file->driver_priv; file_priv 1317 drivers/gpu/drm/exynos/exynos_drm_g2d.c list_splice_init(&file_priv->inuse_cmdlist, run_cmdlist); file_priv 1318 drivers/gpu/drm/exynos/exynos_drm_g2d.c list_splice_init(&file_priv->event_list, event_list); file_priv 1347 drivers/gpu/drm/exynos/exynos_drm_g2d.c struct drm_exynos_file_private *file_priv = file->driver_priv; file_priv 1349 drivers/gpu/drm/exynos/exynos_drm_g2d.c INIT_LIST_HEAD(&file_priv->inuse_cmdlist); file_priv 1350 drivers/gpu/drm/exynos/exynos_drm_g2d.c INIT_LIST_HEAD(&file_priv->event_list); file_priv 1351 drivers/gpu/drm/exynos/exynos_drm_g2d.c INIT_LIST_HEAD(&file_priv->userptr_list); file_priv 1358 drivers/gpu/drm/exynos/exynos_drm_g2d.c struct drm_exynos_file_private *file_priv = file->driver_priv; file_priv 1387 drivers/gpu/drm/exynos/exynos_drm_g2d.c list_for_each_entry_safe(node, n, &file_priv->inuse_cmdlist, list) { file_priv 9 drivers/gpu/drm/exynos/exynos_drm_g2d.h struct drm_file *file_priv); file_priv 11 drivers/gpu/drm/exynos/exynos_drm_g2d.h struct drm_file *file_priv); file_priv 13 drivers/gpu/drm/exynos/exynos_drm_g2d.h struct drm_file *file_priv); file_priv 19 drivers/gpu/drm/exynos/exynos_drm_g2d.h struct drm_file *file_priv) file_priv 26 drivers/gpu/drm/exynos/exynos_drm_g2d.h struct drm_file *file_priv) file_priv 32 drivers/gpu/drm/exynos/exynos_drm_g2d.h struct drm_file *file_priv) file_priv 126 drivers/gpu/drm/exynos/exynos_drm_gem.c struct drm_file *file_priv, file_priv 135 drivers/gpu/drm/exynos/exynos_drm_gem.c ret = drm_gem_handle_create(file_priv, obj, handle); file_priv 251 drivers/gpu/drm/exynos/exynos_drm_gem.c struct drm_file *file_priv) file_priv 261 drivers/gpu/drm/exynos/exynos_drm_gem.c ret = exynos_drm_gem_handle_create(&exynos_gem->base, file_priv, file_priv 272 drivers/gpu/drm/exynos/exynos_drm_gem.c struct drm_file *file_priv) file_priv 276 drivers/gpu/drm/exynos/exynos_drm_gem.c return drm_gem_dumb_map_offset(file_priv, dev, args->handle, file_priv 319 drivers/gpu/drm/exynos/exynos_drm_gem.c struct drm_file *file_priv) file_priv 325 drivers/gpu/drm/exynos/exynos_drm_gem.c obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 346 drivers/gpu/drm/exynos/exynos_drm_gem.c int exynos_drm_gem_dumb_create(struct drm_file *file_priv, file_priv 374 drivers/gpu/drm/exynos/exynos_drm_gem.c ret = exynos_drm_gem_handle_create(&exynos_gem->base, file_priv, file_priv 69 drivers/gpu/drm/exynos/exynos_drm_gem.h struct drm_file *file_priv); file_priv 73 drivers/gpu/drm/exynos/exynos_drm_gem.h struct drm_file *file_priv); file_priv 94 drivers/gpu/drm/exynos/exynos_drm_gem.h struct drm_file *file_priv); file_priv 100 drivers/gpu/drm/exynos/exynos_drm_gem.h int exynos_drm_gem_dumb_create(struct drm_file *file_priv, file_priv 104 drivers/gpu/drm/exynos/exynos_drm_ipp.c struct drm_file *file_priv) file_priv 152 drivers/gpu/drm/exynos/exynos_drm_ipp.c struct drm_file *file_priv) file_priv 218 drivers/gpu/drm/exynos/exynos_drm_ipp.c struct drm_file *file_priv) file_priv 695 drivers/gpu/drm/exynos/exynos_drm_ipp.c struct drm_file *file_priv, uint64_t user_data) file_priv 708 drivers/gpu/drm/exynos/exynos_drm_ipp.c ret = drm_event_reserve_init(task->ipp->drm_dev, file_priv, &e->base, file_priv 871 drivers/gpu/drm/exynos/exynos_drm_ipp.c struct drm_file *file_priv) file_priv 902 drivers/gpu/drm/exynos/exynos_drm_ipp.c ret = exynos_drm_ipp_task_setup_buffers(task, file_priv); file_priv 907 drivers/gpu/drm/exynos/exynos_drm_ipp.c ret = exynos_drm_ipp_event_create(task, file_priv, file_priv 138 drivers/gpu/drm/exynos/exynos_drm_ipp.h struct drm_file *file_priv); file_priv 140 drivers/gpu/drm/exynos/exynos_drm_ipp.h struct drm_file *file_priv); file_priv 142 drivers/gpu/drm/exynos/exynos_drm_ipp.h struct drm_file *file_priv); file_priv 144 drivers/gpu/drm/exynos/exynos_drm_ipp.h void *data, struct drm_file *file_priv); file_priv 147 drivers/gpu/drm/exynos/exynos_drm_ipp.h void *data, struct drm_file *file_priv) file_priv 155 drivers/gpu/drm/exynos/exynos_drm_ipp.h void *data, struct drm_file *file_priv) file_priv 160 drivers/gpu/drm/exynos/exynos_drm_ipp.h void *data, struct drm_file *file_priv) file_priv 165 drivers/gpu/drm/exynos/exynos_drm_ipp.h void *data, struct drm_file *file_priv) file_priv 217 drivers/gpu/drm/exynos/exynos_drm_vidi.c struct drm_file *file_priv) file_priv 13 drivers/gpu/drm/exynos/exynos_drm_vidi.h struct drm_file *file_priv); file_priv 320 drivers/gpu/drm/gma500/gma_display.c struct drm_file *file_priv, file_priv 364 drivers/gpu/drm/gma500/gma_display.c obj = drm_gem_object_lookup(file_priv, handle); file_priv 61 drivers/gpu/drm/gma500/gma_display.h struct drm_file *file_priv, file_priv 413 drivers/gpu/drm/gma500/psb_drv.c struct drm_file *file_priv = filp->private_data; file_priv 414 drivers/gpu/drm/gma500/psb_drv.c struct drm_device *dev = file_priv->minor->dev; file_priv 127 drivers/gpu/drm/i810/i810_dma.c static int i810_map_buffer(struct drm_buf *buf, struct drm_file *file_priv) file_priv 129 drivers/gpu/drm/i810/i810_dma.c struct drm_device *dev = file_priv->minor->dev; file_priv 139 drivers/gpu/drm/i810/i810_dma.c old_fops = file_priv->filp->f_op; file_priv 140 drivers/gpu/drm/i810/i810_dma.c file_priv->filp->f_op = &i810_buffer_fops; file_priv 142 drivers/gpu/drm/i810/i810_dma.c buf_priv->virtual = (void *)vm_mmap(file_priv->filp, 0, buf->total, file_priv 146 drivers/gpu/drm/i810/i810_dma.c file_priv->filp->f_op = old_fops; file_priv 175 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 188 drivers/gpu/drm/i810/i810_dma.c retcode = i810_map_buffer(buf, file_priv); file_priv 194 drivers/gpu/drm/i810/i810_dma.c buf->file_priv = file_priv; file_priv 428 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 890 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 908 drivers/gpu/drm/i810/i810_dma.c if (buf->file_priv == file_priv && buf_priv) { file_priv 921 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 923 drivers/gpu/drm/i810/i810_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 930 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 939 drivers/gpu/drm/i810/i810_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 958 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 962 drivers/gpu/drm/i810/i810_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 974 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 978 drivers/gpu/drm/i810/i810_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 985 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 997 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 1006 drivers/gpu/drm/i810/i810_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1010 drivers/gpu/drm/i810/i810_dma.c retcode = i810_dma_get_buffer(dev, d, file_priv); file_priv 1021 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 1028 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 1093 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 1102 drivers/gpu/drm/i810/i810_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1117 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 1125 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 1137 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 1141 drivers/gpu/drm/i810/i810_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1146 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 1150 drivers/gpu/drm/i810/i810_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1183 drivers/gpu/drm/i810/i810_dma.c struct drm_file *file_priv) file_priv 1189 drivers/gpu/drm/i810/i810_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1222 drivers/gpu/drm/i810/i810_dma.c void i810_driver_preclose(struct drm_device *dev, struct drm_file *file_priv) file_priv 1230 drivers/gpu/drm/i810/i810_dma.c if (file_priv->master && file_priv->master->lock.hw_lock) { file_priv 1231 drivers/gpu/drm/i810/i810_dma.c drm_legacy_idlelock_take(&file_priv->master->lock); file_priv 1232 drivers/gpu/drm/i810/i810_dma.c i810_driver_reclaim_buffers(dev, file_priv); file_priv 1233 drivers/gpu/drm/i810/i810_dma.c drm_legacy_idlelock_release(&file_priv->master->lock); file_priv 1237 drivers/gpu/drm/i810/i810_dma.c i810_driver_reclaim_buffers(dev, file_priv); file_priv 124 drivers/gpu/drm/i810/i810_drv.h struct drm_file *file_priv); file_priv 128 drivers/gpu/drm/i810/i810_drv.h struct drm_file *file_priv); file_priv 457 drivers/gpu/drm/i915/display/intel_display.h struct drm_file *file_priv); file_priv 1053 drivers/gpu/drm/i915/display/intel_overlay.c struct drm_file *file_priv) file_priv 1081 drivers/gpu/drm/i915/display/intel_overlay.c drmmode_crtc = drm_crtc_find(dev, file_priv, params->crtc_id); file_priv 1086 drivers/gpu/drm/i915/display/intel_overlay.c new_bo = i915_gem_object_lookup(file_priv, params->bo_handle); file_priv 1222 drivers/gpu/drm/i915/display/intel_overlay.c struct drm_file *file_priv) file_priv 20 drivers/gpu/drm/i915/display/intel_overlay.h struct drm_file *file_priv); file_priv 22 drivers/gpu/drm/i915/display/intel_overlay.h struct drm_file *file_priv); file_priv 1895 drivers/gpu/drm/i915/display/intel_sprite.c struct drm_file *file_priv) file_priv 1919 drivers/gpu/drm/i915/display/intel_sprite.c plane = drm_plane_find(dev, file_priv, set->plane_id); file_priv 26 drivers/gpu/drm/i915/display/intel_sprite.h struct drm_file *file_priv); file_priv 387 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx->file_priv = ERR_PTR(-EBADF); file_priv 685 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx->file_priv = fpriv; file_priv 714 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 718 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_init(&file_priv->context_idr_lock); file_priv 719 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_init(&file_priv->vm_idr_lock); file_priv 721 drivers/gpu/drm/i915/gem/i915_gem_context.c idr_init(&file_priv->context_idr); file_priv 722 drivers/gpu/drm/i915/gem/i915_gem_context.c idr_init_base(&file_priv->vm_idr, 1); file_priv 732 drivers/gpu/drm/i915/gem/i915_gem_context.c err = gem_context_register(ctx, file_priv); file_priv 744 drivers/gpu/drm/i915/gem/i915_gem_context.c idr_destroy(&file_priv->vm_idr); file_priv 745 drivers/gpu/drm/i915/gem/i915_gem_context.c idr_destroy(&file_priv->context_idr); file_priv 746 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_destroy(&file_priv->vm_idr_lock); file_priv 747 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_destroy(&file_priv->context_idr_lock); file_priv 753 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 755 drivers/gpu/drm/i915/gem/i915_gem_context.c idr_for_each(&file_priv->context_idr, context_idr_cleanup, NULL); file_priv 756 drivers/gpu/drm/i915/gem/i915_gem_context.c idr_destroy(&file_priv->context_idr); file_priv 757 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_destroy(&file_priv->context_idr_lock); file_priv 759 drivers/gpu/drm/i915/gem/i915_gem_context.c idr_for_each(&file_priv->vm_idr, vm_idr_cleanup, NULL); file_priv 760 drivers/gpu/drm/i915/gem/i915_gem_context.c idr_destroy(&file_priv->vm_idr); file_priv 761 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_destroy(&file_priv->vm_idr_lock); file_priv 769 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 783 drivers/gpu/drm/i915/gem/i915_gem_context.c ppgtt->vm.file = file_priv; file_priv 793 drivers/gpu/drm/i915/gem/i915_gem_context.c err = mutex_lock_interruptible(&file_priv->vm_idr_lock); file_priv 797 drivers/gpu/drm/i915/gem/i915_gem_context.c err = idr_alloc(&file_priv->vm_idr, &ppgtt->vm, 0, 0, GFP_KERNEL); file_priv 803 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_unlock(&file_priv->vm_idr_lock); file_priv 809 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_unlock(&file_priv->vm_idr_lock); file_priv 818 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 834 drivers/gpu/drm/i915/gem/i915_gem_context.c err = mutex_lock_interruptible(&file_priv->vm_idr_lock); file_priv 838 drivers/gpu/drm/i915/gem/i915_gem_context.c vm = idr_remove(&file_priv->vm_idr, id); file_priv 840 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_unlock(&file_priv->vm_idr_lock); file_priv 934 drivers/gpu/drm/i915/gem/i915_gem_context.c static int get_ppgtt(struct drm_i915_file_private *file_priv, file_priv 952 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = mutex_lock_interruptible(&file_priv->vm_idr_lock); file_priv 956 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = idr_alloc(&file_priv->vm_idr, vm, 0, 0, GFP_KERNEL); file_priv 968 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_unlock(&file_priv->vm_idr_lock); file_priv 1043 drivers/gpu/drm/i915/gem/i915_gem_context.c static int set_ppgtt(struct drm_i915_file_private *file_priv, file_priv 1059 drivers/gpu/drm/i915/gem/i915_gem_context.c err = mutex_lock_interruptible(&file_priv->vm_idr_lock); file_priv 1063 drivers/gpu/drm/i915/gem/i915_gem_context.c vm = idr_find(&file_priv->vm_idr, args->value); file_priv 1066 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_unlock(&file_priv->vm_idr_lock); file_priv 2071 drivers/gpu/drm/i915/gem/i915_gem_context.c static bool client_is_banned(struct drm_i915_file_private *file_priv) file_priv 2073 drivers/gpu/drm/i915/gem/i915_gem_context.c return atomic_read(&file_priv->ban_score) >= I915_CLIENT_SCORE_BANNED; file_priv 2137 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 2146 drivers/gpu/drm/i915/gem/i915_gem_context.c if (mutex_lock_interruptible(&file_priv->context_idr_lock)) file_priv 2149 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx = idr_remove(&file_priv->context_idr, args->ctx_id); file_priv 2150 drivers/gpu/drm/i915/gem/i915_gem_context.c mutex_unlock(&file_priv->context_idr_lock); file_priv 2216 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 2221 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx = i915_gem_context_lookup(file_priv, args->ctx_id); file_priv 2266 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = get_ppgtt(file_priv, ctx, args); file_priv 2286 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 2291 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx = i915_gem_context_lookup(file_priv, args->ctx_id); file_priv 2295 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = ctx_setparam(file_priv, ctx, args); file_priv 132 drivers/gpu/drm/i915/gem/i915_gem_context.h return !ctx->file_priv; file_priv 155 drivers/gpu/drm/i915/gem/i915_gem_context.h struct drm_file *file_priv); file_priv 157 drivers/gpu/drm/i915/gem/i915_gem_context.h struct drm_file *file_priv); file_priv 54 drivers/gpu/drm/i915/gem/i915_gem_context_types.h struct drm_i915_file_private *file_priv; file_priv 2062 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 2064 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c rq->file_priv = file_priv; file_priv 2066 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c spin_lock(&file_priv->mm.lock); file_priv 2067 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c list_add_tail(&rq->client_link, &file_priv->mm.request_list); file_priv 2068 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c spin_unlock(&file_priv->mm.lock); file_priv 2122 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 2125 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if ((int)file_priv->bsd_engine < 0) file_priv 2126 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c file_priv->bsd_engine = file_priv 2129 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c return file_priv->bsd_engine; file_priv 103 drivers/gpu/drm/i915/gem/i915_gem_object.c if (ctx->file_priv != fpriv) file_priv 38 drivers/gpu/drm/i915/gem/i915_gem_throttle.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 48 drivers/gpu/drm/i915/gem/i915_gem_throttle.c spin_lock(&file_priv->mm.lock); file_priv 49 drivers/gpu/drm/i915/gem/i915_gem_throttle.c list_for_each_entry(request, &file_priv->mm.request_list, client_link) { file_priv 55 drivers/gpu/drm/i915/gem/i915_gem_throttle.c target->file_priv = NULL; file_priv 62 drivers/gpu/drm/i915/gem/i915_gem_throttle.c spin_unlock(&file_priv->mm.lock); file_priv 54 drivers/gpu/drm/i915/gt/intel_reset.c static void client_mark_guilty(struct drm_i915_file_private *file_priv, file_priv 65 drivers/gpu/drm/i915/gt/intel_reset.c prev_hang = xchg(&file_priv->hang_timestamp, jiffies); file_priv 70 drivers/gpu/drm/i915/gt/intel_reset.c atomic_add(score, &file_priv->ban_score); file_priv 74 drivers/gpu/drm/i915/gt/intel_reset.c atomic_read(&file_priv->ban_score)); file_priv 106 drivers/gpu/drm/i915/gt/intel_reset.c if (!IS_ERR_OR_NULL(ctx->file_priv)) file_priv 107 drivers/gpu/drm/i915/gt/intel_reset.c client_mark_guilty(ctx->file_priv, ctx); file_priv 331 drivers/gpu/drm/i915/i915_debugfs.c if (!IS_ERR_OR_NULL(ctx->file_priv)) { file_priv 333 drivers/gpu/drm/i915/i915_debugfs.c struct drm_file *file = ctx->file_priv->file; file_priv 1593 drivers/gpu/drm/i915/i915_debugfs.c } else if (IS_ERR(ctx->file_priv)) { file_priv 1729 drivers/gpu/drm/i915/i915_drv.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 1736 drivers/gpu/drm/i915/i915_drv.c kfree(file_priv); file_priv 2239 drivers/gpu/drm/i915/i915_drv.h struct drm_file *file_priv); file_priv 2314 drivers/gpu/drm/i915/i915_drv.h int i915_gem_dumb_create(struct drm_file *file_priv, file_priv 2317 drivers/gpu/drm/i915/i915_drv.h int i915_gem_mmap_gtt(struct drm_file *file_priv, struct drm_device *dev, file_priv 2360 drivers/gpu/drm/i915/i915_drv.h __i915_gem_context_lookup_rcu(struct drm_i915_file_private *file_priv, u32 id) file_priv 2362 drivers/gpu/drm/i915/i915_drv.h return idr_find(&file_priv->context_idr, id); file_priv 2366 drivers/gpu/drm/i915/i915_drv.h i915_gem_context_lookup(struct drm_i915_file_private *file_priv, u32 id) file_priv 2371 drivers/gpu/drm/i915/i915_drv.h ctx = __i915_gem_context_lookup_rcu(file_priv, id); file_priv 1064 drivers/gpu/drm/i915/i915_gem.c struct drm_file *file_priv) file_priv 1079 drivers/gpu/drm/i915/i915_gem.c obj = i915_gem_object_lookup(file_priv, args->handle); file_priv 1737 drivers/gpu/drm/i915/i915_gem.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 1744 drivers/gpu/drm/i915/i915_gem.c spin_lock(&file_priv->mm.lock); file_priv 1745 drivers/gpu/drm/i915/i915_gem.c list_for_each_entry(request, &file_priv->mm.request_list, client_link) file_priv 1746 drivers/gpu/drm/i915/i915_gem.c request->file_priv = NULL; file_priv 1747 drivers/gpu/drm/i915/i915_gem.c spin_unlock(&file_priv->mm.lock); file_priv 1752 drivers/gpu/drm/i915/i915_gem.c struct drm_i915_file_private *file_priv; file_priv 1757 drivers/gpu/drm/i915/i915_gem.c file_priv = kzalloc(sizeof(*file_priv), GFP_KERNEL); file_priv 1758 drivers/gpu/drm/i915/i915_gem.c if (!file_priv) file_priv 1761 drivers/gpu/drm/i915/i915_gem.c file->driver_priv = file_priv; file_priv 1762 drivers/gpu/drm/i915/i915_gem.c file_priv->dev_priv = i915; file_priv 1763 drivers/gpu/drm/i915/i915_gem.c file_priv->file = file; file_priv 1765 drivers/gpu/drm/i915/i915_gem.c spin_lock_init(&file_priv->mm.lock); file_priv 1766 drivers/gpu/drm/i915/i915_gem.c INIT_LIST_HEAD(&file_priv->mm.request_list); file_priv 1768 drivers/gpu/drm/i915/i915_gem.c file_priv->bsd_engine = -1; file_priv 1769 drivers/gpu/drm/i915/i915_gem.c file_priv->hang_timestamp = jiffies; file_priv 1773 drivers/gpu/drm/i915/i915_gem.c kfree(file_priv); file_priv 10 drivers/gpu/drm/i915/i915_getparam.c struct drm_file *file_priv) file_priv 2720 drivers/gpu/drm/i915/i915_perf.c struct drm_i915_file_private *file_priv = file->driver_priv; file_priv 2722 drivers/gpu/drm/i915/i915_perf.c specific_ctx = i915_gem_context_lookup(file_priv, ctx_handle); file_priv 170 drivers/gpu/drm/i915/i915_request.c struct drm_i915_file_private *file_priv; file_priv 172 drivers/gpu/drm/i915/i915_request.c file_priv = READ_ONCE(request->file_priv); file_priv 173 drivers/gpu/drm/i915/i915_request.c if (!file_priv) file_priv 176 drivers/gpu/drm/i915/i915_request.c spin_lock(&file_priv->mm.lock); file_priv 177 drivers/gpu/drm/i915/i915_request.c if (request->file_priv) { file_priv 179 drivers/gpu/drm/i915/i915_request.c request->file_priv = NULL; file_priv 181 drivers/gpu/drm/i915/i915_request.c spin_unlock(&file_priv->mm.lock); file_priv 711 drivers/gpu/drm/i915/i915_request.c rq->file_priv = NULL; file_priv 228 drivers/gpu/drm/i915/i915_request.h struct drm_i915_file_private *file_priv; file_priv 98 drivers/gpu/drm/mediatek/mtk_drm_gem.c int mtk_drm_gem_dumb_create(struct drm_file *file_priv, struct drm_device *dev, file_priv 115 drivers/gpu/drm/mediatek/mtk_drm_gem.c ret = drm_gem_handle_create(file_priv, &mtk_gem->base, &args->handle); file_priv 40 drivers/gpu/drm/mediatek/mtk_drm_gem.h int mtk_drm_gem_dumb_create(struct drm_file *file_priv, struct drm_device *dev, file_priv 775 drivers/gpu/drm/mga/mga_dma.c struct drm_file *file_priv) file_priv 1014 drivers/gpu/drm/mga/mga_dma.c struct drm_file *file_priv) file_priv 1019 drivers/gpu/drm/mga/mga_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1039 drivers/gpu/drm/mga/mga_dma.c struct drm_file *file_priv) file_priv 1044 drivers/gpu/drm/mga/mga_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1071 drivers/gpu/drm/mga/mga_dma.c struct drm_file *file_priv) file_priv 1075 drivers/gpu/drm/mga/mga_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1085 drivers/gpu/drm/mga/mga_dma.c struct drm_file *file_priv, struct drm_dma *d) file_priv 1095 drivers/gpu/drm/mga/mga_dma.c buf->file_priv = file_priv; file_priv 1110 drivers/gpu/drm/mga/mga_dma.c struct drm_file *file_priv) file_priv 1117 drivers/gpu/drm/mga/mga_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1141 drivers/gpu/drm/mga/mga_dma.c ret = mga_dma_get_buffers(dev, file_priv, d); file_priv 172 drivers/gpu/drm/mga/mga_drv.h struct drm_file *file_priv); file_priv 174 drivers/gpu/drm/mga/mga_drv.h struct drm_file *file_priv); file_priv 176 drivers/gpu/drm/mga/mga_drv.h struct drm_file *file_priv); file_priv 178 drivers/gpu/drm/mga/mga_drv.h struct drm_file *file_priv); file_priv 180 drivers/gpu/drm/mga/mga_drv.h struct drm_file *file_priv); file_priv 182 drivers/gpu/drm/mga/mga_drv.h struct drm_file *file_priv); file_priv 173 drivers/gpu/drm/mga/mga_ioc32.c struct drm_file *file_priv = filp->private_data; file_priv 189 drivers/gpu/drm/mga/mga_ioc32.c (long)old_encode_dev(file_priv->minor->kdev->devt), file_priv 190 drivers/gpu/drm/mga/mga_ioc32.c file_priv->authenticated, file_priv 827 drivers/gpu/drm/mga/mga_state.c static int mga_dma_clear(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 833 drivers/gpu/drm/mga/mga_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 849 drivers/gpu/drm/mga/mga_state.c static int mga_dma_swap(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 854 drivers/gpu/drm/mga/mga_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 870 drivers/gpu/drm/mga/mga_state.c static int mga_dma_vertex(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 878 drivers/gpu/drm/mga/mga_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 905 drivers/gpu/drm/mga/mga_state.c static int mga_dma_indices(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 913 drivers/gpu/drm/mga/mga_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 940 drivers/gpu/drm/mga/mga_state.c static int mga_dma_iload(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 949 drivers/gpu/drm/mga/mga_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 980 drivers/gpu/drm/mga/mga_state.c static int mga_dma_blit(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 987 drivers/gpu/drm/mga/mga_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1006 drivers/gpu/drm/mga/mga_state.c int mga_getparam(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1038 drivers/gpu/drm/mga/mga_state.c static int mga_set_fence(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1068 drivers/gpu/drm/mga/mga_state.c file_priv) file_priv 29 drivers/gpu/drm/mgag200/mgag200_cursor.c struct drm_file *file_priv, file_priv 68 drivers/gpu/drm/mgag200/mgag200_cursor.c if (!handle || !file_priv) { file_priv 84 drivers/gpu/drm/mgag200/mgag200_cursor.c obj = drm_gem_object_lookup(file_priv, handle); file_priv 225 drivers/gpu/drm/mgag200/mgag200_drv.h int mga_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv, file_priv 403 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c struct drm_file *file_priv, uint32_t handle, file_priv 421 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c cursor_bo = drm_gem_object_lookup(file_priv, handle); file_priv 983 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv04_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv, file_priv 1001 drivers/gpu/drm/nouveau/dispnv04/crtc.c gem = drm_gem_object_lookup(file_priv, buffer_handle); file_priv 41 drivers/gpu/drm/nouveau/nouveau_abi16.c nouveau_abi16(struct drm_file *file_priv) file_priv 43 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 71 drivers/gpu/drm/nouveau/nouveau_abi16.c nouveau_abi16_get(struct drm_file *file_priv) file_priv 73 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 75 drivers/gpu/drm/nouveau/nouveau_abi16.c if (nouveau_abi16(file_priv)) file_priv 179 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 251 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 253 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); file_priv 342 drivers/gpu/drm/nouveau/nouveau_abi16.c ret = drm_gem_handle_create(file_priv, &chan->ntfy->bo.base, file_priv 368 drivers/gpu/drm/nouveau/nouveau_abi16.c nouveau_abi16_usif(struct drm_file *file_priv, void *data, u32 size) file_priv 389 drivers/gpu/drm/nouveau/nouveau_abi16.c if (!(abi16 = nouveau_abi16(file_priv))) file_priv 409 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); file_priv 426 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); file_priv 519 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); file_priv 591 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); file_priv 6 drivers/gpu/drm/nouveau/nouveau_abi16.h struct drm_device *dev, void *data, struct drm_file *file_priv file_priv 214 drivers/gpu/drm/nouveau/nouveau_display.c struct drm_file *file_priv, file_priv 219 drivers/gpu/drm/nouveau/nouveau_display.c return drm_gem_handle_create(file_priv, &fb->nvbo->bo.base, handle); file_priv 271 drivers/gpu/drm/nouveau/nouveau_display.c struct drm_file *file_priv, file_priv 279 drivers/gpu/drm/nouveau/nouveau_display.c gem = drm_gem_object_lookup(file_priv, mode_cmd->handles[0]); file_priv 643 drivers/gpu/drm/nouveau/nouveau_display.c nouveau_display_dumb_create(struct drm_file *file_priv, struct drm_device *dev, file_priv 646 drivers/gpu/drm/nouveau/nouveau_display.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 665 drivers/gpu/drm/nouveau/nouveau_display.c ret = drm_gem_handle_create(file_priv, &bo->bo.base, &args->handle); file_priv 671 drivers/gpu/drm/nouveau/nouveau_display.c nouveau_display_dumb_map_offset(struct drm_file *file_priv, file_priv 677 drivers/gpu/drm/nouveau/nouveau_display.c gem = drm_gem_object_lookup(file_priv, handle); file_priv 61 drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_gem_object_open(struct drm_gem_object *gem, struct drm_file *file_priv) file_priv 63 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 136 drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_gem_object_close(struct drm_gem_object *gem, struct drm_file *file_priv) file_priv 138 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 221 drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_gem_info(struct drm_file *file_priv, struct drm_gem_object *gem, file_priv 224 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 260 drivers/gpu/drm/nouveau/nouveau_gem.c struct drm_file *file_priv) file_priv 262 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 273 drivers/gpu/drm/nouveau/nouveau_gem.c ret = drm_gem_handle_create(file_priv, &nvbo->bo.base, file_priv 276 drivers/gpu/drm/nouveau/nouveau_gem.c ret = nouveau_gem_info(file_priv, &nvbo->bo.base, &req->info); file_priv 278 drivers/gpu/drm/nouveau/nouveau_gem.c drm_gem_handle_delete(file_priv, req->info.handle); file_priv 375 drivers/gpu/drm/nouveau/nouveau_gem.c validate_init(struct nouveau_channel *chan, struct drm_file *file_priv, file_priv 379 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 399 drivers/gpu/drm/nouveau/nouveau_gem.c gem = drm_gem_object_lookup(file_priv, b->handle); file_priv 412 drivers/gpu/drm/nouveau/nouveau_gem.c if (nvbo->reserved_by && nvbo->reserved_by == file_priv) { file_priv 453 drivers/gpu/drm/nouveau/nouveau_gem.c nvbo->reserved_by = file_priv; file_priv 548 drivers/gpu/drm/nouveau/nouveau_gem.c struct drm_file *file_priv, file_priv 553 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 561 drivers/gpu/drm/nouveau/nouveau_gem.c ret = validate_init(chan, file_priv, pbbo, nr_buffers, op); file_priv 688 drivers/gpu/drm/nouveau/nouveau_gem.c struct drm_file *file_priv) file_priv 690 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_abi16 *abi16 = nouveau_abi16_get(file_priv); file_priv 691 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 758 drivers/gpu/drm/nouveau/nouveau_gem.c ret = nouveau_gem_pushbuf_validate(chan, file_priv, bo, req->buffers, file_priv 877 drivers/gpu/drm/nouveau/nouveau_gem.c struct drm_file *file_priv) file_priv 887 drivers/gpu/drm/nouveau/nouveau_gem.c gem = drm_gem_object_lookup(file_priv, req->handle); file_priv 909 drivers/gpu/drm/nouveau/nouveau_gem.c struct drm_file *file_priv) file_priv 915 drivers/gpu/drm/nouveau/nouveau_gem.c gem = drm_gem_object_lookup(file_priv, req->handle); file_priv 927 drivers/gpu/drm/nouveau/nouveau_gem.c struct drm_file *file_priv) file_priv 933 drivers/gpu/drm/nouveau/nouveau_gem.c gem = drm_gem_object_lookup(file_priv, req->handle); file_priv 937 drivers/gpu/drm/nouveau/nouveau_gem.c ret = nouveau_gem_info(file_priv, gem, req); file_priv 110 drivers/gpu/drm/nouveau/nouveau_svm.c struct drm_file *file_priv) file_priv 112 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 310 drivers/gpu/drm/nouveau/nouveau_svm.c struct drm_file *file_priv) file_priv 312 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_cli *cli = nouveau_cli(file_priv); file_priv 164 drivers/gpu/drm/nouveau/nouveau_ttm.c struct drm_file *file_priv = filp->private_data; file_priv 165 drivers/gpu/drm/nouveau/nouveau_ttm.c struct nouveau_drm *drm = nouveau_drm(file_priv->minor->dev); file_priv 93 drivers/gpu/drm/nouveau/nouveau_usif.c filp = ntfy->p->base.file_priv; file_priv 213 drivers/gpu/drm/nouveau/nouveau_usif.c ntfy->p->base.file_priv = f; file_priv 418 drivers/gpu/drm/omapdrm/omap_drv.c struct drm_file *file_priv) file_priv 440 drivers/gpu/drm/omapdrm/omap_drv.c struct drm_file *file_priv) file_priv 445 drivers/gpu/drm/omapdrm/omap_drv.c VERB("%p:%p: size=0x%08x, flags=%08x", dev, file_priv, file_priv 448 drivers/gpu/drm/omapdrm/omap_drv.c return omap_gem_new_handle(dev, file_priv, args->size, flags, file_priv 453 drivers/gpu/drm/omapdrm/omap_drv.c struct drm_file *file_priv) file_priv 459 drivers/gpu/drm/omapdrm/omap_drv.c VERB("%p:%p: handle=%d", dev, file_priv, args->handle); file_priv 461 drivers/gpu/drm/omapdrm/omap_drv.c obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 59 drivers/gpu/drm/omapdrm/omap_fb.c struct drm_file *file_priv, file_priv 127 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_file *file_priv, file_priv 131 drivers/gpu/drm/panfrost/panfrost_drv.c struct panfrost_file_priv *priv = file_priv->driver_priv; file_priv 147 drivers/gpu/drm/panfrost/panfrost_drv.c ret = drm_gem_objects_lookup(file_priv, file_priv 191 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_file *file_priv, file_priv 228 drivers/gpu/drm/panfrost/panfrost_drv.c ret = drm_syncobj_find_fence(file_priv, handles[i], 0, 0, file_priv 272 drivers/gpu/drm/panfrost/panfrost_drv.c job->file_priv = file->driver_priv; file_priv 301 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_file *file_priv) file_priv 311 drivers/gpu/drm/panfrost/panfrost_drv.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 326 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_file *file_priv) file_priv 337 drivers/gpu/drm/panfrost/panfrost_drv.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 359 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_file *file_priv) file_priv 361 drivers/gpu/drm/panfrost/panfrost_drv.c struct panfrost_file_priv *priv = file_priv->driver_priv; file_priv 367 drivers/gpu/drm/panfrost/panfrost_drv.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 386 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_file *file_priv) file_priv 388 drivers/gpu/drm/panfrost/panfrost_drv.c struct panfrost_file_priv *priv = file_priv->driver_priv; file_priv 395 drivers/gpu/drm/panfrost/panfrost_drv.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 118 drivers/gpu/drm/panfrost/panfrost_gem.c int panfrost_gem_open(struct drm_gem_object *obj, struct drm_file *file_priv) file_priv 125 drivers/gpu/drm/panfrost/panfrost_gem.c struct panfrost_file_priv *priv = file_priv->driver_priv; file_priv 173 drivers/gpu/drm/panfrost/panfrost_gem.c void panfrost_gem_close(struct drm_gem_object *obj, struct drm_file *file_priv) file_priv 175 drivers/gpu/drm/panfrost/panfrost_gem.c struct panfrost_file_priv *priv = file_priv->driver_priv; file_priv 237 drivers/gpu/drm/panfrost/panfrost_gem.c panfrost_gem_create_with_handle(struct drm_file *file_priv, file_priv 262 drivers/gpu/drm/panfrost/panfrost_gem.c ret = drm_gem_handle_create(file_priv, &shmem->base, handle); file_priv 72 drivers/gpu/drm/panfrost/panfrost_gem.h panfrost_gem_create_with_handle(struct drm_file *file_priv, file_priv 77 drivers/gpu/drm/panfrost/panfrost_gem.h int panfrost_gem_open(struct drm_gem_object *obj, struct drm_file *file_priv); file_priv 79 drivers/gpu/drm/panfrost/panfrost_gem.h struct drm_file *file_priv); file_priv 157 drivers/gpu/drm/panfrost/panfrost_job.c cfg = panfrost_mmu_as_get(pfdev, &job->file_priv->mmu); file_priv 214 drivers/gpu/drm/panfrost/panfrost_job.c struct drm_sched_entity *entity = &job->file_priv->sched_entity[slot]; file_priv 487 drivers/gpu/drm/panfrost/panfrost_job.c panfrost_mmu_as_put(pfdev, &job->file_priv->mmu); file_priv 20 drivers/gpu/drm/panfrost/panfrost_job.h struct panfrost_file_priv *file_priv; file_priv 70 drivers/gpu/drm/panfrost/panfrost_perfcnt.c struct drm_file *file_priv, file_priv 73 drivers/gpu/drm/panfrost/panfrost_perfcnt.c struct panfrost_file_priv *user = file_priv->driver_priv; file_priv 93 drivers/gpu/drm/panfrost/panfrost_perfcnt.c ret = panfrost_gem_open(&bo->base, file_priv); file_priv 168 drivers/gpu/drm/panfrost/panfrost_perfcnt.c panfrost_gem_close(&bo->base, file_priv); file_priv 175 drivers/gpu/drm/panfrost/panfrost_perfcnt.c struct drm_file *file_priv) file_priv 177 drivers/gpu/drm/panfrost/panfrost_perfcnt.c struct panfrost_file_priv *user = file_priv->driver_priv; file_priv 193 drivers/gpu/drm/panfrost/panfrost_perfcnt.c panfrost_gem_close(&perfcnt->mapping->obj->base.base, file_priv); file_priv 204 drivers/gpu/drm/panfrost/panfrost_perfcnt.c struct drm_file *file_priv) file_priv 221 drivers/gpu/drm/panfrost/panfrost_perfcnt.c ret = panfrost_perfcnt_enable_locked(pfdev, file_priv, file_priv 224 drivers/gpu/drm/panfrost/panfrost_perfcnt.c ret = panfrost_perfcnt_disable_locked(pfdev, file_priv); file_priv 231 drivers/gpu/drm/panfrost/panfrost_perfcnt.c struct drm_file *file_priv) file_priv 244 drivers/gpu/drm/panfrost/panfrost_perfcnt.c if (perfcnt->user != file_priv->driver_priv) { file_priv 262 drivers/gpu/drm/panfrost/panfrost_perfcnt.c void panfrost_perfcnt_close(struct drm_file *file_priv) file_priv 264 drivers/gpu/drm/panfrost/panfrost_perfcnt.c struct panfrost_file_priv *pfile = file_priv->driver_priv; file_priv 271 drivers/gpu/drm/panfrost/panfrost_perfcnt.c panfrost_perfcnt_disable_locked(pfdev, file_priv); file_priv 12 drivers/gpu/drm/panfrost/panfrost_perfcnt.h void panfrost_perfcnt_close(struct drm_file *file_priv); file_priv 14 drivers/gpu/drm/panfrost/panfrost_perfcnt.h struct drm_file *file_priv); file_priv 16 drivers/gpu/drm/panfrost/panfrost_perfcnt.h struct drm_file *file_priv); file_priv 410 drivers/gpu/drm/qxl/qxl_display.c struct drm_file *file_priv, file_priv 1137 drivers/gpu/drm/qxl/qxl_display.c struct drm_file *file_priv, file_priv 1140 drivers/gpu/drm/qxl/qxl_display.c return drm_gem_fb_create_with_funcs(dev, file_priv, mode_cmd, file_priv 333 drivers/gpu/drm/qxl/qxl_drv.h struct drm_file *file_priv, file_priv 340 drivers/gpu/drm/qxl/qxl_drv.h int qxl_gem_object_open(struct drm_gem_object *obj, struct drm_file *file_priv); file_priv 342 drivers/gpu/drm/qxl/qxl_drv.h struct drm_file *file_priv); file_priv 347 drivers/gpu/drm/qxl/qxl_drv.h int qxl_mode_dumb_create(struct drm_file *file_priv, file_priv 31 drivers/gpu/drm/qxl/qxl_dumb.c int qxl_mode_dumb_create(struct drm_file *file_priv, file_priv 61 drivers/gpu/drm/qxl/qxl_dumb.c r = qxl_gem_object_create_with_handle(qdev, file_priv, file_priv 73 drivers/gpu/drm/qxl/qxl_dumb.c int qxl_mode_dumb_mmap(struct drm_file *file_priv, file_priv 81 drivers/gpu/drm/qxl/qxl_dumb.c gobj = drm_gem_object_lookup(file_priv, handle); file_priv 76 drivers/gpu/drm/qxl/qxl_gem.c struct drm_file *file_priv, file_priv 95 drivers/gpu/drm/qxl/qxl_gem.c r = drm_gem_handle_create(file_priv, gobj, handle); file_priv 104 drivers/gpu/drm/qxl/qxl_gem.c int qxl_gem_object_open(struct drm_gem_object *obj, struct drm_file *file_priv) file_priv 110 drivers/gpu/drm/qxl/qxl_gem.c struct drm_file *file_priv) file_priv 37 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_file *file_priv) file_priv 50 drivers/gpu/drm/qxl/qxl_ioctl.c ret = qxl_gem_object_create_with_handle(qdev, file_priv, file_priv 65 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_file *file_priv) file_priv 70 drivers/gpu/drm/qxl/qxl_ioctl.c return qxl_mode_dumb_mmap(file_priv, &qdev->ddev, qxl_map->handle, file_priv 114 drivers/gpu/drm/qxl/qxl_ioctl.c static int qxlhw_handle_to_bo(struct drm_file *file_priv, uint64_t handle, file_priv 121 drivers/gpu/drm/qxl/qxl_ioctl.c gobj = drm_gem_object_lookup(file_priv, handle); file_priv 144 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_file *file_priv) file_priv 228 drivers/gpu/drm/qxl/qxl_ioctl.c ret = qxlhw_handle_to_bo(file_priv, reloc.dst_handle, release, file_priv 241 drivers/gpu/drm/qxl/qxl_ioctl.c ret = qxlhw_handle_to_bo(file_priv, reloc.src_handle, release, file_priv 277 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_file *file_priv) file_priv 294 drivers/gpu/drm/qxl/qxl_ioctl.c ret = qxl_process_single_command(qdev, &user_cmd, file_priv); file_priv 352 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_file *file_priv) file_priv 371 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_file *file_priv) file_priv 69 drivers/gpu/drm/qxl/qxl_ttm.c struct drm_file *file_priv = filp->private_data; file_priv 70 drivers/gpu/drm/qxl/qxl_ttm.c struct qxl_device *qdev = file_priv->minor->dev->dev_private; file_priv 638 drivers/gpu/drm/r128/r128_cce.c int r128_cce_init(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 644 drivers/gpu/drm/r128/r128_cce.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 656 drivers/gpu/drm/r128/r128_cce.c int r128_cce_start(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 661 drivers/gpu/drm/r128/r128_cce.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 678 drivers/gpu/drm/r128/r128_cce.c int r128_cce_stop(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 685 drivers/gpu/drm/r128/r128_cce.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 718 drivers/gpu/drm/r128/r128_cce.c int r128_cce_reset(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 723 drivers/gpu/drm/r128/r128_cce.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 735 drivers/gpu/drm/r128/r128_cce.c int r128_cce_idle(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 740 drivers/gpu/drm/r128/r128_cce.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 750 drivers/gpu/drm/r128/r128_cce.c int r128_engine_reset(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 754 drivers/gpu/drm/r128/r128_cce.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 761 drivers/gpu/drm/r128/r128_cce.c int r128_fullscreen(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 831 drivers/gpu/drm/r128/r128_cce.c if (!buf->file_priv) file_priv 890 drivers/gpu/drm/r128/r128_cce.c struct drm_file *file_priv, file_priv 901 drivers/gpu/drm/r128/r128_cce.c buf->file_priv = file_priv; file_priv 915 drivers/gpu/drm/r128/r128_cce.c int r128_cce_buffers(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 921 drivers/gpu/drm/r128/r128_cce.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 942 drivers/gpu/drm/r128/r128_cce.c ret = r128_cce_get_buffers(dev, file_priv, d); file_priv 147 drivers/gpu/drm/r128/r128_drv.h extern int r128_cce_init(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 148 drivers/gpu/drm/r128/r128_drv.h extern int r128_cce_start(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 149 drivers/gpu/drm/r128/r128_drv.h extern int r128_cce_stop(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 150 drivers/gpu/drm/r128/r128_drv.h extern int r128_cce_reset(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 151 drivers/gpu/drm/r128/r128_drv.h extern int r128_cce_idle(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 152 drivers/gpu/drm/r128/r128_drv.h extern int r128_engine_reset(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 153 drivers/gpu/drm/r128/r128_drv.h extern int r128_fullscreen(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 154 drivers/gpu/drm/r128/r128_drv.h extern int r128_cce_buffers(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 156 drivers/gpu/drm/r128/r128_drv.h extern int r128_cce_stipple(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 157 drivers/gpu/drm/r128/r128_drv.h extern int r128_cce_depth(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 158 drivers/gpu/drm/r128/r128_drv.h extern int r128_getparam(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 177 drivers/gpu/drm/r128/r128_drv.h struct drm_file *file_priv); file_priv 779 drivers/gpu/drm/r128/r128_state.c struct drm_file *file_priv, file_priv 832 drivers/gpu/drm/r128/r128_state.c if (buf->file_priv != file_priv) { file_priv 834 drivers/gpu/drm/r128/r128_state.c task_pid_nr(current), buf->file_priv); file_priv 1203 drivers/gpu/drm/r128/r128_state.c static int r128_cce_clear(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1210 drivers/gpu/drm/r128/r128_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1271 drivers/gpu/drm/r128/r128_state.c static int r128_cce_flip(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1276 drivers/gpu/drm/r128/r128_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1291 drivers/gpu/drm/r128/r128_state.c static int r128_cce_swap(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1297 drivers/gpu/drm/r128/r128_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1314 drivers/gpu/drm/r128/r128_state.c static int r128_cce_vertex(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1322 drivers/gpu/drm/r128/r128_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1346 drivers/gpu/drm/r128/r128_state.c if (buf->file_priv != file_priv) { file_priv 1348 drivers/gpu/drm/r128/r128_state.c task_pid_nr(current), buf->file_priv); file_priv 1366 drivers/gpu/drm/r128/r128_state.c static int r128_cce_indices(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1375 drivers/gpu/drm/r128/r128_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1399 drivers/gpu/drm/r128/r128_state.c if (buf->file_priv != file_priv) { file_priv 1401 drivers/gpu/drm/r128/r128_state.c task_pid_nr(current), buf->file_priv); file_priv 1431 drivers/gpu/drm/r128/r128_state.c static int r128_cce_blit(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1438 drivers/gpu/drm/r128/r128_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1453 drivers/gpu/drm/r128/r128_state.c ret = r128_cce_dispatch_blit(dev, file_priv, blit); file_priv 1459 drivers/gpu/drm/r128/r128_state.c int r128_cce_depth(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1465 drivers/gpu/drm/r128/r128_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1491 drivers/gpu/drm/r128/r128_state.c int r128_cce_stipple(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1497 drivers/gpu/drm/r128/r128_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1512 drivers/gpu/drm/r128/r128_state.c static int r128_cce_indirect(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1523 drivers/gpu/drm/r128/r128_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1540 drivers/gpu/drm/r128/r128_state.c if (buf->file_priv != file_priv) { file_priv 1542 drivers/gpu/drm/r128/r128_state.c task_pid_nr(current), buf->file_priv); file_priv 1581 drivers/gpu/drm/r128/r128_state.c int r128_getparam(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1607 drivers/gpu/drm/r128/r128_state.c void r128_driver_preclose(struct drm_device *dev, struct drm_file *file_priv) file_priv 582 drivers/gpu/drm/radeon/radeon.h int radeon_mode_dumb_create(struct drm_file *file_priv, file_priv 2219 drivers/gpu/drm/radeon/radeon.h struct drm_file *file_priv); file_priv 2221 drivers/gpu/drm/radeon/radeon.h struct drm_file *file_priv); file_priv 2223 drivers/gpu/drm/radeon/radeon.h struct drm_file *file_priv); file_priv 2225 drivers/gpu/drm/radeon/radeon.h struct drm_file *file_priv); file_priv 277 drivers/gpu/drm/radeon/radeon_cursor.c struct drm_file *file_priv, file_priv 303 drivers/gpu/drm/radeon/radeon_cursor.c obj = drm_gem_object_lookup(file_priv, handle); file_priv 1317 drivers/gpu/drm/radeon/radeon_display.c struct drm_file *file_priv, file_priv 1324 drivers/gpu/drm/radeon/radeon_display.c obj = drm_gem_object_lookup(file_priv, mode_cmd->handles[0]); file_priv 117 drivers/gpu/drm/radeon/radeon_drv.c int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv); file_priv 119 drivers/gpu/drm/radeon/radeon_drv.c struct drm_file *file_priv); file_priv 132 drivers/gpu/drm/radeon/radeon_drv.c struct drm_file *file_priv); file_priv 134 drivers/gpu/drm/radeon/radeon_drv.c struct drm_file *file_priv); file_priv 148 drivers/gpu/drm/radeon/radeon_drv.c int radeon_mode_dumb_create(struct drm_file *file_priv, file_priv 553 drivers/gpu/drm/radeon/radeon_drv.c struct drm_file *file_priv = filp->private_data; file_priv 556 drivers/gpu/drm/radeon/radeon_drv.c dev = file_priv->minor->dev; file_priv 148 drivers/gpu/drm/radeon/radeon_gem.c int radeon_gem_object_open(struct drm_gem_object *obj, struct drm_file *file_priv) file_priv 152 drivers/gpu/drm/radeon/radeon_gem.c struct radeon_fpriv *fpriv = file_priv->driver_priv; file_priv 179 drivers/gpu/drm/radeon/radeon_gem.c struct drm_file *file_priv) file_priv 183 drivers/gpu/drm/radeon/radeon_gem.c struct radeon_fpriv *fpriv = file_priv->driver_priv; file_priv 749 drivers/gpu/drm/radeon/radeon_gem.c int radeon_mode_dumb_create(struct drm_file *file_priv, file_priv 769 drivers/gpu/drm/radeon/radeon_gem.c r = drm_gem_handle_create(file_priv, gobj, &handle); file_priv 633 drivers/gpu/drm/radeon/radeon_kms.c int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv) file_priv 638 drivers/gpu/drm/radeon/radeon_kms.c file_priv->driver_priv = NULL; file_priv 684 drivers/gpu/drm/radeon/radeon_kms.c file_priv->driver_priv = fpriv; file_priv 703 drivers/gpu/drm/radeon/radeon_kms.c struct drm_file *file_priv) file_priv 710 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->hyperz_filp == file_priv) file_priv 712 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->cmask_filp == file_priv) file_priv 716 drivers/gpu/drm/radeon/radeon_kms.c radeon_uvd_free_handles(rdev, file_priv); file_priv 717 drivers/gpu/drm/radeon/radeon_kms.c radeon_vce_free_handles(rdev, file_priv); file_priv 720 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_CAYMAN && file_priv->driver_priv) { file_priv 721 drivers/gpu/drm/radeon/radeon_kms.c struct radeon_fpriv *fpriv = file_priv->driver_priv; file_priv 736 drivers/gpu/drm/radeon/radeon_kms.c file_priv->driver_priv = NULL; file_priv 869 drivers/gpu/drm/radeon/radeon_mode.h struct drm_file *file_priv, file_priv 906 drivers/gpu/drm/radeon/radeon_ttm.c struct drm_file *file_priv = filp->private_data; file_priv 907 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_device *rdev = file_priv->minor->dev->dev_private; file_priv 307 drivers/gpu/drm/rcar-du/rcar_du_kms.c rcar_du_fb_create(struct drm_device *dev, struct drm_file *file_priv, file_priv 362 drivers/gpu/drm/rcar-du/rcar_du_kms.c return drm_gem_fb_create(dev, file_priv, mode_cmd); file_priv 57 drivers/gpu/drm/rockchip/rockchip_drm_fb.c rockchip_user_fb_create(struct drm_device *dev, struct drm_file *file_priv, file_priv 74 drivers/gpu/drm/rockchip/rockchip_drm_fb.c obj = drm_gem_object_lookup(file_priv, mode_cmd->handles[i]); file_priv 371 drivers/gpu/drm/rockchip/rockchip_drm_gem.c rockchip_gem_create_with_handle(struct drm_file *file_priv, file_priv 389 drivers/gpu/drm/rockchip/rockchip_drm_gem.c ret = drm_gem_handle_create(file_priv, obj, handle); file_priv 411 drivers/gpu/drm/rockchip/rockchip_drm_gem.c int rockchip_gem_dumb_create(struct drm_file *file_priv, file_priv 424 drivers/gpu/drm/rockchip/rockchip_drm_gem.c rk_obj = rockchip_gem_create_with_handle(file_priv, dev, args->size, file_priv 50 drivers/gpu/drm/rockchip/rockchip_drm_gem.h int rockchip_gem_dumb_create(struct drm_file *file_priv, file_priv 922 drivers/gpu/drm/savage/savage_bci.c static int savage_bci_init(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 926 drivers/gpu/drm/savage/savage_bci.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 938 drivers/gpu/drm/savage/savage_bci.c static int savage_bci_event_emit(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 945 drivers/gpu/drm/savage/savage_bci.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 953 drivers/gpu/drm/savage/savage_bci.c static int savage_bci_event_wait(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 989 drivers/gpu/drm/savage/savage_bci.c struct drm_file *file_priv, file_priv 1000 drivers/gpu/drm/savage/savage_bci.c buf->file_priv = file_priv; file_priv 1014 drivers/gpu/drm/savage/savage_bci.c int savage_bci_buffers(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 1020 drivers/gpu/drm/savage/savage_bci.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 1041 drivers/gpu/drm/savage/savage_bci.c ret = savage_bci_get_buffers(dev, file_priv, d); file_priv 1047 drivers/gpu/drm/savage/savage_bci.c void savage_reclaim_buffers(struct drm_device *dev, struct drm_file *file_priv) file_priv 1061 drivers/gpu/drm/savage/savage_bci.c if (file_priv->master && file_priv->master->lock.hw_lock) { file_priv 1062 drivers/gpu/drm/savage/savage_bci.c drm_legacy_idlelock_take(&file_priv->master->lock); file_priv 1070 drivers/gpu/drm/savage/savage_bci.c if (buf->file_priv == file_priv && buf_priv && file_priv 1081 drivers/gpu/drm/savage/savage_bci.c drm_legacy_idlelock_release(&file_priv->master->lock); file_priv 203 drivers/gpu/drm/savage/savage_drv.h extern int savage_bci_cmdbuf(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 204 drivers/gpu/drm/savage/savage_drv.h extern int savage_bci_buffers(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 219 drivers/gpu/drm/savage/savage_drv.h struct drm_file *file_priv); file_priv 967 drivers/gpu/drm/savage/savage_state.c int savage_bci_cmdbuf(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 982 drivers/gpu/drm/savage/savage_state.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 307 drivers/gpu/drm/selftests/test-drm_framebuffer.c struct drm_file *file_priv, file_priv 92 drivers/gpu/drm/shmobile/shmob_drm_kms.c shmob_drm_fb_create(struct drm_device *dev, struct drm_file *file_priv, file_priv 120 drivers/gpu/drm/shmobile/shmob_drm_kms.c return drm_gem_fb_create(dev, file_priv, mode_cmd); file_priv 81 drivers/gpu/drm/sis/sis_drv.c struct sis_file_private *file_priv; file_priv 84 drivers/gpu/drm/sis/sis_drv.c file_priv = kmalloc(sizeof(*file_priv), GFP_KERNEL); file_priv 85 drivers/gpu/drm/sis/sis_drv.c if (!file_priv) file_priv 88 drivers/gpu/drm/sis/sis_drv.c file->driver_priv = file_priv; file_priv 90 drivers/gpu/drm/sis/sis_drv.c INIT_LIST_HEAD(&file_priv->obj_list); file_priv 97 drivers/gpu/drm/sis/sis_drv.c struct sis_file_private *file_priv = file->driver_priv; file_priv 99 drivers/gpu/drm/sis/sis_drv.c kfree(file_priv); file_priv 74 drivers/gpu/drm/sis/sis_drv.h struct drm_file *file_priv); file_priv 66 drivers/gpu/drm/sis/sis_mm.c static int sis_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 92 drivers/gpu/drm/sis/sis_mm.c struct sis_file_private *file_priv = file->driver_priv; file_priv 139 drivers/gpu/drm/sis/sis_mm.c list_add(&item->owner_list, &file_priv->obj_list); file_priv 166 drivers/gpu/drm/sis/sis_mm.c static int sis_drm_free(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 195 drivers/gpu/drm/sis/sis_mm.c struct drm_file *file_priv) file_priv 197 drivers/gpu/drm/sis/sis_mm.c return sis_drm_alloc(dev, file_priv, data, VIDEO_TYPE); file_priv 201 drivers/gpu/drm/sis/sis_mm.c struct drm_file *file_priv) file_priv 219 drivers/gpu/drm/sis/sis_mm.c struct drm_file *file_priv) file_priv 222 drivers/gpu/drm/sis/sis_mm.c return sis_drm_alloc(dev, file_priv, data, AGP_TYPE); file_priv 317 drivers/gpu/drm/sis/sis_mm.c struct sis_file_private *file_priv = file->driver_priv; file_priv 326 drivers/gpu/drm/sis/sis_mm.c if (list_empty(&file_priv->obj_list)) { file_priv 336 drivers/gpu/drm/sis/sis_mm.c list_for_each_entry_safe(entry, next, &file_priv->obj_list, file_priv 31 drivers/gpu/drm/sun4i/sun4i_drv.c static int drm_sun4i_gem_dumb_create(struct drm_file *file_priv, file_priv 38 drivers/gpu/drm/sun4i/sun4i_drv.c return drm_gem_cma_dumb_create_internal(file_priv, drm, args); file_priv 68 drivers/gpu/drm/tilcdc/tilcdc_drv.c struct drm_file *file_priv, const struct drm_mode_fb_cmd2 *mode_cmd) file_priv 70 drivers/gpu/drm/tilcdc/tilcdc_drv.c return drm_gem_fb_create(dev, file_priv, mode_cmd); file_priv 124 drivers/gpu/drm/tve200/tve200_drm.h int tve200_dumb_create(struct drm_file *file_priv, file_priv 126 drivers/gpu/drm/udl/udl_drv.h int udl_dumb_create(struct drm_file *file_priv, file_priv 129 drivers/gpu/drm/udl/udl_drv.h int udl_gem_mmap(struct drm_file *file_priv, struct drm_device *dev, file_priv 125 drivers/gpu/drm/v3d/v3d_bo.c struct v3d_bo *v3d_bo_create(struct drm_device *dev, struct drm_file *file_priv, file_priv 170 drivers/gpu/drm/v3d/v3d_bo.c struct drm_file *file_priv) file_priv 181 drivers/gpu/drm/v3d/v3d_bo.c bo = v3d_bo_create(dev, file_priv, PAGE_ALIGN(args->size)); file_priv 187 drivers/gpu/drm/v3d/v3d_bo.c ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle); file_priv 194 drivers/gpu/drm/v3d/v3d_bo.c struct drm_file *file_priv) file_priv 204 drivers/gpu/drm/v3d/v3d_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 217 drivers/gpu/drm/v3d/v3d_bo.c struct drm_file *file_priv) file_priv 223 drivers/gpu/drm/v3d/v3d_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 77 drivers/gpu/drm/v3d/v3d_drv.c struct drm_file *file_priv) file_priv 291 drivers/gpu/drm/v3d/v3d_drv.h struct v3d_bo *v3d_bo_create(struct drm_device *dev, struct drm_file *file_priv, file_priv 294 drivers/gpu/drm/v3d/v3d_drv.h struct drm_file *file_priv); file_priv 296 drivers/gpu/drm/v3d/v3d_drv.h struct drm_file *file_priv); file_priv 298 drivers/gpu/drm/v3d/v3d_drv.h struct drm_file *file_priv); file_priv 314 drivers/gpu/drm/v3d/v3d_drv.h struct drm_file *file_priv); file_priv 316 drivers/gpu/drm/v3d/v3d_drv.h struct drm_file *file_priv); file_priv 318 drivers/gpu/drm/v3d/v3d_drv.h struct drm_file *file_priv); file_priv 320 drivers/gpu/drm/v3d/v3d_drv.h struct drm_file *file_priv); file_priv 333 drivers/gpu/drm/v3d/v3d_drv.h int v3d_mmu_get_offset(struct drm_file *file_priv, struct v3d_bo *bo, file_priv 288 drivers/gpu/drm/v3d/v3d_gem.c struct drm_file *file_priv, file_priv 330 drivers/gpu/drm/v3d/v3d_gem.c spin_lock(&file_priv->table_lock); file_priv 332 drivers/gpu/drm/v3d/v3d_gem.c struct drm_gem_object *bo = idr_find(&file_priv->object_idr, file_priv 338 drivers/gpu/drm/v3d/v3d_gem.c spin_unlock(&file_priv->table_lock); file_priv 344 drivers/gpu/drm/v3d/v3d_gem.c spin_unlock(&file_priv->table_lock); file_priv 400 drivers/gpu/drm/v3d/v3d_gem.c struct drm_file *file_priv) file_priv 412 drivers/gpu/drm/v3d/v3d_gem.c ret = drm_gem_dma_resv_wait(file_priv, args->handle, file_priv 432 drivers/gpu/drm/v3d/v3d_gem.c v3d_job_init(struct v3d_dev *v3d, struct drm_file *file_priv, file_priv 448 drivers/gpu/drm/v3d/v3d_gem.c ret = drm_syncobj_find_fence(file_priv, in_sync, 0, 0, &in_fence); file_priv 487 drivers/gpu/drm/v3d/v3d_gem.c v3d_attach_fences_and_unlock_reservation(struct drm_file *file_priv, file_priv 505 drivers/gpu/drm/v3d/v3d_gem.c sync_out = drm_syncobj_find(file_priv, out_sync); file_priv 526 drivers/gpu/drm/v3d/v3d_gem.c struct drm_file *file_priv) file_priv 529 drivers/gpu/drm/v3d/v3d_gem.c struct v3d_file_priv *v3d_priv = file_priv->driver_priv; file_priv 551 drivers/gpu/drm/v3d/v3d_gem.c ret = v3d_job_init(v3d, file_priv, &render->base, file_priv 565 drivers/gpu/drm/v3d/v3d_gem.c ret = v3d_job_init(v3d, file_priv, &bin->base, file_priv 581 drivers/gpu/drm/v3d/v3d_gem.c ret = v3d_lookup_bos(dev, file_priv, &render->base, file_priv 607 drivers/gpu/drm/v3d/v3d_gem.c v3d_attach_fences_and_unlock_reservation(file_priv, file_priv 642 drivers/gpu/drm/v3d/v3d_gem.c struct drm_file *file_priv) file_priv 645 drivers/gpu/drm/v3d/v3d_gem.c struct v3d_file_priv *v3d_priv = file_priv->driver_priv; file_priv 657 drivers/gpu/drm/v3d/v3d_gem.c ret = v3d_job_init(v3d, file_priv, &job->base, file_priv 673 drivers/gpu/drm/v3d/v3d_gem.c spin_lock(&file_priv->table_lock); file_priv 682 drivers/gpu/drm/v3d/v3d_gem.c bo = idr_find(&file_priv->object_idr, file_priv 689 drivers/gpu/drm/v3d/v3d_gem.c spin_unlock(&file_priv->table_lock); file_priv 695 drivers/gpu/drm/v3d/v3d_gem.c spin_unlock(&file_priv->table_lock); file_priv 707 drivers/gpu/drm/v3d/v3d_gem.c v3d_attach_fences_and_unlock_reservation(file_priv, file_priv 737 drivers/gpu/drm/v3d/v3d_gem.c struct drm_file *file_priv) file_priv 740 drivers/gpu/drm/v3d/v3d_gem.c struct v3d_file_priv *v3d_priv = file_priv->driver_priv; file_priv 758 drivers/gpu/drm/v3d/v3d_gem.c ret = v3d_job_init(v3d, file_priv, &job->base, file_priv 772 drivers/gpu/drm/v3d/v3d_gem.c ret = v3d_job_init(v3d, file_priv, clean_job, v3d_job_free, 0); file_priv 781 drivers/gpu/drm/v3d/v3d_gem.c ret = v3d_lookup_bos(dev, file_priv, clean_job, file_priv 805 drivers/gpu/drm/v3d/v3d_gem.c v3d_attach_fences_and_unlock_reservation(file_priv, file_priv 89 drivers/gpu/drm/vboxvideo/vbox_main.c struct drm_file *file_priv, file_priv 472 drivers/gpu/drm/vc4/vc4_bo.c int vc4_dumb_create(struct drm_file *file_priv, file_priv 492 drivers/gpu/drm/vc4/vc4_bo.c ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle); file_priv 814 drivers/gpu/drm/vc4/vc4_bo.c struct drm_file *file_priv) file_priv 817 drivers/gpu/drm/vc4/vc4_bo.c struct vc4_file *vc4file = file_priv->driver_priv; file_priv 836 drivers/gpu/drm/vc4/vc4_bo.c ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle); file_priv 843 drivers/gpu/drm/vc4/vc4_bo.c struct drm_file *file_priv) file_priv 848 drivers/gpu/drm/vc4/vc4_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 863 drivers/gpu/drm/vc4/vc4_bo.c struct drm_file *file_priv) file_priv 866 drivers/gpu/drm/vc4/vc4_bo.c struct vc4_file *vc4file = file_priv->driver_priv; file_priv 918 drivers/gpu/drm/vc4/vc4_bo.c ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle); file_priv 939 drivers/gpu/drm/vc4/vc4_bo.c struct drm_file *file_priv) file_priv 960 drivers/gpu/drm/vc4/vc4_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 982 drivers/gpu/drm/vc4/vc4_bo.c struct drm_file *file_priv) file_priv 991 drivers/gpu/drm/vc4/vc4_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 1064 drivers/gpu/drm/vc4/vc4_bo.c struct drm_file *file_priv) file_priv 1079 drivers/gpu/drm/vc4/vc4_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 68 drivers/gpu/drm/vc4/vc4_drv.c struct drm_file *file_priv) file_priv 712 drivers/gpu/drm/vc4/vc4_drv.h int vc4_dumb_create(struct drm_file *file_priv, file_priv 717 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 719 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 721 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 723 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 725 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 727 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 729 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 797 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 799 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 801 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 812 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 890 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 892 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 894 drivers/gpu/drm/vc4/vc4_drv.h struct drm_file *file_priv); file_priv 68 drivers/gpu/drm/vc4/vc4_gem.c struct drm_file *file_priv) file_priv 118 drivers/gpu/drm/vc4/vc4_gem.c ret = drm_gem_handle_create(file_priv, kernel_state->bo[i], file_priv 138 drivers/gpu/drm/vc4/vc4_gem.c drm_gem_handle_delete(file_priv, bo_state[i].handle); file_priv 729 drivers/gpu/drm/vc4/vc4_gem.c struct drm_file *file_priv, file_priv 769 drivers/gpu/drm/vc4/vc4_gem.c spin_lock(&file_priv->table_lock); file_priv 771 drivers/gpu/drm/vc4/vc4_gem.c struct drm_gem_object *bo = idr_find(&file_priv->object_idr, file_priv 783 drivers/gpu/drm/vc4/vc4_gem.c spin_unlock(&file_priv->table_lock); file_priv 1081 drivers/gpu/drm/vc4/vc4_gem.c struct drm_file *file_priv) file_priv 1091 drivers/gpu/drm/vc4/vc4_gem.c struct drm_file *file_priv) file_priv 1101 drivers/gpu/drm/vc4/vc4_gem.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 1129 drivers/gpu/drm/vc4/vc4_gem.c struct drm_file *file_priv) file_priv 1132 drivers/gpu/drm/vc4/vc4_gem.c struct vc4_file *vc4file = file_priv->driver_priv; file_priv 1173 drivers/gpu/drm/vc4/vc4_gem.c ret = vc4_cl_lookup_bos(dev, file_priv, exec); file_priv 1187 drivers/gpu/drm/vc4/vc4_gem.c ret = drm_syncobj_find_fence(file_priv, args->in_sync, file_priv 1227 drivers/gpu/drm/vc4/vc4_gem.c out_sync = drm_syncobj_find(file_priv, args->out_sync); file_priv 1314 drivers/gpu/drm/vc4/vc4_gem.c struct drm_file *file_priv) file_priv 1332 drivers/gpu/drm/vc4/vc4_gem.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); file_priv 303 drivers/gpu/drm/vc4/vc4_kms.c struct drm_file *file_priv, file_priv 315 drivers/gpu/drm/vc4/vc4_kms.c gem_obj = drm_gem_object_lookup(file_priv, file_priv 338 drivers/gpu/drm/vc4/vc4_kms.c return drm_gem_fb_create(dev, file_priv, mode_cmd); file_priv 101 drivers/gpu/drm/vc4/vc4_perfmon.c struct drm_file *file_priv) file_priv 104 drivers/gpu/drm/vc4/vc4_perfmon.c struct vc4_file *vc4file = file_priv->driver_priv; file_priv 153 drivers/gpu/drm/vc4/vc4_perfmon.c struct drm_file *file_priv) file_priv 156 drivers/gpu/drm/vc4/vc4_perfmon.c struct vc4_file *vc4file = file_priv->driver_priv; file_priv 177 drivers/gpu/drm/vc4/vc4_perfmon.c struct drm_file *file_priv) file_priv 180 drivers/gpu/drm/vc4/vc4_perfmon.c struct vc4_file *vc4file = file_priv->driver_priv; file_priv 236 drivers/gpu/drm/via/via_dma.c static int via_dma_init(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 327 drivers/gpu/drm/via/via_dma.c static int via_flush_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 330 drivers/gpu/drm/via/via_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 335 drivers/gpu/drm/via/via_dma.c static int via_cmdbuffer(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 340 drivers/gpu/drm/via/via_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 371 drivers/gpu/drm/via/via_dma.c static int via_pci_cmdbuffer(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 376 drivers/gpu/drm/via/via_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 680 drivers/gpu/drm/via/via_dma.c static int via_cmdbuf_size(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 688 drivers/gpu/drm/via/via_dma.c LOCK_TEST_WITH_RETURN(dev, file_priv); file_priv 772 drivers/gpu/drm/via/via_dmablit.c via_dma_blit_sync(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 796 drivers/gpu/drm/via/via_dmablit.c via_dma_blit(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 38 drivers/gpu/drm/via/via_drv.c struct via_file_private *file_priv; file_priv 41 drivers/gpu/drm/via/via_drv.c file_priv = kmalloc(sizeof(*file_priv), GFP_KERNEL); file_priv 42 drivers/gpu/drm/via/via_drv.c if (!file_priv) file_priv 45 drivers/gpu/drm/via/via_drv.c file->driver_priv = file_priv; file_priv 47 drivers/gpu/drm/via/via_drv.c INIT_LIST_HEAD(&file_priv->obj_list); file_priv 54 drivers/gpu/drm/via/via_drv.c struct via_file_private *file_priv = file->driver_priv; file_priv 56 drivers/gpu/drm/via/via_drv.c kfree(file_priv); file_priv 189 drivers/gpu/drm/via/via_drv.h extern int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 190 drivers/gpu/drm/via/via_drv.h extern int via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 191 drivers/gpu/drm/via/via_drv.h extern int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 192 drivers/gpu/drm/via/via_drv.h extern int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 193 drivers/gpu/drm/via/via_drv.h extern int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 194 drivers/gpu/drm/via/via_drv.h extern int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 195 drivers/gpu/drm/via/via_drv.h extern int via_wait_irq(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 196 drivers/gpu/drm/via/via_drv.h extern int via_dma_blit_sync(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 197 drivers/gpu/drm/via/via_drv.h extern int via_dma_blit(struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 223 drivers/gpu/drm/via/via_drv.h struct drm_file *file_priv); file_priv 345 drivers/gpu/drm/via/via_irq.c int via_wait_irq(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 82 drivers/gpu/drm/via/via_map.c int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 45 drivers/gpu/drm/via/via_mm.c int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 61 drivers/gpu/drm/via/via_mm.c int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 122 drivers/gpu/drm/via/via_mm.c struct via_file_private *file_priv = file->driver_priv; file_priv 161 drivers/gpu/drm/via/via_mm.c list_add(&item->owner_list, &file_priv->obj_list); file_priv 185 drivers/gpu/drm/via/via_mm.c int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 213 drivers/gpu/drm/via/via_mm.c struct via_file_private *file_priv = file->driver_priv; file_priv 222 drivers/gpu/drm/via/via_mm.c if (list_empty(&file_priv->obj_list)) { file_priv 231 drivers/gpu/drm/via/via_mm.c list_for_each_entry_safe(entry, next, &file_priv->obj_list, file_priv 69 drivers/gpu/drm/via/via_video.c int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv 294 drivers/gpu/drm/virtio/virtgpu_display.c struct drm_file *file_priv, file_priv 306 drivers/gpu/drm/virtio/virtgpu_display.c obj = drm_gem_object_lookup(file_priv, mode_cmd->handles[0]); file_priv 247 drivers/gpu/drm/virtio/virtgpu_drv.h int virtio_gpu_mode_dumb_create(struct drm_file *file_priv, file_priv 250 drivers/gpu/drm/virtio/virtgpu_drv.h int virtio_gpu_mode_dumb_mmap(struct drm_file *file_priv, file_priv 84 drivers/gpu/drm/virtio/virtgpu_gem.c int virtio_gpu_mode_dumb_create(struct drm_file *file_priv, file_priv 105 drivers/gpu/drm/virtio/virtgpu_gem.c ret = virtio_gpu_gem_create(file_priv, dev, ¶ms, &gobj, file_priv 117 drivers/gpu/drm/virtio/virtgpu_gem.c int virtio_gpu_mode_dumb_mmap(struct drm_file *file_priv, file_priv 125 drivers/gpu/drm/virtio/virtgpu_gem.c gobj = drm_gem_object_lookup(file_priv, handle); file_priv 49 drivers/gpu/drm/virtio/virtgpu_ioctl.c struct drm_file *file_priv) file_priv 54 drivers/gpu/drm/virtio/virtgpu_ioctl.c return virtio_gpu_mode_dumb_mmap(file_priv, vgdev->ddev, file_priv 251 drivers/gpu/drm/virtio/virtgpu_ioctl.c struct drm_file *file_priv) file_priv 274 drivers/gpu/drm/virtio/virtgpu_ioctl.c struct drm_file *file_priv) file_priv 325 drivers/gpu/drm/virtio/virtgpu_ioctl.c ret = drm_gem_handle_create(file_priv, obj, &handle); file_priv 338 drivers/gpu/drm/virtio/virtgpu_ioctl.c struct drm_file *file_priv) file_priv 344 drivers/gpu/drm/virtio/virtgpu_ioctl.c gobj = drm_gem_object_lookup(file_priv, ri->bo_handle); file_priv 54 drivers/gpu/drm/virtio/virtgpu_ttm.c struct drm_file *file_priv; file_priv 58 drivers/gpu/drm/virtio/virtgpu_ttm.c file_priv = filp->private_data; file_priv 59 drivers/gpu/drm/virtio/virtgpu_ttm.c vgdev = file_priv->minor->dev->dev_private; file_priv 749 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c struct drm_file *file_priv) file_priv 755 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 817 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c struct drm_file *file_priv) file_priv 832 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c ret = vmw_user_bo_alloc(dev_priv, vmw_fpriv(file_priv)->tfile, file_priv 864 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c struct drm_file *file_priv) file_priv 869 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile, file_priv 1030 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c int vmw_dumb_create(struct drm_file *file_priv, file_priv 1045 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c ret = vmw_user_bo_alloc(dev_priv, vmw_fpriv(file_priv)->tfile, file_priv 1069 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c int vmw_dumb_map_offset(struct drm_file *file_priv, file_priv 1073 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 1097 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c int vmw_dumb_destroy(struct drm_file *file_priv, file_priv 1101 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile, file_priv 711 drivers/gpu/drm/vmwgfx/vmwgfx_context.c struct drm_file *file_priv) file_priv 714 drivers/gpu/drm/vmwgfx/vmwgfx_context.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 720 drivers/gpu/drm/vmwgfx/vmwgfx_context.c struct drm_file *file_priv, bool dx) file_priv 727 drivers/gpu/drm/vmwgfx/vmwgfx_context.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 796 drivers/gpu/drm/vmwgfx/vmwgfx_context.c struct drm_file *file_priv) file_priv 798 drivers/gpu/drm/vmwgfx/vmwgfx_context.c return vmw_context_define(dev, data, file_priv, false); file_priv 802 drivers/gpu/drm/vmwgfx/vmwgfx_context.c struct drm_file *file_priv) file_priv 809 drivers/gpu/drm/vmwgfx/vmwgfx_context.c return vmw_context_define(dev, rep, file_priv, false); file_priv 811 drivers/gpu/drm/vmwgfx/vmwgfx_context.c return vmw_context_define(dev, rep, file_priv, true); file_priv 1010 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c struct drm_file *file_priv) file_priv 1012 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); file_priv 1018 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c static int vmw_driver_open(struct drm_device *dev, struct drm_file *file_priv) file_priv 1032 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c file_priv->driver_priv = vmw_fp; file_priv 1046 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c struct drm_file *file_priv = filp->private_data; file_priv 1047 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c struct drm_device *dev = file_priv->minor->dev; file_priv 1063 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c if (!drm_is_current_master(file_priv) && file_priv 1099 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c struct drm_file *file_priv, file_priv 1113 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c struct drm_file *file_priv) file_priv 620 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h static inline struct vmw_fpriv *vmw_fpriv(struct drm_file *file_priv) file_priv 622 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h return (struct vmw_fpriv *)file_priv->driver_priv; file_priv 699 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 701 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 781 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 783 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 785 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 862 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 864 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 866 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 868 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 985 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 986 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h extern int vmw_execbuf_process(struct drm_file *file_priv, file_priv 1001 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h extern int vmw_execbuf_fence_commands(struct drm_file *file_priv, file_priv 1076 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1092 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv, file_priv 1099 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1105 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h int vmw_dumb_create(struct drm_file *file_priv, file_priv 1109 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h int vmw_dumb_map_offset(struct drm_file *file_priv, file_priv 1112 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h int vmw_dumb_destroy(struct drm_file *file_priv, file_priv 1126 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1147 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv, file_priv 1150 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv, file_priv 1179 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1181 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1183 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1209 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1211 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1213 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1215 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1217 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1237 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1240 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1249 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 1251 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_file *file_priv); file_priv 3362 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c int vmw_execbuf_fence_commands(struct drm_file *file_priv, file_priv 3372 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c BUG_ON(p_handle != NULL && file_priv == NULL); file_priv 3381 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c ret = vmw_user_fence_create(file_priv, dev_priv->fman, file_priv 3630 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c int vmw_execbuf_process(struct drm_file *file_priv, file_priv 3698 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c sw_context->fp = vmw_fpriv(file_priv); file_priv 3775 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c ret = vmw_execbuf_fence_commands(file_priv, dev_priv, &fence, file_priv 3815 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_execbuf_copy_fence_user(dev_priv, vmw_fpriv(file_priv), ret, file_priv 3999 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c struct drm_file *file_priv) file_priv 4047 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c ret = vmw_execbuf_process(file_priv, dev_priv, file_priv 600 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c int vmw_user_fence_create(struct drm_file *file_priv, file_priv 606 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 801 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c struct drm_file *file_priv) file_priv 808 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 856 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c struct drm_file *file_priv) file_priv 863 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 887 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c struct drm_file *file_priv) file_priv 892 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile, file_priv 1015 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c int vmw_event_fence_action_queue(struct drm_file *file_priv, file_priv 1050 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c static int vmw_event_fence_action_create(struct drm_file *file_priv, file_priv 1072 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c ret = drm_event_reserve_init(dev, file_priv, &event->base, &event->event.base); file_priv 1081 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c ret = vmw_event_fence_action_queue(file_priv, fence, file_priv 1087 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c ret = vmw_event_fence_action_queue(file_priv, fence, file_priv 1104 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c struct drm_file *file_priv) file_priv 1110 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); file_priv 1151 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c ret = vmw_execbuf_fence_commands(file_priv, dev_priv, file_priv 1163 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c ret = vmw_event_fence_action_create(file_priv, fence, file_priv 103 drivers/gpu/drm/vmwgfx/vmwgfx_fence.h extern int vmw_user_fence_create(struct drm_file *file_priv, file_priv 117 drivers/gpu/drm/vmwgfx/vmwgfx_fence.h struct drm_file *file_priv); file_priv 120 drivers/gpu/drm/vmwgfx/vmwgfx_fence.h struct drm_file *file_priv); file_priv 123 drivers/gpu/drm/vmwgfx/vmwgfx_fence.h struct drm_file *file_priv); file_priv 125 drivers/gpu/drm/vmwgfx/vmwgfx_fence.h struct drm_file *file_priv); file_priv 39 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct drm_file *file_priv) file_priv 44 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); file_priv 177 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct drm_file *file_priv) file_priv 188 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); file_priv 249 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct drm_file *file_priv) file_priv 251 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 292 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c fb = drm_framebuffer_lookup(dev, file_priv, arg->fb_id); file_priv 311 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c ret = vmw_kms_present(dev_priv, file_priv, file_priv 332 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct drm_file *file_priv) file_priv 375 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c fb = drm_framebuffer_lookup(dev, file_priv, arg->fb_id); file_priv 393 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c ret = vmw_kms_readback(dev_priv, file_priv, file_priv 420 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct drm_file *file_priv = filp->private_data; file_priv 422 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c vmw_priv(file_priv->minor->dev); file_priv 443 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct drm_file *file_priv = filp->private_data; file_priv 445 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c vmw_priv(file_priv->minor->dev); file_priv 856 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_file *file_priv, file_priv 864 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c return vmw_kms_sou_readback(dev_priv, file_priv, vfb, file_priv 868 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c return vmw_kms_stdu_dma(dev_priv, file_priv, vfb, file_priv 994 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_file *file_priv, file_priv 1044 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_file *file_priv, file_priv 1052 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c return vmw_framebuffer_bo_dirty(framebuffer, file_priv, flags, file_priv 1055 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c return drm_atomic_helper_dirtyfb(framebuffer, file_priv, flags, color, file_priv 1369 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_file *file_priv, file_priv 1373 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 1732 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_file *file_priv, file_priv 1747 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_file *file_priv, file_priv 1764 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c ret = vmw_kms_generic_present(dev_priv, file_priv, vfb, surface, file_priv 1840 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_file *file_priv) file_priv 1861 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c crtc = drm_crtc_find(dev, file_priv, arg->crtc_id); file_priv 2335 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_file *file_priv) file_priv 2555 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_file *file_priv, file_priv 2565 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (file_priv || user_fence_rep || vmw_validation_has_bos(ctx) || file_priv 2567 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c ret = vmw_execbuf_fence_commands(file_priv, dev_priv, &fence, file_priv 2568 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c file_priv ? &handle : NULL); file_priv 2570 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (file_priv) file_priv 2571 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_execbuf_copy_fence_user(dev_priv, vmw_fpriv(file_priv), file_priv 425 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct drm_file *file_priv, file_priv 431 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct drm_file *file_priv, file_priv 530 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct drm_file *file_priv, file_priv 552 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct drm_file *file_priv, file_priv 460 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c struct drm_file *file_priv) file_priv 462 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 107 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c struct drm_file *file_priv, file_priv 110 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 116 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c struct drm_file *file_priv, file_priv 120 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 133 drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h struct drm_file *file_priv, file_priv 758 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct drm_file *file_priv = event->base.file_priv; file_priv 760 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c ret = vmw_event_fence_action_queue(file_priv, file_priv 1350 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct drm_file *file_priv, file_priv 1382 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vmw_kms_helper_validation_finish(dev_priv, file_priv, &val_ctx, NULL, file_priv 704 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct drm_file *file_priv) file_priv 707 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 839 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c static int vmw_shader_define(struct drm_device *dev, struct drm_file *file_priv, file_priv 846 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 1044 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct drm_file *file_priv) file_priv 1049 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c return vmw_shader_define(dev, file_priv, arg->shader_type, file_priv 144 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c struct drm_file *file_priv, file_priv 151 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 672 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_file *file_priv, file_priv 730 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vmw_kms_helper_validation_finish(dev_priv, file_priv, &val_ctx, NULL, file_priv 1647 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_file *file_priv = event->base.file_priv; file_priv 1649 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ret = vmw_event_fence_action_queue(file_priv, file_priv 92 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv); file_priv 97 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv); file_priv 684 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv) file_priv 687 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 701 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv) file_priv 712 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 839 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c if (drm_is_primary_client(file_priv)) file_priv 840 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c user_srf->master = drm_master_get(file_priv->master); file_priv 902 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv, file_priv 907 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 919 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c if (unlikely(drm_is_render_client(file_priv))) file_priv 945 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c if (drm_is_primary_client(file_priv) && file_priv 946 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c user_srf->master != file_priv->master) file_priv 978 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv) file_priv 985 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 992 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c ret = vmw_surface_handle_reference(dev_priv, file_priv, req->sid, file_priv 1288 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv) file_priv 1302 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c return vmw_gb_surface_define_internal(dev, &req_ext, rep, file_priv); file_priv 1314 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv) file_priv 1323 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c ret = vmw_gb_surface_reference_internal(dev, req, &rep_ext, file_priv); file_priv 1508 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv) file_priv 1515 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c return vmw_gb_surface_define_internal(dev, req, rep, file_priv); file_priv 1527 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv) file_priv 1534 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c return vmw_gb_surface_reference_internal(dev, req, rep, file_priv); file_priv 1550 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv) file_priv 1557 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 1614 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c if (drm_is_primary_client(file_priv)) file_priv 1615 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c user_srf->master = drm_master_get(file_priv->master); file_priv 1699 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct drm_file *file_priv) file_priv 1702 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; file_priv 1709 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c ret = vmw_surface_handle_reference(dev_priv, file_priv, req->sid, file_priv 32 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c struct drm_file *file_priv = filp->private_data; file_priv 33 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c struct vmw_private *dev_priv = vmw_priv(file_priv->minor->dev); file_priv 115 drivers/gpu/drm/vmwgfx/vmwgfx_va.c struct drm_file *file_priv) file_priv 119 drivers/gpu/drm/vmwgfx/vmwgfx_va.c return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile, file_priv 134 drivers/gpu/drm/vmwgfx/vmwgfx_va.c struct drm_file *file_priv) file_priv 136 drivers/gpu/drm/vmwgfx/vmwgfx_va.c return vmw_simple_resource_create_ioctl(dev, data, file_priv, file_priv 30 drivers/xen/privcmd-buf.c struct privcmd_buf_private *file_priv; file_priv 39 drivers/xen/privcmd-buf.c struct privcmd_buf_private *file_priv; file_priv 41 drivers/xen/privcmd-buf.c file_priv = kzalloc(sizeof(*file_priv), GFP_KERNEL); file_priv 42 drivers/xen/privcmd-buf.c if (!file_priv) file_priv 45 drivers/xen/privcmd-buf.c mutex_init(&file_priv->lock); file_priv 46 drivers/xen/privcmd-buf.c INIT_LIST_HEAD(&file_priv->list); file_priv 48 drivers/xen/privcmd-buf.c file->private_data = file_priv; file_priv 67 drivers/xen/privcmd-buf.c struct privcmd_buf_private *file_priv = file->private_data; file_priv 70 drivers/xen/privcmd-buf.c mutex_lock(&file_priv->lock); file_priv 72 drivers/xen/privcmd-buf.c while (!list_empty(&file_priv->list)) { file_priv 73 drivers/xen/privcmd-buf.c vma_priv = list_first_entry(&file_priv->list, file_priv 79 drivers/xen/privcmd-buf.c mutex_unlock(&file_priv->lock); file_priv 81 drivers/xen/privcmd-buf.c kfree(file_priv); file_priv 93 drivers/xen/privcmd-buf.c mutex_lock(&vma_priv->file_priv->lock); file_priv 95 drivers/xen/privcmd-buf.c mutex_unlock(&vma_priv->file_priv->lock); file_priv 101 drivers/xen/privcmd-buf.c struct privcmd_buf_private *file_priv; file_priv 106 drivers/xen/privcmd-buf.c file_priv = vma_priv->file_priv; file_priv 108 drivers/xen/privcmd-buf.c mutex_lock(&file_priv->lock); file_priv 114 drivers/xen/privcmd-buf.c mutex_unlock(&file_priv->lock); file_priv 134 drivers/xen/privcmd-buf.c struct privcmd_buf_private *file_priv = file->private_data; file_priv 154 drivers/xen/privcmd-buf.c mutex_lock(&file_priv->lock); file_priv 156 drivers/xen/privcmd-buf.c vma_priv->file_priv = file_priv; file_priv 163 drivers/xen/privcmd-buf.c list_add(&vma_priv->list, &file_priv->list); file_priv 174 drivers/xen/privcmd-buf.c mutex_unlock(&file_priv->lock); file_priv 39 include/drm/drm_agpsupport.h struct drm_file *file_priv); file_priv 42 include/drm/drm_agpsupport.h struct drm_file *file_priv); file_priv 45 include/drm/drm_agpsupport.h struct drm_file *file_priv); file_priv 48 include/drm/drm_agpsupport.h struct drm_file *file_priv); file_priv 51 include/drm/drm_agpsupport.h struct drm_file *file_priv); file_priv 54 include/drm/drm_agpsupport.h struct drm_file *file_priv); file_priv 57 include/drm/drm_agpsupport.h struct drm_file *file_priv); file_priv 60 include/drm/drm_agpsupport.h struct drm_file *file_priv); file_priv 46 include/drm/drm_auth.h struct drm_file *file_priv; file_priv 1454 include/drm/drm_connector.h struct drm_file *file_priv, file_priv 1458 include/drm/drm_connector.h mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_CONNECTOR); file_priv 424 include/drm/drm_crtc.h int (*cursor_set)(struct drm_crtc *crtc, struct drm_file *file_priv, file_priv 446 include/drm/drm_crtc.h int (*cursor_set2)(struct drm_crtc *crtc, struct drm_file *file_priv, file_priv 1190 include/drm/drm_crtc.h struct drm_file *file_priv, file_priv 1194 include/drm/drm_crtc.h mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_CRTC); file_priv 71 include/drm/drm_damage_helper.h struct drm_file *file_priv, unsigned int flags, file_priv 479 include/drm/drm_drv.h int (*master_set)(struct drm_device *dev, struct drm_file *file_priv, file_priv 486 include/drm/drm_drv.h void (*master_drop)(struct drm_device *dev, struct drm_file *file_priv); file_priv 565 include/drm/drm_drv.h int (*prime_handle_to_fd)(struct drm_device *dev, struct drm_file *file_priv, file_priv 576 include/drm/drm_drv.h int (*prime_fd_to_handle)(struct drm_device *dev, struct drm_file *file_priv, file_priv 677 include/drm/drm_drv.h int (*dumb_create)(struct drm_file *file_priv, file_priv 695 include/drm/drm_drv.h int (*dumb_map_offset)(struct drm_file *file_priv, file_priv 714 include/drm/drm_drv.h int (*dumb_destroy)(struct drm_file *file_priv, file_priv 774 include/drm/drm_drv.h void (*preclose) (struct drm_device *, struct drm_file *file_priv); file_priv 775 include/drm/drm_drv.h int (*dma_ioctl) (struct drm_device *dev, void *data, struct drm_file *file_priv); file_priv 235 include/drm/drm_encoder.h struct drm_file *file_priv, file_priv 240 include/drm/drm_encoder.h mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_ENCODER); file_priv 132 include/drm/drm_file.h struct drm_file *file_priv; file_priv 353 include/drm/drm_file.h static inline bool drm_is_primary_client(const struct drm_file *file_priv) file_priv 355 include/drm/drm_file.h return file_priv->minor->type == DRM_MINOR_PRIMARY; file_priv 367 include/drm/drm_file.h static inline bool drm_is_render_client(const struct drm_file *file_priv) file_priv 369 include/drm/drm_file.h return file_priv->minor->type == DRM_MINOR_RENDER; file_priv 378 include/drm/drm_file.h struct drm_file *file_priv, file_priv 382 include/drm/drm_file.h struct drm_file *file_priv, file_priv 74 include/drm/drm_framebuffer.h struct drm_file *file_priv, file_priv 98 include/drm/drm_framebuffer.h struct drm_file *file_priv, unsigned flags, file_priv 222 include/drm/drm_framebuffer.h struct drm_file *file_priv, file_priv 376 include/drm/drm_gem.h int drm_gem_handle_create(struct drm_file *file_priv, file_priv 70 include/drm/drm_gem_cma_helper.h int drm_gem_cma_dumb_create_internal(struct drm_file *file_priv, file_priv 75 include/drm/drm_gem_cma_helper.h int drm_gem_cma_dumb_create(struct drm_file *file_priv, file_priv 153 include/drm/drm_gem_shmem_helper.h drm_gem_shmem_create_with_handle(struct drm_file *file_priv, file_priv 55 include/drm/drm_ioctl.h struct drm_file *file_priv); file_priv 169 include/drm/drm_ioctl.h int drm_ioctl_permit(u32 flags, struct drm_file *file_priv); file_priv 181 include/drm/drm_ioctl.h struct drm_file *file_priv); file_priv 183 include/drm/drm_ioctl.h struct drm_file *file_priv); file_priv 17 include/drm/drm_lease.h bool drm_lease_held(struct drm_file *file_priv, int id); file_priv 19 include/drm/drm_lease.h bool _drm_lease_held(struct drm_file *file_priv, int id); file_priv 23 include/drm/drm_lease.h uint32_t drm_lease_filter_crtcs(struct drm_file *file_priv, uint32_t crtcs); file_priv 26 include/drm/drm_lease.h void *data, struct drm_file *file_priv); file_priv 29 include/drm/drm_lease.h void *data, struct drm_file *file_priv); file_priv 32 include/drm/drm_lease.h void *data, struct drm_file *file_priv); file_priv 35 include/drm/drm_lease.h void *data, struct drm_file *file_priv); file_priv 64 include/drm/drm_legacy.h struct drm_file *file_priv; /**< Private of holding file descr */ file_priv 180 include/drm/drm_legacy.h _file_priv->master->lock.file_priv != _file_priv) { \ file_priv 183 include/drm/drm_legacy.h _file_priv->master->lock.file_priv, _file_priv); \ file_priv 78 include/drm/drm_mode_config.h struct drm_file *file_priv, file_priv 118 include/drm/drm_mode_object.h struct drm_file *file_priv, file_priv 768 include/drm/drm_plane.h struct drm_file *file_priv, file_priv 772 include/drm/drm_plane.h mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_PLANE); file_priv 72 include/drm/drm_prime.h struct drm_file *file_priv, int prime_fd, uint32_t *handle); file_priv 74 include/drm/drm_prime.h struct drm_file *file_priv, uint32_t handle, uint32_t flags, file_priv 295 include/drm/drm_property.h struct drm_file *file_priv, file_priv 299 include/drm/drm_property.h mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_PROPERTY); file_priv 651 security/apparmor/file.c struct tty_file_private *file_priv; file_priv 654 security/apparmor/file.c file_priv = list_first_entry(&tty->tty_files, file_priv 656 security/apparmor/file.c file = file_priv->file; file_priv 2463 security/selinux/hooks.c struct tty_file_private *file_priv; file_priv 2470 security/selinux/hooks.c file_priv = list_first_entry(&tty->tty_files, file_priv 2472 security/selinux/hooks.c file = file_priv->file;