Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_dma_buf_attach() -> dma_buf_attach_adev()

Type Parameter Key Value
PARAM_VALUE 0 attach 4096-ptr_max
PARAM_VALUE 0 attach->importer_ops 0,4096-ptr_max
PARAM_VALUE 0 attach->importer_priv 0-ptr_max
BUF_SIZE 0 attach 64
BUF_SIZE 0 attach->dev (-1),1616
BUF_SIZE 0 attach->dmabuf s32min-(-1),1-s32max
BUF_SIZE 0 attach->importer_ops (-1),16
BUF_SIZE 0 attach->importer_priv (-1),160,704
DATA_SOURCE 0 attach $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 attach->dmabuf->size 0-u64max
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_dma_buf_map() -> dma_buf_attach_adev()

Type Parameter Key Value
PARAM_VALUE 0 attach 4096-ptr_max
BUF_SIZE 0 attach (-1),64
BUF_SIZE 0 attach (-1),64
DATA_SOURCE 0 attach $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 attach->dmabuf->size 0-u64max
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv
HALF_LOCKED2 0 attach->dmabuf->resv