Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/accel/amdxdna/amdxdna_gem.c, line 231
- drivers/gpu/drm/drm_client.c
- drivers/gpu/drm/drm_gem.c, line 1476
- drivers/gpu/drm/drm_gem_framebuffer_helper.c
- drivers/gpu/drm/lima/lima_sched.c, line 386
- drivers/gpu/drm/panfrost/panfrost_dump.c, line 231
- drivers/gpu/drm/panfrost/panfrost_perfcnt.c
- drivers/gpu/drm/panthor/panthor_gem.h, line 316
- drivers/gpu/drm/panthor/panthor_sched.c, line 858
Smatch caller information:
drivers/gpu/drm/drm_client.c drm_client_buffer_delete() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &dlog->lock | ||
| HALF_LOCKED2 | &fb_helper->lock | ||
| HALF_LOCKED2 | &helper->lock |
drivers/gpu/drm/drm_client.c drm_client_buffer_vunmap() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &fb_helper->lock |
drivers/gpu/drm/panthor/panthor_gem.c panthor_kernel_bo_vunmap() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | map | 1141427979483000832 |
| PARAM_VALUE | 1 | map->is_iomem | 0 |
| PARAM_VALUE | 1 | map->vaddr | 1-u64max |
| PARAM_VALUE | 1 | map->vaddr_iomem | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | obj->size | 0,4096-9223372036854775807[c] |
| USER_DATA | 0 | obj->vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | obj->vma_node.vm_node.start | 0-s32max[c] |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vm->heaps.lock |
drivers/accel/amdxdna/amdxdna_gem.c amdxdna_gem_vunmap() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | map | 4581870785223307264 |
| PARAM_VALUE | 1 | map->is_iomem | 0 |
| PARAM_VALUE | 1 | map->vaddr | 1-u64max |
| PARAM_VALUE | 1 | map->vaddr_iomem | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/panfrost/panfrost_perfcnt.c panfrost_perfcnt_disable_locked() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | map | 7915913129849966592 |
| PARAM_VALUE | 1 | map->is_iomem | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &perfcnt->lock | ||
| TYPE_LOCK | (struct panfrost_perfcnt)->lock |
drivers/gpu/drm/panfrost/panfrost_perfcnt.c panfrost_perfcnt_enable_locked() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv | 4096-ptr_max |
| PARAM_VALUE | 1 | map | 4518353985580326912 |
| NOCHECK_CALL | |||
| LOCK2 | &perfcnt->lock | ||
| TYPE_LOCK | (struct panfrost_perfcnt)->lock |
drivers/gpu/drm/panthor/panthor_sched.c panthor_queue_put_syncwait_obj() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | map | 4324372571091070976 |
| PARAM_VALUE | 1 | map->is_iomem | 0 |
| PARAM_VALUE | 1 | map->vaddr | 1-u64max |
| PARAM_VALUE | 1 | map->vaddr_iomem | 1-u64max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sched->lock |
drivers/gpu/drm/panthor/panthor_fw.c panthor_kernel_bo_vunmap() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj->funcs->vmap | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | obj->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | map | 2443713621710417920 |
| PARAM_VALUE | 1 | map->is_iomem | 0 |
| PARAM_VALUE | 1 | map->vaddr | 1-u64max |
| PARAM_VALUE | 1 | map->vaddr_iomem | 1-u64max |
| CAPPED_DATA | 0 | obj->resv->fences | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_vmap() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 1-u64max |
| PARAM_VALUE | 0 | obj->funcs->vmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs->vunmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->fences | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | obj->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| DATA_SOURCE | 0 | obj | r drm_gem_fb_get_obj |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_vunmap() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 1-u64max |
| PARAM_VALUE | 0 | obj->funcs->vunmap | 0,4096-ptr_max |
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| DATA_SOURCE | 0 | obj | r drm_gem_fb_get_obj |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/lima/lima_sched.c lima_sched_build_error_task_list() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv | 4096-ptr_max |
| PARAM_VALUE | 1 | map | 4580203887341060096 |
| NOCHECK_CALL | |||
| LOCK2 | &dev->error_task_list_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct lima_device)->error_task_list_lock |
drivers/gpu/drm/panfrost/panfrost_dump.c panfrost_core_dump() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv | 4096-ptr_max |
| PARAM_VALUE | 1 | map | 8100343087400882176 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/panthor/panthor_heap.c panthor_kernel_bo_vunmap() -> drm_gem_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | obj->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->filp | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->funcs | 8658083686396645376 |
| PARAM_VALUE | 0 | obj->funcs->vmap | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->gpuva.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->lru_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | obj->size | 0,4096-u64max |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.hole_size | 0-1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.hole_stack.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.hole_stack.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.mm | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.rb_hole_size.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.rb_hole_size.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.rb_hole_size.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.subtree_max_hole | 1 |
| PARAM_VALUE | 1 | map | 1433547296711065600 |
| PARAM_VALUE | 1 | map->is_iomem | 0 |
| PARAM_VALUE | 1 | map->vaddr | 1-u64max |
| PARAM_VALUE | 1 | map->vaddr_iomem | 1-u64max |
| NOCHECK_CALL | |||
| USER_DATA | 0 | obj->size | 0,4096-u64max[c] |
| USER_DATA | 0 | obj->vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | obj->vma_node.vm_node.start | 0-s32max[c] |
| HALF_LOCKED2 | &pool->lock |