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_fd_to_handle() -> (struct drm_driver)->gem_prime_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 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->task->blocked_on 0
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 buf 0-ptr_max
BUF_SIZE 1 buf s32min-(-2),1-s32max
BUF_SIZE 1 buf s32min-(-2),1-s32max
CAPPED_DATA 0 &dev->object_name_lock 1
CAPPED_DATA 1 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 buf r dma_buf_get
CONTAINER 0 -88-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