Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/accel/amdxdna/amdxdna_cbuf.c, line 230
- drivers/accel/amdxdna/amdxdna_gem.c, line 732
- drivers/dma-buf/dma-buf.c
- drivers/gpu/drm/drm_gem_shmem_helper.c, line 462
- drivers/gpu/drm/panthor/panthor_gem.c, line 735
- drivers/gpu/drm/vmwgfx/vmwgfx_blit.c, line 452
- drivers/gpu/drm/vmwgfx/vmwgfx_gem.c
Smatch caller information:
drivers/gpu/drm/panthor/panthor_gem.c panthor_gem_vunmap_locked() -> dma_buf_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| BUF_SIZE | 1 | map | (-1),16 |
| BUF_SIZE | 1 | map | (-1),16 |
| BUF_SIZE | 1 | map->vaddr | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | map | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | gem->resv | ||
| HALF_LOCKED2 | obj->resv |
drivers/accel/amdxdna/amdxdna_gem.c amdxdna_gem_obj_vunmap() -> dma_buf_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| BUF_SIZE | 1 | map | (-1),16 |
| BUF_SIZE | 1 | map | (-1),16 |
| BUF_SIZE | 1 | map->vaddr | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | map | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | gem->resv | ||
| HALF_LOCKED2 | obj->resv |
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c unmap_external() -> dma_buf_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf->priv->db_attach->dmabuf->vmapping_counter | 1-4294967295 |
| PARAM_VALUE | 0 | dmabuf->priv->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->priv->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->priv->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->priv->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->priv->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->priv->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->priv->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dmabuf->priv->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->priv->vmap_cnt | s32min-s32max |
| PARAM_VALUE | 0 | dmabuf->vmapping_counter | 1-u32max |
| PARAM_VALUE | 1 | map | 1793474305277300736,6370485984029310976 |
| DATA_SOURCE | 1 | map | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c vmw_gem_vmap() -> dma_buf_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->ops->vmap | 1-u64max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 0 | dmabuf->vmapping_counter | 1-u32max |
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | map->is_iomem | 1 |
| BUF_SIZE | 1 | map | (-1),16 |
| BUF_SIZE | 1 | map | (-1),16 |
| DATA_SOURCE | 1 | map | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | obj->resv |
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c vmw_gem_vunmap() -> dma_buf_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| BUF_SIZE | 1 | map | (-1),16 |
| BUF_SIZE | 1 | map | (-1),16 |
| BUF_SIZE | 1 | map->vaddr | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | map | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | gem->resv | ||
| HALF_LOCKED2 | obj->resv |
drivers/dma-buf/dma-buf.c dma_buf_vunmap_unlocked() -> dma_buf_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| BUF_SIZE | 0 | dmabuf | (-1),361,536 |
| BUF_SIZE | 0 | dmabuf | (-1),361,536 |
| DATA_SOURCE | 0 | dmabuf | $0 |
| DATA_SOURCE | 1 | map | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dmabuf->size | |
| LOCK2 | 0 | dmabuf->resv | |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/gpu/drm/drm_gem_shmem_helper.c drm_gem_shmem_vunmap_locked() -> dma_buf_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| BUF_SIZE | 1 | map->vaddr | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | map | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bo->base.base.resv |
drivers/accel/amdxdna/amdxdna_cbuf.c amdxdna_cbuf_clear() -> dma_buf_vunmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_in.active | 0 |
| PARAM_VALUE | 0 | dmabuf->cb_in.poll | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.active | 0 |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll->head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll->head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->exp_name | 1759724803726303232 |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->__f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->__f_path.mnt | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_cred | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_ep | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| PARAM_VALUE | 0 | dmabuf->file->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_iocb_flags | 0,2,16,18,131072,131074,131088,131090 |
| PARAM_VALUE | 0 | dmabuf->file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855 |
| PARAM_VALUE | 0 | dmabuf->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_owner | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_pos | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.async_size | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.mmap_miss | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.order | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.prev_pos | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.ra_pages | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.size | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.start | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ref.refcnt.counter | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_sb_err | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_security | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_wb_err | 0 |
| PARAM_VALUE | 0 | dmabuf->file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->list_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->list_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->ops | 4802694494349729792 |
| PARAM_VALUE | 0 | dmabuf->ops->attach | 0 |
| PARAM_VALUE | 0 | dmabuf->ops->map_dma_buf | 990116052042153984 |
| PARAM_VALUE | 0 | dmabuf->ops->release | 4355526570504142848 |
| PARAM_VALUE | 0 | dmabuf->ops->unmap_dma_buf | 3890914563332542464 |
| PARAM_VALUE | 0 | dmabuf->ops->vmap | 1-u64max |
| PARAM_VALUE | 0 | dmabuf->owner | 0 |
| PARAM_VALUE | 0 | dmabuf->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | dmabuf->poll.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv | 1-u64max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->size | 4096-u64max |
| PARAM_VALUE | 0 | dmabuf->vmapping_counter | 1-u32max |
| PARAM_VALUE | 1 | map | 1262467252500000768 |
| PARAM_VALUE | 1 | map->vaddr | 1-u64max |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf->exp_name | 8 |
| BUF_SIZE | 0 | dmabuf->ops | 96 |
| BUF_SIZE | 0 | dmabuf->priv | 184 |
| CAPPED_DATA | 0 | dmabuf->size | 1 |
| DATA_SOURCE | 0 | dmabuf | $0 |
| STR_LEN | 0 | dmabuf->exp_name | 7 |
| BIT_INFO | 0 | dmabuf->size | 0x0,0xfffffffffffff000 |
| NOSPEC | 0 | dmabuf->size | |
| TERMINATED | 0 | dmabuf->exp_name | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| USER_DATA | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 0 | dmabuf->size | 4096-u64max[c] |