Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/media/dvb-core/dvbdev.c, line 423
- drivers/media/mc/mc-entity.c, line 1562
- drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c, line 807
- drivers/media/platform/verisilicon/hantro_drv.c, line 826
- drivers/media/v4l2-core/v4l2-dev.c, line 881
- drivers/media/v4l2-core/v4l2-mem2mem.c, line 1136
- sound/usb/media.c
Smatch caller information:
sound/usb/media.c snd_media_mixer_init() -> media_devnode_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 1-u64max |
| PARAM_VALUE | 0 | mdev->dev | 1-u64max |
| PARAM_VALUE | 1 | type | 770 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | major | 0-4095 |
| PARAM_VALUE | 4 | minor | 0-1048575 |
| BUF_SIZE | 0 | mdev | (-1),992 |
| BUF_SIZE | 0 | mdev | (-1),992 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
sound/usb/media.c snd_media_stream_init() -> media_devnode_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pm_count_walk.ent_enum.idx_max | 1-s32max |
| PARAM_VALUE | 1 | type | 768-769 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | major | 0-4095 |
| PARAM_VALUE | 4 | minor | 0-1048575 |
| FUZZY_MAX | 1 | type | 769 |
| BIT_INFO | 1 | type | 0x300,0x301 |
| HARD_MAX | 1 | type | 769 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pcm->open_mutex |
drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_register_media_controller() -> media_devnode_create()
| 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->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 | type | 512 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | major | 81 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_drv.c hantro_attach_func() -> media_devnode_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_internal_idx.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | mdev->entity_internal_idx_max | 0-s32max |
| PARAM_VALUE | 0 | mdev->entity_notify.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_notify.prev | 4096-ptr_max |
| 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->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mdev->graph_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev->interfaces.next | 4096-ptr_max |
| 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.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->links.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->num_request_objects.counter | 0 |
| PARAM_VALUE | 0 | mdev->num_requests.counter | 0 |
| PARAM_VALUE | 0 | mdev->ops | 9043044279455358976 |
| PARAM_VALUE | 0 | mdev->pads.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pads.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pm_count_walk.ent_enum.bmap | 16,4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pm_count_walk.top | 0 |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | mdev->request_id.counter | 0 |
| PARAM_VALUE | 1 | type | 512 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | major | 81 |
| PARAM_VALUE | 4 | minor | 0-192,224-255 |
| BUF_SIZE | 0 | mdev | 992 |
| MEM_ZERO | 0 | mdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/v4l2-core/v4l2-dev.c video_register_media_controller() -> media_devnode_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 1-u64max |
| PARAM_VALUE | 1 | type | 512-517 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | major | 81 |
| PARAM_VALUE | 4 | minor | 0-192,224-255 |
| CAPPED_DATA | 4 | minor | 1 |
| FUZZY_MAX | 1 | type | 517 |
| BIT_INFO | 1 | type | 0x200,0x207 |
| HARD_MAX | 1 | type | 517 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &videodev_lock |
drivers/media/dvb-core/dvbdev.c dvb_register_media_device() -> media_devnode_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 1-u64max |
| PARAM_VALUE | 1 | type | 256-260 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | major | 212 |
| PARAM_VALUE | 4 | minor | 0-255 |
| DATA_SOURCE | 4 | minor | $2 |
| FUZZY_MAX | 1 | type | 260 |
| BIT_INFO | 1 | type | 0x100,0x107 |
| HARD_MAX | 1 | type | 260 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dvbdev_register_lock | ||
| HALF_LOCKED2 | global &frontend_mutex |
drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c mxc_isi_m2m_register() -> media_devnode_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_internal_idx.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | mdev->entity_internal_idx_max | 0-s32max |
| PARAM_VALUE | 0 | mdev->entity_notify.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_notify.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| 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.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->interfaces.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->num_requests.counter | 0 |
| PARAM_VALUE | 0 | mdev->pads.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pm_count_walk.ent_enum.bmap | 16,4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pm_count_walk.top | 0 |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->request_id.counter | 0 |
| PARAM_VALUE | 1 | type | 512 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | major | 81 |
| PARAM_VALUE | 4 | minor | 0-192,224-255 |
| BUF_SIZE | 0 | mdev | 992 |
| RX_PATH | |||
| TASK_NOT_RUNNING |