Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/drm_file.c drm_event_reserve_init() -> drm_event_reserve_init_locked()

Type Parameter Key Value
PARAM_VALUE 0 dev->mode_config.funcs->atomic_state_alloc 0,4313866966076465152,8746944527109378048
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 1 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 file_priv->minor 4096-ptr_max
PARAM_VALUE 1 file_priv->minor->dev 4096-ptr_max
PARAM_VALUE 2 p 4096-ptr_max
PARAM_VALUE 3 e->length 8,24,32,40
PARAM_VALUE 3 e->type 2,2147483648,2147483650,2415919104
BUF_SIZE 0 dev (-1),3696
BUF_SIZE 0 dev (-1),3696
BUF_SIZE 1 file_priv s32min-(-2),1-s32max
BUF_SIZE 1 file_priv s32min-(-2),1-s32max
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 file_priv $1
DATA_SOURCE 2 p $2
DATA_SOURCE 3 e $3
HARD_MAX 3 e->length 40
HARD_MAX 3 e->type 2415919104
PREEMPT_ADD <- disables preempt
NO_OVERFLOW_SIMPLE 0 dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 0 dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 0 dev->mode_config.num_total_plane
UNITS 0 dev unit_byte
LOCK2 flags
LOCK2 0 &dev->event_lock
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &plane->mutex
TYPE_LOCK (struct drm_device)->event_lock

drivers/gpu/drm/drm_vblank.c drm_crtc_queue_sequence_ioctl() -> drm_event_reserve_init_locked()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->event_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.idr_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mode_config.idr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->num_crtcs 1-u32max
PARAM_VALUE 0 dev->unplugged 0
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 1 file_priv->master->refcount.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 file_priv->minor 4096-ptr_max
PARAM_VALUE 1 file_priv->minor->dev 4096-ptr_max
PARAM_VALUE 2 p 4096-ptr_max
PARAM_VALUE 3 e->length 32
PARAM_VALUE 3 e->type 3
BUF_SIZE 1 file_priv s32min-(-2),1-s32max
BUF_SIZE 1 file_priv s32min-(-2),1-s32max
CAPPED_DATA 0 dev->num_crtcs 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 file_priv $2
PREEMPT_ADD <- disables preempt
UNITS 0 dev unit_byte
LOCK2 irq
LOCK2 0 &dev->event_lock
TYPE_LOCK (struct drm_device)->event_lock

drivers/gpu/drm/drm_vblank.c drm_queue_vblank_event() -> drm_event_reserve_init_locked()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->event_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->num_crtcs 1-u32max
PARAM_VALUE 0 dev->unplugged 0
PARAM_VALUE 0 dev->vbl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->vblank_time_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 1 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 file_priv->minor 4096-ptr_max
PARAM_VALUE 1 file_priv->minor->dev 4096-ptr_max
PARAM_VALUE 2 p 4096-ptr_max
PARAM_VALUE 3 e->length 32
PARAM_VALUE 3 e->type 1
BUF_SIZE 1 file_priv s32min-(-2),1-s32max
BUF_SIZE 1 file_priv s32min-(-2),1-s32max
CAPPED_DATA 0 dev->num_crtcs 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 file_priv $4
PREEMPT_ADD <- disables preempt
UNITS 0 dev unit_byte
LOCK2 irq
LOCK2 0 &dev->event_lock
TYPE_LOCK (struct drm_device)->event_lock