Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 24 files:
- drivers/accel/amdxdna/amdxdna_gem.c
- drivers/accel/ivpu/ivpu_gem.c, line 246
- drivers/accel/qaic/qaic_data.c, line 878
- drivers/dma-buf/dma-buf.c, line 1094
- drivers/gpu/drm/armada/armada_gem.c, line 524
- drivers/gpu/drm/drm_gem_shmem_helper.c, line 989
- drivers/gpu/drm/drm_prime.c
- drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c, line 338
- drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c, line 311
- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c, line 142
- drivers/gpu/drm/tegra/gem.c
- drivers/gpu/drm/virtio/virtgpu_prime.c, line 215
- drivers/iio/industrialio-buffer.c
- drivers/infiniband/core/umem_dmabuf.c, line 359
- drivers/iommu/iommufd/pages.c
- drivers/media/common/videobuf2/videobuf2-dma-contig.c, line 766
- drivers/media/common/videobuf2/videobuf2-dma-sg.c, line 614
- drivers/media/platform/nvidia/tegra-vde/dmabuf-cache.c
- drivers/misc/fastrpc.c
- drivers/usb/gadget/function/f_fs.c
- drivers/xen/gntdev-dmabuf.c
- include/trace/events/dma_buf.h, line 132
- io_uring/zcrx.c, line 121
- net/core/devmem.c
Smatch caller information:
drivers/media/platform/nvidia/tegra-vde/dmabuf-cache.c tegra_vde_dmabuf_cache_map() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 1-u64max |
| PARAM_VALUE | 0 | dmabuf->attachments.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| BUF_SIZE | 1 | attach | 64 |
| DATA_SOURCE | 0 | dmabuf | $1 |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &vde->map_lock | ||
| TYPE_LOCK | (struct tegra_vde)->map_lock |
drivers/media/platform/nvidia/tegra-vde/dmabuf-cache.c tegra_vde_release_entry() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &vde->map_lock | ||
| TYPE_LOCK | (struct tegra_vde)->map_lock |
drivers/gpu/drm/tegra/gem.c tegra_bo_free_object() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/tegra/gem.c tegra_bo_import() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| CAPPED_DATA | 0 | dmabuf | 1 |
| DATA_SOURCE | 0 | dmabuf | $1 |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| LOCK2 | &drm->object_name_lock | ||
| LOCK2 | &file_priv->prime.lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct drm_device)->object_name_lock | ||
| TYPE_LOCK | (struct drm_prime_file_private)->lock |
drivers/gpu/drm/tegra/gem.c tegra_bo_pin() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 1-u64max |
| PARAM_VALUE | 0 | dmabuf->attachments.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->priv->comp.done | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->priv->comp.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->priv->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->priv->comp.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->priv->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| BUF_SIZE | 1 | attach | 64 |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cache->lock | ||
| HALF_LOCKED2 | &fpriv->lock |
drivers/gpu/drm/tegra/gem.c tegra_bo_unpin() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cache->lock |
drivers/iio/industrialio-buffer.c iio_buffer_attach_dmabuf() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->importer_priv | 4096-ptr_max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| BUF_SIZE | 1 | attach->importer_priv | 72,u64max |
| DATA_SOURCE | 0 | dmabuf | r dma_buf_get |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | attach->dmabuf->size |
drivers/iio/industrialio-buffer.c iio_buffer_dmabuf_release() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
net/core/devmem.c __net_devmem_dmabuf_binding_free() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 0,4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/core/devmem.c net_devmem_bind_dmabuf() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 1-ptr_max |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| DATA_SOURCE | 0 | dmabuf | r dma_buf_get |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->lock | ||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_nl_sock)->lock |
drivers/accel/amdxdna/amdxdna_gem.c amdxdna_gem_prime_import() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| CAPPED_DATA | 0 | dmabuf | 1 |
| DATA_SOURCE | 0 | dmabuf | $1 |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| USER_DATA | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 1 | attach->dmabuf->size | 1-u64max |
| NO_OVERFLOW_SIMPLE | 0 | dmabuf->size | |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/accel/amdxdna/amdxdna_gem.c amdxdna_imported_obj_free() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| NOCHECK_CALL |
drivers/misc/fastrpc.c fastrpc_free_map() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/misc/fastrpc.c fastrpc_map_attach() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 1-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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| DATA_SOURCE | 0 | dmabuf | r dma_buf_get |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | attach->dmabuf->size | 1-u64max |
drivers/gpu/drm/virtio/virtgpu_prime.c virtgpu_dma_buf_free_obj() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| CAPPED_DATA | 0 | dmabuf->resv->fences | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c i915_gem_prime_import() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| CAPPED_DATA | 0 | dmabuf | 1 |
| DATA_SOURCE | 0 | dmabuf | $1 |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dmabuf->size | |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c igt_dmabuf_import_same_driver() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 1 | attach | 64 |
| DATA_SOURCE | 0 | dmabuf | r i915_gem_prime_export |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dmabuf->size |
drivers/accel/ivpu/ivpu_gem.c ivpu_gem_prime_import() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf | 4096-ptr_max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| CAPPED_DATA | 0 | dmabuf | 1 |
| DATA_SOURCE | 0 | dmabuf | $1 |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| USER_DATA | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 1 | attach->dmabuf->size | 1-u64max |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/iommu/iommufd/pages.c iopt_map_dmabuf() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | dmabuf->size | 1-u64max |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->ops | 4096-ptr_max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| CAPPED_DATA | 0 | dmabuf->resv->fences | 1 |
| DATA_SOURCE | 0 | dmabuf | $2 |
| DATA_SOURCE | 1 | attach | r dma_buf_dynamic_attach |
| NOCHECK_CALL |
drivers/iommu/iommufd/pages.c iopt_release_pages() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| CAPPED_DATA | 0 | dmabuf->resv->fences | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
io_uring/zcrx.c io_release_dmabuf() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 1-u64max |
| BUF_SIZE | 0 | dmabuf | s32min-s32max |
| BUF_SIZE | 1 | attach | (-1)-0,64 |
| BUF_SIZE | 1 | attach | (-1)-0,64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | attach->dmabuf->size | 0-u64max |
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c omap_gem_prime_import() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | dmabuf->size | 1-u64max |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| CAPPED_DATA | 0 | dmabuf | 1 |
| CAPPED_DATA | 0 | dmabuf->size | 1 |
| DATA_SOURCE | 0 | dmabuf | $1 |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| LOCK2 | &dev->object_name_lock | ||
| LOCK2 | &file_priv->prime.lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct drm_device)->object_name_lock | ||
| TYPE_LOCK | (struct drm_prime_file_private)->lock |
drivers/media/common/videobuf2/videobuf2-dma-sg.c vb2_dma_sg_detach_dmabuf() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &q->mmap_lock | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/gpu/drm/drm_prime.c drm_gem_prime_import_dev() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | dmabuf->file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dmabuf->file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | dmabuf->file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dmabuf->file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | dmabuf->file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dmabuf->file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | dmabuf->file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| CAPPED_DATA | 0 | dmabuf | 1 |
| DATA_SOURCE | 0 | dmabuf | $1 |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| LOCK2 | &dev->object_name_lock | ||
| LOCK2 | &file_priv->prime.lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct drm_device)->object_name_lock | ||
| TYPE_LOCK | (struct drm_prime_file_private)->lock |
drivers/gpu/drm/drm_prime.c drm_prime_gem_destroy() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &omap_obj->lock |
drivers/media/common/videobuf2/videobuf2-dma-contig.c vb2_dc_detach_dmabuf() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &q->mmap_lock | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/infiniband/core/umem_dmabuf.c ib_umem_dmabuf_release() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | attach->importer_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->importer_priv->revoked | 1 |
| CAPPED_DATA | 1 | attach->dmabuf->resv->fences | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &context->db_page_mutex | ||
| HALF_LOCKED2 | &context->page_mutex | ||
| HALF_LOCKED2 | &cq->resize_mutex | ||
| HALF_LOCKED2 | &ctx->dbrecords_page_mutex |
drivers/usb/gadget/function/f_fs.c ffs_dmabuf_attach() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 1-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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| DATA_SOURCE | 0 | dmabuf | r dma_buf_get |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | attach->dmabuf->size |
drivers/usb/gadget/function/f_fs.c ffs_dmabuf_release() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &epfile->dmabufs_mutex |
drivers/accel/qaic/qaic_data.c qaic_gem_prime_import() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->size | 0 |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| CAPPED_DATA | 0 | dmabuf | 1 |
| DATA_SOURCE | 0 | dmabuf | $1 |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| LOCK2 | &dev->object_name_lock | ||
| LOCK2 | &file_priv->prime.lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct drm_device)->object_name_lock | ||
| TYPE_LOCK | (struct drm_prime_file_private)->lock |
drivers/gpu/drm/drm_gem_shmem_helper.c drm_gem_shmem_prime_import_no_map() -> dma_buf_detach()
| 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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf | 4096-ptr_max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| CAPPED_DATA | 0 | dmabuf | 1 |
| DATA_SOURCE | 0 | dmabuf | $1 |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL | |||
| LOCK2 | &dev->object_name_lock | ||
| LOCK2 | &file_priv->prime.lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct drm_device)->object_name_lock | ||
| TYPE_LOCK | (struct drm_prime_file_private)->lock |
drivers/xen/gntdev-dmabuf.c dmabuf_imp_release() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/xen/gntdev-dmabuf.c dmabuf_imp_to_refs() -> dma_buf_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 1-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.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ctx | 0 |
| PARAM_VALUE | 1 | attach | 4096-ptr_max |
| PARAM_VALUE | 1 | attach->dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | attach->dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dmabuf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attach | 64 |
| DATA_SOURCE | 0 | dmabuf | r dma_buf_get |
| DATA_SOURCE | 1 | attach | r dma_buf_attach |
| NOCHECK_CALL |