Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_guc_ads.c xe_bo_sg_is_contiguous() -> drm_prime_get_contiguous_size()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/accel/amdxdna/amdxdna_iommu.c amdxdna_dma_map_bo() -> drm_prime_get_contiguous_size()

Type Parameter Key Value
PARAM_VALUE 0 sgt 4096-ptr_max
BUF_SIZE 0 sgt (-1),16
BUF_SIZE 0 sgt (-1),16
CAPPED_DATA 0 sgt 1
DATA_SOURCE 0 sgt r drm_gem_shmem_get_pages_sgt
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &filp->driver_priv->mutex
HALF_LOCKED2 &filp->prime.lock
HALF_LOCKED2 &gobj->dev->object_name_lock

drivers/gpu/drm/drm_gem_dma_helper.c drm_gem_dma_prime_import_sg_table() -> drm_prime_get_contiguous_size()

Type Parameter Key Value
PARAM_VALUE 0 sgt 4096-ptr_max
PARAM_VALUE 0 sgt->nents 0-s32max
DATA_SOURCE 0 sgt $2
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/exynos/exynos_drm_gem.c exynos_drm_gem_prime_import_sg_table() -> drm_prime_get_contiguous_size()

Type Parameter Key Value
PARAM_VALUE 0 sgt 4096-ptr_max
PARAM_VALUE 0 sgt->nents 1-s32max
DATA_SOURCE 0 sgt $2
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/omapdrm/omap_gem.c omap_gem_sgt_is_contiguous() -> drm_prime_get_contiguous_size()

Type Parameter Key Value
DATA_SOURCE 0 sgt $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock

drivers/gpu/drm/rockchip/rockchip_drm_gem.c rockchip_gem_dma_map_sg() -> drm_prime_get_contiguous_size()

Type Parameter Key Value
PARAM_VALUE 0 sgt 4096-ptr_max
PARAM_VALUE 0 sgt->nents 0-s32max
PARAM_VALUE 0 sgt->sgl 0
DATA_SOURCE 0 sgt $2
NO_OVERFLOW_SIMPLE 0 sgt->nents
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/accel/amdxdna/amdxdna_cbuf.c amdxdna_cbuf_unmap() -> drm_prime_get_contiguous_size()

Type Parameter Key Value
PARAM_VALUE 0 sgt 4096-ptr_max
PARAM_VALUE 0 sgt->sgl 4096-ptr_max
DATA_SOURCE 0 sgt $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sgt->nents 2-s32max[c]
NO_OVERFLOW_SIMPLE 0 sgt->nents
NO_OVERFLOW_SIMPLE 0 sgt->orig_nents
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 attach->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv