Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
- drivers/gpu/drm/drm_dumb_buffers.c, line 293
- drivers/gpu/drm/drm_framebuffer.c, line 676
- drivers/gpu/drm/drm_gem.c
- drivers/gpu/drm/drm_prime.c, line 349
- drivers/gpu/drm/exynos/exynos_drm_fbdev.c
- drivers/gpu/drm/gma500/fbdev.c
- drivers/gpu/drm/msm/msm_fbdev.c
- drivers/gpu/drm/nouveau/nouveau_gem.c, line 372
- drivers/gpu/drm/tegra/fbdev.c
- drivers/gpu/drm/vc4/vc4_gem.c, line 143
- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c, line 626
Smatch caller information:
drivers/gpu/drm/drm_dumb_buffers.c drm_mode_destroy_dumb() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | filp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | filp | $2 |
| DATA_SOURCE | 1 | handle | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | handle | 0-u32max[u] |
| HALF_LOCKED2 | &client->modeset_mutex |
drivers/gpu/drm/tegra/fbdev.c tegra_fbdev_driver_fbdev_probe() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->object_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/tegra/fbdev.c tegra_fbdev_driver_fbdev_probe() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->object_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_gem_ioctl_new() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->driver_priv->uvmm.ptr | 0 |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| DATA_SOURCE | 0 | filp | $2 |
| NOCHECK_CALL |
drivers/gpu/drm/drm_framebuffer.c drm_mode_getfb2_ioctl() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1-u32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $2 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | handle | 1-u32max |
drivers/gpu/drm/drm_gem.c drm_gem_close_ioctl() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |
drivers/gpu/drm/drm_prime.c drm_gem_prime_fd_to_handle() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->driver_priv->context_created | 1 |
| PARAM_VALUE | 0 | filp->driver_priv->context_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->driver_priv->context_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | filp->driver_priv->context_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | filp->driver_priv->context_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->driver_priv->context_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | filp->driver_priv->context_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | filp->driver_priv->context_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->context_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->ctx.id | 0-4294967295 |
| PARAM_VALUE | 0 | filp->driver_priv->ctx.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->driver_priv->ctx.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | filp->driver_priv->ctx.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | filp->driver_priv->ctx.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->driver_priv->ctx.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | filp->driver_priv->ctx.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | filp->driver_priv->ctx.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->ctx.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->ctx.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->evf_mgr.ev_fence->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->mmu->refcount.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->vm->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->driver_priv->vm->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | filp->driver_priv->vm->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | filp->driver_priv->vm->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->driver_priv->vm->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | filp->driver_priv->vm->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | filp->driver_priv->vm->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->vm->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->vm->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->vm.process_info->eviction_fence->base.ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | filp->driver_priv->vm.process_info->eviction_fence->base.ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 0 | filp->driver_priv->vm.process_info->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->driver_priv->vm.process_info->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | filp->driver_priv->vm.process_info->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | filp->driver_priv->vm.process_info->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | filp->driver_priv->vm.process_info->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->vm.process_info->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->vm.root.bo->tbo.base.refcount.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->vm.root.bo->tbo.base.resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | filp->driver_priv->vm.root.bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->driver_priv->vm.root.bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | filp->driver_priv->vm.root.bo->tbo.base.resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | filp->driver_priv->vm.stats_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->prime.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->prime.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | filp->prime.lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| BUF_SIZE | 0 | filp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| CAPPED_DATA | 0 | &filp->prime.lock | 1 |
| DATA_SOURCE | 0 | filp | $1 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | handle | 0-s32max[c][u] |
| LOCK2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct drm_device)->object_name_lock |
drivers/gpu/drm/gma500/fbdev.c psb_fbdev_driver_fbdev_probe() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &fb_helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/gma500/fbdev.c psb_fbdev_driver_fbdev_probe() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &fb_helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/msm/msm_fbdev.c msm_fbdev_driver_fbdev_probe() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/msm/msm_fbdev.c msm_fbdev_driver_fbdev_probe() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/exynos/exynos_drm_fbdev.c exynos_drm_fbdev_driver_fbdev_probe() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->object_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/exynos/exynos_drm_fbdev.c exynos_drm_fbdev_driver_fbdev_probe() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->object_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | handle | 0-s32max |
| CAPPED_DATA | 0 | filp->object_idr.idr_base | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_free_memory_of_gpu() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &p->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_import_dmabuf_fd() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->prime.dmabufs.rb_node | 1-u64max |
| PARAM_VALUE | 0 | filp->prime.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->prime.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | filp->prime.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | filp->table_lock.rlock.dep_map->name | 0-255 |
| NOCHECK_CALL | |||
| UNITS | 0 | filp | unit_byte |
| LOCK2 | &p->mutex | ||
| HALF_LOCKED2 | &adev->ddev.object_name_lock | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/vc4/vc4_gem.c vc4_get_hang_state_ioctl() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $2 |
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c vmw_bo_unref_ioctl() -> drm_gem_handle_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->minor->dev | 4096-ptr_max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | filp | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | filp | $2 |
| USER_DATA | 1 | handle | 0-u32max[u] |