Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/omapdrm/omap_fbdev.c omap_fbdev_driver_fbdev_probe() -> omap_gem_new()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_private 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->primary 4096-ptr_max
PARAM_VALUE 2 flags 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 &dev->clientlist_mutex
LOCK2 &helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock

drivers/gpu/drm/omapdrm/omap_gem.c omap_gem_new_dmabuf() -> omap_gem_new()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev 1-u64max
PARAM_VALUE 0 dev->driver 4096-ptr_max
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 2 flags 134217730
DATA_SOURCE 0 dev $0
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/omapdrm/omap_gem.c omap_gem_new_handle() -> omap_gem_new()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 flags 0-16777215
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 gsize $2
DATA_SOURCE 2 flags $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 flags 0-16777215[c]
UNITS 0 dev unit_byte