Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/media/v4l2-core/v4l2-device.c __v4l2_device_register_subdev() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 entity->num_pads
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &list_lock
HALF_LOCKED2 global &saa7134_devlist_lock

drivers/media/v4l2-core/v4l2-device.c v4l2_device_unregister_subdev() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 entity->num_pads
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &list_lock
HALF_LOCKED2 global &saa7134_devlist_lock

sound/usb/media.c snd_media_mixer_delete() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

sound/usb/media.c snd_media_mixer_init() -> media_device_unregister_entity()

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_backlinks 0
PARAM_VALUE 0 entity->num_links 0
PARAM_VALUE 0 entity->num_pads 3
PARAM_VALUE 0 entity->pads 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

sound/usb/media.c snd_media_stream_delete() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock

sound/usb/media.c snd_media_stream_init() -> media_device_unregister_entity()

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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pcm->open_mutex

drivers/media/i2c/tvp5150.c tvp5150_registered() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &list_lock
HALF_LOCKED2 global &saa7134_devlist_lock

drivers/media/i2c/tvp5150.c tvp5150_remove() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_register_media_controller() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_register_media_controller() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_register_media_controller() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->graph_obj.mdev 0,4096-ptr_max
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.dep_map->name 0-255
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.osq.tail.counter 0-s32max
BUF_SIZE 0 entity 120
CAPPED_DATA 0 entity 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_unregister_media_controller() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->graph_obj.mdev 0,4096-ptr_max
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.dep_map->name 0-255
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 entity->graph_obj.mdev->graph_mutex.osq.tail.counter 0-s32max
CAPPED_DATA 0 entity 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_unregister_media_controller() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_unregister_media_controller() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/media/platform/verisilicon/hantro_drv.c hantro_attach_func() -> media_device_unregister_entity()

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_backlinks 0
PARAM_VALUE 0 entity->num_links 0
PARAM_VALUE 0 entity->num_pads 1
PARAM_VALUE 0 entity->obj_type 0
PARAM_VALUE 0 entity->pads 4096-ptr_max
MEM_ZERO 0 entity
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/platform/verisilicon/hantro_drv.c hantro_attach_func() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->function 16391-16392
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_backlinks 0
PARAM_VALUE 0 entity->num_links 0
PARAM_VALUE 0 entity->num_pads 2
PARAM_VALUE 0 entity->obj_type 0
MEM_ZERO 0 entity
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/platform/verisilicon/hantro_drv.c hantro_attach_func() -> media_device_unregister_entity()

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_backlinks 0
PARAM_VALUE 0 entity->num_links 0
PARAM_VALUE 0 entity->num_pads 1
PARAM_VALUE 0 entity->obj_type 0
PARAM_VALUE 0 entity->pads 4096-ptr_max
MEM_ZERO 0 entity
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/platform/verisilicon/hantro_drv.c hantro_detach_func() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/platform/verisilicon/hantro_drv.c hantro_detach_func() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/platform/verisilicon/hantro_drv.c hantro_detach_func() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/pci/saa7134/saa7134-core.c saa7134_media_release() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/v4l2-core/v4l2-dev.c v4l2_device_release() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->function 1-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/v4l2-core/v4l2-dev.c video_register_media_controller() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->function 0,4098-4099,65537
PARAM_VALUE 0 entity->obj_type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &videodev_lock

drivers/media/v4l2-core/v4l2-dev.c video_register_media_controller() -> media_device_unregister_entity()

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->num_backlinks 0
PARAM_VALUE 0 entity->num_links 0
PARAM_VALUE 0 entity->obj_type 1
PARAM_VALUE 0 entity->pads 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &videodev_lock

drivers/media/dvb-core/dvbdev.c dvb_media_device_free() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 entity->num_pads
HALF_LOCKED2 global &dvbdev_register_lock
HALF_LOCKED2 global &frontend_mutex

drivers/media/dvb-core/dvbdev.c dvb_media_device_free() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &dvbdev_register_lock
HALF_LOCKED2 global &frontend_mutex

drivers/media/dvb-core/dvbdev.c dvb_media_device_free() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &dvbdev_register_lock
HALF_LOCKED2 global &frontend_mutex

drivers/media/usb/au0828/au0828-video.c au0828_usb_v4l2_media_release() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock

drivers/media/tuners/si2157.c si2157_remove() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/media/usb/em28xx/em28xx-video.c em28xx_v4l2_media_release() -> media_device_unregister_entity()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
LOCK2 global &em28xx_devlist_mutex
TYPE_LOCK (struct em28xx)->lock

drivers/media/usb/em28xx/em28xx-video.c em28xx_v4l2_media_release() -> media_device_unregister_entity()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
LOCK2 global &em28xx_devlist_mutex
TYPE_LOCK (struct em28xx)->lock

drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c mxc_isi_m2m_register() -> media_device_unregister_entity()

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_backlinks 0
PARAM_VALUE 0 entity->num_pads 1
PARAM_VALUE 0 entity->obj_type 1
PARAM_VALUE 0 entity->pads 4096-ptr_max
TERMINATED 0 entity->name 1
MEM_ZERO 0 entity
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL