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 212
- drivers/gpu/drm/drm_client.c, line 356
- drivers/gpu/drm/drm_gem.c, line 1468
- drivers/gpu/drm/drm_gem_framebuffer_helper.c, line 369
- drivers/gpu/drm/lima/lima_sched.c, line 378
- drivers/gpu/drm/panfrost/panfrost_dump.c, line 212
- drivers/gpu/drm/panfrost/panfrost_perfcnt.c, line 109
- drivers/gpu/drm/panthor/panthor_gem.h, line 302
- drivers/gpu/drm/panthor/panthor_sched.c, line 886
Smatch caller information:
drivers/gpu/drm/drm_client.c drm_client_buffer_vmap() -> drm_gem_vmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &fb_helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/accel/amdxdna/amdxdna_gem.c amdxdna_gem_vmap() -> drm_gem_vmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | map | 9111273149096144896 |
| PARAM_VALUE | 1 | map->is_iomem | 0 |
| PARAM_VALUE | 1 | map->vaddr | 0 |
| PARAM_VALUE | 1 | map->vaddr_iomem | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/panfrost/panfrost_perfcnt.c panfrost_perfcnt_enable_locked() -> drm_gem_vmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | map | 4518353985580326912 |
| LOCK2 | &perfcnt->lock | ||
| TYPE_LOCK | (struct panfrost_perfcnt)->lock |
drivers/gpu/drm/panthor/panthor_sched.c panthor_kernel_bo_vmap() -> drm_gem_vmap()
| 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->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 | 6722908009998295040 |
| 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] |
drivers/gpu/drm/panthor/panthor_sched.c panthor_queue_get_syncwait_obj() -> drm_gem_vmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 1-ptr_max |
| PARAM_VALUE | 1 | map | 3103693291811135488 |
| BUF_SIZE | 0 | obj | 704 |
| LOCK2 | &sched->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct panthor_scheduler)->lock |
drivers/gpu/drm/panthor/panthor_fw.c panthor_kernel_bo_vmap() -> drm_gem_vmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | map | 5490393791681011712 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_vmap() -> drm_gem_vmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 1-u64max |
| PARAM_VALUE | 0 | obj->funcs->vmap | 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 |
drivers/gpu/drm/lima/lima_sched.c lima_sched_build_error_task_list() -> drm_gem_vmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | map | 4580203887341060096 |
| 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_vmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | map | 8100343087400882176 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/panthor/panthor_heap.c panthor_kernel_bo_vmap() -> drm_gem_vmap()
| 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->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 | 4134554709545209856 |
| 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 | &vm->heaps.lock |