Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/clients/drm_log.c, line 381
- drivers/gpu/drm/drm_auth.c, line 450
- drivers/gpu/drm/drm_client_modeset.c
- drivers/gpu/drm/drm_fb_helper.c
Smatch caller information:
drivers/gpu/drm/clients/drm_log.c drm_log_write_thread() -> drm_master_internal_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->master | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | 0 | &dev->master_mutex | |
| HALF_LOCKED2 | &up->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| TYPE_LOCK | (struct drm_device)->master_mutex |
drivers/gpu/drm/drm_client_modeset.c drm_client_modeset_commit() -> drm_master_internal_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->master | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | 0 | &dev->master_mutex | |
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &fb_helper->lock | ||
| TYPE_LOCK | (struct drm_device)->master_mutex |
drivers/gpu/drm/drm_client_modeset.c drm_client_modeset_dpms() -> drm_master_internal_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->master | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mode_config.funcs->atomic_commit | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &fb_helper->lock | ||
| LOCK2 | 0 | &dev->master_mutex | |
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | global &console_sem | ||
| TYPE_LOCK | (struct drm_device)->master_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/drm_client_modeset.c drm_client_modeset_wait_for_vblank() -> drm_master_internal_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->master | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.osq.tail.counter | 0-s32max |
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | 0 | &dev->master_mutex | |
| HALF_LOCKED2 | &helper->lock | ||
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct drm_device)->master_mutex |
drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_hotplug_event() -> drm_master_internal_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->master | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &fb_helper->lock | ||
| LOCK2 | 0 | &dev->master_mutex | |
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_device)->master_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_pan_display() -> drm_master_internal_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->master | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mode_config.funcs->atomic_commit | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &fb_helper->lock | ||
| LOCK2 | 0 | &dev->master_mutex | |
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &console_sem | ||
| TYPE_LOCK | (struct drm_device)->master_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_setcmap() -> drm_master_internal_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->master | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->master_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->master_mutex.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &fb_helper->lock | ||
| LOCK2 | 0 | &dev->master_mutex | |
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | global &console_sem | ||
| TYPE_LOCK | (struct drm_device)->master_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |