Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_overlay.c drm_crtc_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 1 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 type 3435973836
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte

drivers/gpu/drm/tests/drm_connector_test.c drm_connector_lookup() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 1 file_priv 0
PARAM_VALUE 3 type 3233857728
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 file_priv $1
DATA_SOURCE 2 id $2
UNITS 0 dev unit_byte
UNITS 2 id unit_array_size

drivers/gpu/drm/drm_atomic_uapi.c drm_colorop_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 1 file_priv->minor 4096-ptr_max
PARAM_VALUE 1 file_priv->minor->dev 4096-ptr_max
PARAM_VALUE 3 type 4210752250
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 id $2
NOSPEC 2 id
NOSPEC 2 id
USER_DATA 2 id 0-u32max
UNITS 0 dev unit_byte

drivers/gpu/drm/drm_atomic_uapi.c drm_crtc_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev->mode_config.prop_crtc_id 4096-ptr_max
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 1 file_priv->minor 4096-ptr_max
PARAM_VALUE 1 file_priv->minor->dev 4096-ptr_max
PARAM_VALUE 3 type 3435973836
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 id $2
NOSPEC 2 id
NOSPEC 2 id
USER_DATA 2 id 0-u32max
UNITS 0 dev unit_byte

drivers/gpu/drm/drm_atomic_uapi.c drm_mode_atomic_ioctl() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
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->atomic 1
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 3 type 0
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 $2
USER_DATA 2 id 0-u32max
UNITS 0 dev unit_byte

drivers/gpu/drm/tests/drm_framebuffer_test.c drm_test_framebuffer_free() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264
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 1 file_priv 0
PARAM_VALUE 2 id 0
PARAM_VALUE 3 type 4227595259
BUF_SIZE 0 dev 3696
UNITS 2 id unit_array_size

drivers/gpu/drm/drm_encoder.c drm_encoder_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
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 3 type 3772834016
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte
UNITS 2 id unit_array_size

drivers/gpu/drm/drm_mode_object.c drm_mode_obj_get_properties_ioctl() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.funcs->atomic_commit 0,1709437739929436160,3385958169767186432,9025212985888776192
PARAM_VALUE 0 dev->unplugged 0
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
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 $2
USER_DATA 2 id 0-u32max[u]
USER_DATA 3 type 0-u32max[u]
UNITS 0 dev unit_byte
HALF_LOCKED2 0 &dev->mode_config.connection_mutex
HALF_LOCKED2 0 &dev->mode_config.mutex

drivers/gpu/drm/drm_mode_object.c drm_mode_obj_set_property_ioctl() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
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
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 $2
USER_DATA 2 id 0-u32max[u]
USER_DATA 3 type 0-u32max[u]
UNITS 0 dev unit_byte

drivers/gpu/drm/i915/display/intel_sprite_uapi.c drm_plane_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 1 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 type 4008636142
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte

drivers/gpu/drm/drm_lease.c fill_object_idr() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 1 file_priv->master 0,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 3 type 0
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
USER_DATA 2 id 0-u32max
UNITS 0 dev unit_byte

drivers/gpu/drm/drm_vblank.c drm_crtc_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
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_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 3 type 3435973836
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte

drivers/gpu/drm/drm_property.c drm_property_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
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 3 type 2964369584
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte

drivers/gpu/drm/drm_plane.c drm_crtc_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
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 3 type 3435973836
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte

drivers/gpu/drm/drm_plane.c drm_plane_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
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 3 type 4008636142
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte
UNITS 2 id unit_array_size

drivers/gpu/drm/drm_connector.c drm_connector_lookup() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
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 3 type 3233857728
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte
UNITS 2 id unit_array_size

drivers/gpu/drm/drm_crtc.c drm_connector_lookup() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.funcs->atomic_commit 0,1709437739929436160,3385958169767186432,9025212985888776192
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 0-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->mode_config.num_connector s32min-(-1),1-s32max
PARAM_VALUE 0 dev->unplugged 0
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 1 file_priv->master 0,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 3 type 3233857728
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 id $2
USER_DATA 2 id 0-u32max
UNITS 0 dev unit_byte
HALF_LOCKED2 0 &dev->mode_config.connection_mutex
HALF_LOCKED2 0 &dev->mode_config.mutex

drivers/gpu/drm/drm_crtc.c drm_crtc_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
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 3 type 3435973836
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte

drivers/gpu/drm/radeon/r600_cs.c drm_crtc_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 3 type 3435973836
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 id $2
USER_DATA 2 id 0-s32max
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/r100.c drm_crtc_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 3 type 3435973836
BUF_SIZE 1 file_priv s32min-(-2),1-s32max
BUF_SIZE 1 file_priv s32min-(-2),1-s32max
CAPPED_DATA 1 file_priv 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 file_priv $1
DATA_SOURCE 2 id $2
USER_DATA 2 id 0-s32max
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/i915/display/intel_crtc.c drm_crtc_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
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 3 type 3435973836
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte

drivers/gpu/drm/drm_color_mgmt.c drm_crtc_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->unplugged 0
PARAM_VALUE 1 file_priv 4096-ptr_max
PARAM_VALUE 1 file_priv->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 type 3435973836
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte

drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c drm_crtc_find() -> drm_mode_object_find()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->mode_config.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mode_config.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mode_config.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dev->mode_config.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->unplugged 0
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 3 type 3435973836
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 id $2
USER_DATA 2 id 0-u32max[u]
UNITS 0 dev unit_byte
LOCK2 0 &dev->mode_config.mutex
TYPE_LOCK (struct drm_mode_config)->mutex