Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/drm_prime.c drm_gem_prime_import_dev() -> (struct drm_driver)->gem_prime_import_sg_table()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->gem_prime_import_sg_table 1-u64max
PARAM_VALUE 0 dev->object_name_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->object_name_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->object_name_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->object_name_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->object_name_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->object_name_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->object_name_lock.wait_lock.owner (-1)
PARAM_VALUE 0 dev->object_name_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 attach 4096-ptr_max
PARAM_VALUE 1 attach->dmabuf->ops->pin 0,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
PARAM_VALUE 1 attach->dmabuf->resv->lock.base.first_waiter->task->blocked_on 0
PARAM_VALUE 1 attach->dmabuf->resv->lock.ctx 0
PARAM_VALUE 2 table 4096-ptr_max
PARAM_VALUE 2 table->nents 0
PARAM_VALUE 2 table->orig_nents 0
BUF_SIZE 1 attach 64
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attach r dma_buf_attach
DATA_SOURCE 2 table r dma_buf_map_attachment_unlocked
CONTAINER 0 -96-120+0 $(-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