Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/drm_encoder.c drm_mode_getencoder() -> drm_lease_held()

Type Parameter Key Value
PARAM_VALUE 0 file_priv 4096-ptr_max
PARAM_VALUE 0 file_priv->master->refcount.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->minor 4096-ptr_max
PARAM_VALUE 0 file_priv->minor->dev 4096-ptr_max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
DATA_SOURCE 0 file_priv $2
UNITS 1 id unit_array_size
LOCK2 &dev->mode_config.connection_mutex.mutex
TYPE_LOCK (struct drm_modeset_lock)->mutex

drivers/gpu/drm/drm_mode_config.c drm_mode_getresources() -> drm_lease_held()

Type Parameter Key Value
PARAM_VALUE 0 file_priv 4096-ptr_max
PARAM_VALUE 0 file_priv->fbs_lock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 file_priv->fbs_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 file_priv->fbs_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->minor 4096-ptr_max
PARAM_VALUE 0 file_priv->minor->dev 4096-ptr_max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
CAPPED_DATA 0 &file_priv->fbs 1
CAPPED_DATA 0 &file_priv->fbs_lock 1
DATA_SOURCE 0 file_priv $2
UNITS 1 id unit_array_size

drivers/gpu/drm/drm_mode_config.c drm_mode_getresources() -> drm_lease_held()

Type Parameter Key Value
PARAM_VALUE 0 file_priv 4096-ptr_max
PARAM_VALUE 0 file_priv->fbs_lock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 file_priv->fbs_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 file_priv->fbs_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 file_priv->fbs_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->minor 4096-ptr_max
PARAM_VALUE 0 file_priv->minor->dev 4096-ptr_max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
CAPPED_DATA 0 &file_priv->fbs 1
CAPPED_DATA 0 &file_priv->fbs_lock 1
DATA_SOURCE 0 file_priv $2
UNITS 1 id unit_array_size

drivers/gpu/drm/drm_vblank.c drm_wait_vblank_ioctl() -> drm_lease_held()

Type Parameter Key Value
PARAM_VALUE 0 file_priv 4096-ptr_max
PARAM_VALUE 0 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->minor 4096-ptr_max
PARAM_VALUE 0 file_priv->minor->dev 4096-ptr_max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
DATA_SOURCE 0 file_priv $2
UNITS 1 id unit_array_size

drivers/gpu/drm/drm_plane.c drm_mode_cursor_common() -> drm_lease_held()

Type Parameter Key Value
PARAM_VALUE 0 file_priv 4096-ptr_max
PARAM_VALUE 0 file_priv->master->refcount.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->minor 4096-ptr_max
PARAM_VALUE 0 file_priv->minor->dev 4096-ptr_max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
DATA_SOURCE 0 file_priv $2
UNITS 1 id unit_array_size
LOCK2 &crtc->cursor->mutex
LOCK2 &crtc->mutex
TYPE_LOCK (struct drm_crtc)->mutex
TYPE_LOCK (struct drm_plane)->mutex

drivers/gpu/drm/drm_plane.c drm_mode_getplane() -> drm_lease_held()

Type Parameter Key Value
PARAM_VALUE 0 file_priv 4096-ptr_max
PARAM_VALUE 0 file_priv->master->refcount.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->minor 4096-ptr_max
PARAM_VALUE 0 file_priv->minor->dev 4096-ptr_max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
DATA_SOURCE 0 file_priv $2
UNITS 1 id unit_array_size
LOCK2 &plane->mutex.mutex
TYPE_LOCK (struct drm_modeset_lock)->mutex

drivers/gpu/drm/drm_plane.c drm_mode_getplane() -> drm_lease_held()

Type Parameter Key Value
PARAM_VALUE 0 file_priv 4096-ptr_max
PARAM_VALUE 0 file_priv->master->refcount.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->minor 4096-ptr_max
PARAM_VALUE 0 file_priv->minor->dev 4096-ptr_max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
DATA_SOURCE 0 file_priv $2
UNITS 1 id unit_array_size
LOCK2 &plane->mutex.mutex
TYPE_LOCK (struct drm_modeset_lock)->mutex

drivers/gpu/drm/drm_plane.c drm_mode_getplane_res() -> drm_lease_held()

Type Parameter Key Value
PARAM_VALUE 0 file_priv 4096-ptr_max
PARAM_VALUE 0 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->minor 4096-ptr_max
PARAM_VALUE 0 file_priv->minor->dev 4096-ptr_max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
DATA_SOURCE 0 file_priv $2
UNITS 1 id unit_array_size

drivers/gpu/drm/drm_plane.c drm_mode_page_flip_ioctl() -> drm_lease_held()

Type Parameter Key Value
PARAM_VALUE 0 file_priv 4096-ptr_max
PARAM_VALUE 0 file_priv->master->refcount.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->minor 4096-ptr_max
PARAM_VALUE 0 file_priv->minor->dev 4096-ptr_max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
DATA_SOURCE 0 file_priv $2
UNITS 1 id unit_array_size

drivers/gpu/drm/drm_crtc.c drm_mode_setcrtc() -> drm_lease_held()

Type Parameter Key Value
PARAM_VALUE 0 file_priv 4096-ptr_max
PARAM_VALUE 0 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 file_priv->minor 4096-ptr_max
PARAM_VALUE 0 file_priv->minor->dev 4096-ptr_max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
BUF_SIZE 0 file_priv s32min-(-2),1-s32max
DATA_SOURCE 0 file_priv $2
UNITS 1 id unit_array_size