Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c vchiq_ioc_await_completion() -> vchiq_release_message()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->completion_mutex.dep_map->name 0-255
PARAM_VALUE 0 instance->completion_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 instance->completion_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 instance->completion_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 instance->completion_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 instance->completion_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 instance->completion_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 instance->completions 4096-ptr_max
PARAM_VALUE 0 instance->connected s32min-(-1),1-s32max
PARAM_VALUE 0 instance->state 4096-ptr_max
PARAM_VALUE 0 instance->state->local 4096-ptr_max
PARAM_VALUE 2 header 4096-ptr_max
BUF_SIZE 0 instance s32min-(-2),1-s32max
BUF_SIZE 0 instance s32min-(-2),1-s32max
CAPPED_DATA 0 &instance->completion_mutex 1
DATA_SOURCE 0 instance $0
NOCHECK_CALL
LOCK2 0 &instance->completion_mutex
TYPE_LOCK (struct vchiq_instance)->completion_mutex

drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c vchiq_ioc_dequeue_message() -> vchiq_release_message()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->state 4096-ptr_max
PARAM_VALUE 0 instance->state->local 4096-ptr_max
PARAM_VALUE 2 header 4096-ptr_max
BUF_SIZE 0 instance s32min-(-2),1-s32max
BUF_SIZE 0 instance s32min-(-2),1-s32max
CAPPED_DATA 0 instance 1
CAPPED_DATA 2 header->size 1
DATA_SOURCE 0 instance $0
NOCHECK_CALL
UNITS 0 instance unit_array_size

drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c vchiq_release() -> vchiq_release_message()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->closing 1
PARAM_VALUE 0 instance->completion_mutex.dep_map->name 0-255
PARAM_VALUE 0 instance->completion_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 instance->completion_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 instance->completion_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 instance->completion_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 instance->completion_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 instance->completion_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 instance->completion_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 instance->completion_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 instance->completion_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 instance->insert_event.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 instance->insert_event.wait.lock.owner (-1)
PARAM_VALUE 0 instance->insert_event.wait.lock.owner_cpu u32max
PARAM_VALUE 0 instance->remove_event.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 instance->remove_event.wait.lock.owner (-1)
PARAM_VALUE 0 instance->remove_event.wait.lock.owner_cpu u32max
PARAM_VALUE 0 instance->state 4096-ptr_max
PARAM_VALUE 0 instance->state->remote 4096-ptr_max
PARAM_VALUE 0 instance->state->remote->initialised 1
PARAM_VALUE 0 instance->state->remote->trigger.fired 0-1
PARAM_VALUE 0 instance->state->unused_service (-2147483647)-s32max
PARAM_VALUE 2 header 1-u64max
BUF_SIZE 0 instance (-1),26
BUF_SIZE 0 instance (-1),26
CAPPED_DATA 0 &instance->completion_mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c audio_vchi_callback() -> vchiq_release_message()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->state 4096-ptr_max
PARAM_VALUE 2 header 4096-ptr_max
PARAM_VALUE 2 header->data 4096-ptr_max
DATA_SOURCE 0 instance $0
DATA_SOURCE 2 header $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c make_service_callback() -> vchiq_release_message()

Type Parameter Key Value
PARAM_VALUE 2 header 0
DATA_SOURCE 2 header $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 instance unit_array_size

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c create_component() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c destroy_component() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c disable_component() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c enable_component() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c get_version() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c mmal_service_callback() -> vchiq_release_message()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->state 4096-ptr_max
PARAM_VALUE 2 header 4096-ptr_max
PARAM_VALUE 2 header->data 4096-ptr_max
DATA_SOURCE 0 instance $0
DATA_SOURCE 1 handle $3
DATA_SOURCE 2 header $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c mmal_service_callback() -> vchiq_release_message()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->state 4096-ptr_max
PARAM_VALUE 2 header 4096-ptr_max
PARAM_VALUE 2 header->data 4096-ptr_max
DATA_SOURCE 0 instance $0
DATA_SOURCE 1 handle $3
DATA_SOURCE 2 header $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c mmal_service_callback() -> vchiq_release_message()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->state 4096-ptr_max
PARAM_VALUE 2 header 4096-ptr_max
PARAM_VALUE 2 header->data 4096-ptr_max
DATA_SOURCE 0 instance $0
DATA_SOURCE 1 handle $3
DATA_SOURCE 2 header $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c mmal_service_callback() -> vchiq_release_message()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->state 4096-ptr_max
PARAM_VALUE 2 header 4096-ptr_max
PARAM_VALUE 2 header->data 4096-ptr_max
PARAM_VALUE 2 header->data->h.context 0
DATA_SOURCE 0 instance $0
DATA_SOURCE 1 handle $3
DATA_SOURCE 2 header $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c mmal_service_callback() -> vchiq_release_message()

Type Parameter Key Value
PARAM_VALUE 0 instance 4096-ptr_max
PARAM_VALUE 0 instance->state 4096-ptr_max
PARAM_VALUE 2 header 4096-ptr_max
PARAM_VALUE 2 header->data 4096-ptr_max
PARAM_VALUE 2 header->data->h.context 1-u32max
DATA_SOURCE 0 instance $0
DATA_SOURCE 1 handle $3
DATA_SOURCE 2 header $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c port_action_handle() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c port_action_port() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c port_info_get() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c port_info_set() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c port_parameter_get() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex

drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c port_parameter_set() -> vchiq_release_message()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &instance->vchiq_mutex
TYPE_LOCK (struct vchiq_mmal_instance)->vchiq_mutex