Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-subdev.c rzv2h_ivc_deinit_subdevice() -> media_entity_remove_links()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &_dev->mutex
TYPE_LOCK (struct device)->mutex

drivers/media/platform/amlogic/c3/isp/c3-isp-dev.c c3_isp_remove_links() -> media_entity_remove_links()

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

drivers/media/platform/amlogic/c3/isp/c3-isp-dev.c c3_isp_remove_links() -> media_entity_remove_links()

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

drivers/media/platform/amlogic/c3/isp/c3-isp-dev.c c3_isp_remove_links() -> media_entity_remove_links()

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_entity_remove_links()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->links.prev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->links.prev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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
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_entity_remove_links()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

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

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_entity_remove_links()

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_entity_remove_links()

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
MEM_ZERO 0 entity
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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_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_entity_remove_links()

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_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_entity_remove_links()

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_entity_remove_links()

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_entity_remove_links()

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

drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c csi_async_notifier_complete() -> media_entity_remove_links()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &list_lock
HALF_LOCKED2 &device->clients_lock

drivers/media/test-drivers/vimc/vimc-core.c vimc_rm_links() -> media_entity_remove_links()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/platform/arm/mali-c55/mali-c55-core.c mali_c55_remove_links() -> media_entity_remove_links()

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

drivers/media/platform/arm/mali-c55/mali-c55-core.c mali_c55_remove_links() -> media_entity_remove_links()

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

drivers/media/platform/arm/mali-c55/mali-c55-core.c mali_c55_remove_links() -> media_entity_remove_links()

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

drivers/media/platform/arm/mali-c55/mali-c55-core.c mali_c55_remove_links() -> media_entity_remove_links()

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