Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/loongson/lsdc_gem.c lsdc_dumb_create() -> lsdc_gem_object_create()

Type Parameter Key Value
PARAM_VALUE 0 ddev 4096-ptr_max
PARAM_VALUE 0 ddev->driver 4096-ptr_max
PARAM_VALUE 1 domain 4
PARAM_VALUE 2 size 1-u32max
PARAM_VALUE 3 kerenl 0
PARAM_VALUE 4 sg 0
PARAM_VALUE 5 resv 0
CAPPED_DATA 2 size 1
CAPPED_DATA 2 size 1
DATA_SOURCE 0 ddev $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 1-s32max[c]
UNITS 2 size unit_byte

drivers/gpu/drm/loongson/lsdc_gem.c lsdc_prime_import_sg_table() -> lsdc_gem_object_create()

Type Parameter Key Value
PARAM_VALUE 0 ddev 4096-ptr_max
PARAM_VALUE 0 ddev->driver 4096-ptr_max
PARAM_VALUE 0 ddev->object_name_lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->object_name_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ddev->object_name_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ddev->object_name_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ddev->object_name_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ddev->object_name_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->object_name_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ddev->object_name_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 domain 2
PARAM_VALUE 3 kerenl 0
PARAM_VALUE 4 sg 4096-ptr_max
PARAM_VALUE 4 sg->nents 1-s32max
PARAM_VALUE 5 resv->lock.base.dep_map->name 0-255
PARAM_VALUE 5 resv->lock.base.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 5 resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 5 resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 5 resv->lock.ctx 0
CAPPED_DATA 0 ddev 1
DATA_SOURCE 0 ddev $0
DATA_SOURCE 4 sg $2
UNITS 2 size unit_byte
LOCK2 &file_priv->prime.lock
LOCK2 0 &ddev->object_name_lock
LOCK2 5 resv
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock