Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/media/dvb-core/dvbdev.c
- drivers/media/mc/mc-entity.c, line 1592
- drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c
- drivers/media/platform/verisilicon/hantro_drv.c
- drivers/media/v4l2-core/v4l2-dev.c, line 893
- drivers/media/v4l2-core/v4l2-device.c, line 239
- drivers/media/v4l2-core/v4l2-mem2mem.c
- sound/usb/media.c
Smatch caller information:
drivers/media/v4l2-core/v4l2-device.c __v4l2_device_register_subdev_nodes() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->info.dev.major | 81 |
| PARAM_VALUE | 0 | entity->info.dev.minor | 0-192,224-255 |
| PARAM_VALUE | 2 | flags | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &imxmd->mutex | ||
| HALF_LOCKED2 | global &list_lock |
sound/usb/media.c snd_media_mixer_init() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->function | 12291 |
| PARAM_VALUE | 0 | entity->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 0 | entity->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->internal_idx | 0-s32max |
| PARAM_VALUE | 0 | entity->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->num_pads | 3 |
| PARAM_VALUE | 0 | entity->pads | 4096-ptr_max |
| PARAM_VALUE | 1 | intf | 1-u64max |
| PARAM_VALUE | 2 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
sound/usb/media.c snd_media_stream_init() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->function | 12289-12290 |
| PARAM_VALUE | 0 | entity->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 0 | entity->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->internal_idx | 0-s32max |
| PARAM_VALUE | 0 | entity->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->num_pads | 1 |
| PARAM_VALUE | 0 | entity->pads | 4096-ptr_max |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->flags | 0 |
| PARAM_VALUE | 1 | intf->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 1 | intf->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 768-769 |
| PARAM_VALUE | 2 | flags | 1 |
| 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_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->entities.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->interfaces.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->links.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->pads.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->flags | 0 |
| PARAM_VALUE | 1 | intf->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 1 | intf->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 512 |
| PARAM_VALUE | 2 | flags | 3 |
| BUF_SIZE | 0 | entity | 120 |
| CAPPED_DATA | 0 | entity | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_register_media_controller() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->flags | 0 |
| PARAM_VALUE | 1 | intf->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 1 | intf->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->links.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 512 |
| PARAM_VALUE | 2 | flags | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_drv.c hantro_attach_func() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->function | 65537 |
| PARAM_VALUE | 0 | entity->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 0 | entity->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->info.dev.major | 81 |
| PARAM_VALUE | 0 | entity->info.dev.minor | 0-192,224-288,u32max |
| PARAM_VALUE | 0 | entity->internal_idx | 0-s32max |
| PARAM_VALUE | 0 | entity->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->name | 1-u64max |
| PARAM_VALUE | 0 | entity->num_pads | 1 |
| PARAM_VALUE | 0 | entity->obj_type | 0 |
| PARAM_VALUE | 0 | entity->pads | 4096-ptr_max |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->flags | 0 |
| PARAM_VALUE | 1 | intf->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 1 | intf->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 512 |
| PARAM_VALUE | 2 | flags | 3 |
| MEM_ZERO | 0 | entity | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_drv.c hantro_attach_func() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->function | 65537 |
| PARAM_VALUE | 0 | entity->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 0 | entity->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->info.dev.major | 81 |
| PARAM_VALUE | 0 | entity->info.dev.minor | 0-192,224-288,u32max |
| PARAM_VALUE | 0 | entity->internal_idx | 0-s32max |
| PARAM_VALUE | 0 | entity->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->name | 1-u64max |
| PARAM_VALUE | 0 | entity->num_pads | 1 |
| PARAM_VALUE | 0 | entity->obj_type | 0 |
| PARAM_VALUE | 0 | entity->pads | 4096-ptr_max |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->flags | 0 |
| PARAM_VALUE | 1 | intf->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 1 | intf->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->links.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 512 |
| PARAM_VALUE | 2 | flags | 3 |
| MEM_ZERO | 0 | entity | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/v4l2-core/v4l2-dev.c video_register_media_controller() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->function | 4098-4099,65537 |
| PARAM_VALUE | 0 | entity->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 0 | entity->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->info.dev.major | 81 |
| PARAM_VALUE | 0 | entity->info.dev.minor | 0-192,224-255 |
| PARAM_VALUE | 0 | entity->internal_idx | 0-s32max |
| PARAM_VALUE | 0 | entity->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->obj_type | 1 |
| PARAM_VALUE | 0 | entity->pads | 4096-ptr_max |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->flags | 0 |
| PARAM_VALUE | 1 | intf->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 1 | intf->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 512-513,516-517 |
| PARAM_VALUE | 2 | flags | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &videodev_lock |
drivers/media/dvb-core/dvbdev.c dvb_create_io_intf_links() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->function | 4097 |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 257-258 |
| PARAM_VALUE | 2 | flags | 3 |
| CAPPED_DATA | 0 | &entity->graph_obj.list | 1 |
| DATA_SOURCE | 1 | intf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | global &g_smscore_deviceslock |
drivers/media/dvb-core/dvbdev.c dvb_create_media_graph() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->function | 3 |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 259 |
| PARAM_VALUE | 2 | flags | 3 |
| CAPPED_DATA | 1 | &intf->graph_obj.list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | global &g_smscore_deviceslock |
drivers/media/dvb-core/dvbdev.c dvb_create_media_graph() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->function | 131077 |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 256 |
| PARAM_VALUE | 2 | flags | 3 |
| CAPPED_DATA | 1 | &intf->graph_obj.list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | global &g_smscore_deviceslock |
drivers/media/dvb-core/dvbdev.c dvb_register_media_device() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 1-u64max |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->flags | 0 |
| PARAM_VALUE | 1 | intf->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 1 | intf->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 256-260 |
| PARAM_VALUE | 2 | flags | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | entity->num_pads | |
| 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_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->function | 65537 |
| PARAM_VALUE | 0 | entity->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 0 | entity->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->info.dev.major | 81 |
| PARAM_VALUE | 0 | entity->info.dev.minor | 0-192,224-255 |
| PARAM_VALUE | 0 | entity->internal_idx | 0-s32max |
| PARAM_VALUE | 0 | entity->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->name | 6200113580879323136 |
| PARAM_VALUE | 0 | entity->num_pads | 1 |
| PARAM_VALUE | 0 | entity->obj_type | 1 |
| PARAM_VALUE | 0 | entity->pads | 4096-ptr_max |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->flags | 0 |
| PARAM_VALUE | 1 | intf->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 1 | intf->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 512 |
| PARAM_VALUE | 2 | flags | 3 |
| TERMINATED | 0 | entity->name | 1 |
| MEM_ZERO | 0 | entity | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c mxc_isi_m2m_register() -> media_create_intf_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->flags | 0 |
| PARAM_VALUE | 1 | intf->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 1 | intf->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->links.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->type | 512 |
| PARAM_VALUE | 2 | flags | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |