Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/vkms/tests/vkms_config_test.c
- drivers/gpu/drm/vkms/vkms_config.c
- drivers/gpu/drm/vkms/vkms_configfs.c, line 460
Smatch caller information:
drivers/gpu/drm/vkms/vkms_configfs.c encoder_release() -> vkms_config_destroy_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |
drivers/gpu/drm/vkms/vkms_config.c vkms_config_destroy() -> vkms_config_destroy_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | encoder_cfg | 4096-ptr_max |
| BUF_SIZE | 0 | config | (-1),80 |
| BUF_SIZE | 0 | config | (-1),80 |
| CAPPED_DATA | 0 | &config->crtcs | 1 |
| CAPPED_DATA | 0 | &config->encoders | 1 |
| CAPPED_DATA | 0 | &config->planes | 1 |
| CAPPED_DATA | 1 | &encoder_cfg->link | 1 |
| DATA_SOURCE | 0 | config | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vkms/tests/vkms_config_test.c vkms_config_test_get_encoders() -> vkms_config_destroy_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 4096-ptr_max |
| PARAM_VALUE | 0 | config->connectors.next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->connectors.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->connectors.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->connectors.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->connectors.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->crtcs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->crtcs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->crtcs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->crtcs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->crtcs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->dev_name | 4096-ptr_max |
| PARAM_VALUE | 0 | config->encoders.next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->encoders.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->encoders.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->encoders.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->encoders.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->planes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->planes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->planes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->planes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->planes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_flags | 33554436 |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_head | 0 |
| BUF_SIZE | 0 | config | 80 |
| BUF_SIZE | 1 | encoder_cfg | 120 |
| BUF_SIZE | 1 | encoder_cfg->config | 80 |
| CAPPED_DATA | 0 | &config->encoders | 1 |
| CAPPED_DATA | 1 | encoder_cfg | 1 |
| DATA_SOURCE | 0 | config | r vkms_config_create |
| DATA_SOURCE | 1 | encoder_cfg | r vkms_config_create_encoder |
| NOCHECK_CALL |
drivers/gpu/drm/vkms/tests/vkms_config_test.c vkms_config_test_invalid_encoder_number() -> vkms_config_destroy_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 4096-ptr_max |
| PARAM_VALUE | 0 | config->connectors.next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->connectors.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->connectors.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->connectors.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->connectors.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->crtcs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->crtcs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->crtcs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->crtcs.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->crtcs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->dev_name | 4096-ptr_max |
| PARAM_VALUE | 0 | config->encoders.next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->encoders.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->encoders.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->encoders.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->encoders.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->planes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->planes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->planes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->planes.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | config->planes.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | config | 80 |
| DATA_SOURCE | 0 | config | r vkms_config_default_create |
| DATA_SOURCE | 1 | encoder_cfg | r get_first_encoder |
| NOCHECK_CALL |