Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/msm/msm_gem_prime.c msm_gem_prime_import_sg_table() -> msm_gem_import()

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->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->list.prev->prev 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 2 sgt 4096-ptr_max
PARAM_VALUE 2 sgt->nents 1-s32max
BUF_SIZE 1 attach 64
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attach $1
DATA_SOURCE 2 sgt $2
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