Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/drm_client_modeset.c drm_client_modeset_probe() -> drm_client_pick_crtcs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| PARAM_VALUE | 0 | client->dev->mode_config.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev->mode_config.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev->mode_config.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->dev->mode_config.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev->mode_config.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | client->dev->mode_config.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | client->modeset_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->modeset_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->modeset_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->modeset_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | client->modeset_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | connectors | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_count | 1-s32max |
| PARAM_VALUE | 3 | best_crtcs | 4096-ptr_max |
| PARAM_VALUE | 4 | modes | 4096-ptr_max |
| PARAM_VALUE | 5 | n | 0 |
| BUF_SIZE | 0 | client | (-1),216 |
| BUF_SIZE | 0 | client | (-1),216 |
| BUF_SIZE | 1 | connectors | 0-34359738360 |
| BUF_SIZE | 1 | connectors | 0-34359738360 |
| BUF_SIZE | 3 | best_crtcs | 8-34359738360 |
| BUF_SIZE | 3 | best_crtcs | 8-34359738360 |
| BUF_SIZE | 4 | modes | 8-34359738360 |
| BUF_SIZE | 4 | modes | 8-34359738360 |
| CAPPED_DATA | 0 | &client->modeset_mutex | 1 |
| CAPPED_DATA | 2 | connector_count | 1 |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 3 | best_crtcs | r _kzalloc_noprof |
| DATA_SOURCE | 4 | modes | r _kzalloc_noprof |
| DATA_SOURCE | 6 | width | $1 [m] |
| DATA_SOURCE | 7 | height | $2 [m] |
| MEM_ZERO | 3 | best_crtcs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | connector_count | |
| UNITS | 2 | connector_count | unit_array_size |
| UNITS | 6 | width | unit_byte |
| UNITS | 7 | height | unit_byte |
| LOCK2 | &dev->mode_config.mutex | ||
| LOCK2 | 0 | &client->modeset_mutex | |
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &fb_helper->lock | ||
| TYPE_LOCK | (struct drm_client_dev)->modeset_mutex | ||
| TYPE_LOCK | (struct drm_mode_config)->mutex |
drivers/gpu/drm/drm_client_modeset.c drm_client_pick_crtcs() -> drm_client_pick_crtcs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| PARAM_VALUE | 0 | client->dev->mode_config.helper_private->atomic_commit_tail | 0,113,4096-ptr_max |
| PARAM_VALUE | 1 | connectors | 4096-ptr_max |
| PARAM_VALUE | 3 | best_crtcs | 4096-ptr_max |
| BUF_SIZE | 0 | client | (-1),216 |
| BUF_SIZE | 0 | client | (-1),216 |
| BUF_SIZE | 1 | connectors | (-1)-s32max |
| BUF_SIZE | 1 | connectors | (-1)-s32max |
| BUF_SIZE | 3 | best_crtcs | (-1)-s32max |
| BUF_SIZE | 3 | best_crtcs | (-1)-s32max |
| BUF_SIZE | 4 | modes | (-1)-s32max |
| BUF_SIZE | 4 | modes | (-1)-s32max |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 1 | connectors | $1 |
| DATA_SOURCE | 2 | connector_count | $2 |
| DATA_SOURCE | 3 | best_crtcs | $3 |
| DATA_SOURCE | 4 | modes | $4 |
| DATA_SOURCE | 6 | width | $6 |
| DATA_SOURCE | 7 | height | $7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | connector_count | |
| UNITS | 2 | connector_count | unit_array_size |
| UNITS | 6 | width | unit_byte |
| UNITS | 7 | height | unit_byte |
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | 0 | &client->modeset_mutex |
drivers/gpu/drm/drm_client_modeset.c drm_client_pick_crtcs() -> drm_client_pick_crtcs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| PARAM_VALUE | 0 | client->dev->mode_config.helper_private->atomic_commit_tail | 0,113,4096-ptr_max |
| PARAM_VALUE | 1 | connectors | 4096-ptr_max |
| PARAM_VALUE | 3 | best_crtcs | 4096-ptr_max |
| PARAM_VALUE | 4 | modes | 4096-ptr_max |
| BUF_SIZE | 0 | client | (-1),216 |
| BUF_SIZE | 0 | client | (-1),216 |
| BUF_SIZE | 1 | connectors | (-1)-s32max |
| BUF_SIZE | 1 | connectors | (-1)-s32max |
| BUF_SIZE | 3 | best_crtcs | 0-34359738360 |
| BUF_SIZE | 3 | best_crtcs | 0-34359738360 |
| BUF_SIZE | 4 | modes | (-1)-s32max |
| BUF_SIZE | 4 | modes | (-1)-s32max |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 1 | connectors | $1 |
| DATA_SOURCE | 2 | connector_count | $2 |
| DATA_SOURCE | 3 | best_crtcs | r _kzalloc_noprof |
| DATA_SOURCE | 4 | modes | $4 |
| DATA_SOURCE | 6 | width | $6 |
| DATA_SOURCE | 7 | height | $7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | connector_count | |
| UNITS | 2 | connector_count | unit_array_size |
| UNITS | 6 | width | unit_byte |
| UNITS | 7 | height | unit_byte |
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | 0 | &client->modeset_mutex |