Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_register_media_controller() -> v4l2_m2m_register_entity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 1-u64max |
| PARAM_VALUE | 1 | m2m_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev->curr_ctx | 0 |
| PARAM_VALUE | 1 | m2m_dev->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | m2m_dev->m2m_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev->m2m_ops->device_run | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev->source | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 0 |
| PARAM_VALUE | 3 | vdev | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 3 | vdev->fops | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev | 1-u64max |
| PARAM_VALUE | 3 | *vdev->name | 0-255 |
| PARAM_VALUE | 4 | function | 65537 |
| BUF_SIZE | 1 | m2m_dev | (-1),712 |
| BUF_SIZE | 1 | m2m_dev | (-1),712 |
| BUF_SIZE | 1 | m2m_dev->source | 120 |
| BUF_SIZE | 3 | vdev | (-1),2096 |
| BUF_SIZE | 3 | vdev | (-1),2096 |
| BUF_SIZE | 3 | vdev->lock | (-1),152 |
| BUF_SIZE | 3 | vdev->v4l2_dev | (-1),192 |
| CAPPED_DATA | 1 | m2m_dev | 1 |
| CAPPED_DATA | 3 | vdev->v4l2_dev | 1 |
| DATA_SOURCE | 1 | m2m_dev | $0 |
| DATA_SOURCE | 3 | vdev | $1 |
| STR_LEN | 3 | vdev->name | (-1),63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | vdev->cdev->count |
drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_register_media_controller() -> v4l2_m2m_register_entity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_internal_idx_max | 0-s32max |
| PARAM_VALUE | 0 | mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mdev->graph_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev->interfaces.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->interfaces.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->links.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pads.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev->curr_ctx | 0 |
| PARAM_VALUE | 1 | m2m_dev->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | m2m_dev->m2m_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev->m2m_ops->device_run | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev->source | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | vdev | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 3 | vdev->fops | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->entities.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->entity_internal_idx_max | 0-s32max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->graph_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->graph_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->graph_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->graph_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->interfaces.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->interfaces.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->links.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->pads.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | *vdev->name | 0-255 |
| PARAM_VALUE | 4 | function | 16386,16389,16391-16392 |
| BUF_SIZE | 1 | m2m_dev | (-1),712 |
| BUF_SIZE | 1 | m2m_dev | (-1),712 |
| BUF_SIZE | 1 | m2m_dev->source | 120 |
| BUF_SIZE | 3 | vdev | (-1),2096 |
| BUF_SIZE | 3 | vdev | (-1),2096 |
| BUF_SIZE | 3 | vdev->lock | (-1),152 |
| BUF_SIZE | 3 | vdev->v4l2_dev | (-1),192 |
| CAPPED_DATA | 1 | m2m_dev | 1 |
| CAPPED_DATA | 3 | vdev->v4l2_dev | 1 |
| DATA_SOURCE | 1 | m2m_dev | $0 |
| DATA_SOURCE | 3 | vdev | $1 |
| DATA_SOURCE | 4 | function | $2 |
| STR_LEN | 3 | vdev->name | (-1),63 |
| HARD_MAX | 4 | function | 16392 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | vdev->cdev->count |
drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_register_media_controller() -> v4l2_m2m_register_entity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_internal_idx_max | 0-s32max |
| PARAM_VALUE | 0 | mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mdev->graph_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev->interfaces.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->interfaces.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->links.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pads.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev->curr_ctx | 0 |
| PARAM_VALUE | 1 | m2m_dev->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | m2m_dev->m2m_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev->m2m_ops->device_run | 4096-ptr_max |
| PARAM_VALUE | 1 | m2m_dev->source | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | vdev | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 3 | vdev->fops | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->entities.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->entity_internal_idx_max | 0-s32max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->graph_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->graph_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->graph_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->graph_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->interfaces.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->interfaces.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->links.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | vdev->v4l2_dev->mdev->pads.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | *vdev->name | 0-255 |
| PARAM_VALUE | 4 | function | 65537 |
| BUF_SIZE | 1 | m2m_dev | (-1),712 |
| BUF_SIZE | 1 | m2m_dev | (-1),712 |
| BUF_SIZE | 1 | m2m_dev->source | 120 |
| BUF_SIZE | 3 | vdev | (-1),2096 |
| BUF_SIZE | 3 | vdev | (-1),2096 |
| BUF_SIZE | 3 | vdev->lock | (-1),152 |
| BUF_SIZE | 3 | vdev->v4l2_dev | (-1),192 |
| CAPPED_DATA | 1 | m2m_dev | 1 |
| CAPPED_DATA | 3 | vdev->v4l2_dev | 1 |
| DATA_SOURCE | 1 | m2m_dev | $0 |
| DATA_SOURCE | 3 | vdev | $1 |
| STR_LEN | 3 | vdev->name | (-1),63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | vdev->cdev->count |