Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/drm_prime.c drm_gem_prime_import_dev() -> drm_gem_is_prime_exported_dma_buf()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 dma_buf 0-ptr_max
BUF_SIZE 1 dma_buf s32min-(-2),1-s32max
BUF_SIZE 1 dma_buf s32min-(-2),1-s32max
CAPPED_DATA 1 dma_buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 dma_buf $1
UNITS 0 dev unit_byte
LOCK2 &file_priv->prime.lock
LOCK2 0 &dev->object_name_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() -> drm_gem_is_prime_exported_dma_buf()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 dma_buf 0-ptr_max
BUF_SIZE 1 dma_buf s32min-(-2),1-s32max
BUF_SIZE 1 dma_buf s32min-(-2),1-s32max
CAPPED_DATA 1 dma_buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 dma_buf $1
LOCK2 &file_priv->prime.lock
LOCK2 0 &dev->object_name_lock
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock