Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/amphion/vpu_cmds.c sync_session_response() -> vpu_clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->cmd_q.prev 4096-ptr_max
PARAM_VALUE 0 inst->cmd_q.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->cmd_q.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->cmd_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->core->cmd_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->core->cmd_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->cmd_lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->core->cmd_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 inst->core->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 inst->core->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 inst->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->core->iface->cmd_desc->wptr 0-4294967295
PARAM_VALUE 0 inst->core->tx_type.ch->con_priv->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 inst->core->tx_type.ch->con_priv->response->resp_size 0-1,32-33
PARAM_VALUE 0 inst->core->tx_type.ch->con_priv->response->resp_status 0-u16max
PARAM_VALUE 0 inst->core->tx_type.ch->mbox->poll_hrt.base->index 0-7
PARAM_VALUE 0 inst->core->tx_type.ch->mbox->poll_hrt.node.expires 0-s64max
PARAM_VALUE 0 inst->core->type 0-16
PARAM_VALUE 0 inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 inst->core->vpu->res->plat_type 0-1
PARAM_VALUE 0 inst->dev 0,4096-ptr_max
PARAM_VALUE 0 inst->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 inst->dev->class 0,4096-ptr_max
PARAM_VALUE 0 inst->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 inst->id 0-s32max
PARAM_VALUE 0 inst->ops 4096-ptr_max
PARAM_VALUE 0 inst->ops->check_ready 4096-ptr_max
PARAM_VALUE 0 inst->ops->cleanup 334810022863753216,7099194821123616768
PARAM_VALUE 0 inst->ops->event_notify 2905576554795573248,7158010066138472448
PARAM_VALUE 0 inst->ops->input_done 0,6381637251430338560
PARAM_VALUE 0 inst->ops->process_capture 5873453715843440640,7798169779948142592
PARAM_VALUE 0 inst->ops->process_output 6107898096095506432,7363482639959166976
PARAM_VALUE 0 inst->ops->release 3119191099740717056,7159263913553412096
PARAM_VALUE 0 inst->ops->start 3830545228717694976,7505058326117138432
PARAM_VALUE 0 inst->ops->stop 4664844317685211136,7937231471050149888
PARAM_VALUE 0 inst->ops->wait_finish 2078898504568041472
PARAM_VALUE 0 inst->ops->wait_prepare 4389490158867030016
PARAM_VALUE 0 *inst->flows 0-4294967295
BUF_SIZE 0 inst s32min-(-1),1-s32max
BUF_SIZE 0 inst s32min-(-1),1-s32max
CAPPED_DATA 0 &inst->core->cmd_lock 1
DATA_SOURCE 0 inst $0
STR_LEN 0 inst (-1)
STR_LEN 0 inst (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 inst->stream_buffer.length
LOCK2 0 &inst->core->cmd_lock
HALF_LOCKED2 0 &inst->lock
TYPE_LOCK (struct vpu_core)->cmd_lock

drivers/media/platform/amphion/vpu_cmds.c vpu_clear_request() -> vpu_clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 1-u64max
PARAM_VALUE 0 inst->core->cmd_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->cmd_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->core->cmd_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->cmd_lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->core->cmd_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 inst->fh.list.next->prev 4096-ptr_max
PARAM_VALUE 0 inst->fh.m2m_ctx 0
PARAM_VALUE 0 inst->fh.subscribe_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->fh.subscribe_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->fh.subscribe_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->fh.subscribe_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->fh.subscribe_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->fh.subscribe_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->fh.subscribe_lock.magic 0
PARAM_VALUE 0 inst->fh.subscribed.next 4096-ptr_max
PARAM_VALUE 0 inst->fh.vdev 0
PARAM_VALUE 0 inst->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->ops 4096-ptr_max
PARAM_VALUE 0 inst->ops->release 3119191099740717056,7159263913553412096
PARAM_VALUE 0 inst->pending 1-u64max
PARAM_VALUE 0 *inst->flows 0-4294967295
CAPPED_DATA 0 &inst->core->cmd_lock 1
DATA_SOURCE 0 inst $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &inst->core->cmd_lock
HALF_LOCKED2 &vdev->v4l2_dev->mdev->req_queue_mutex
TYPE_LOCK (struct vpu_core)->cmd_lock

drivers/media/platform/amphion/vpu_cmds.c vpu_response_cmd() -> vpu_clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 1-u64max
PARAM_VALUE 0 inst->core->cmd_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->core->cmd_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->cmd_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->core->cmd_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->cmd_lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->core->cmd_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 inst->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->pending 4096-ptr_max
PARAM_VALUE 0 *inst->flows 0-4294967295
CAPPED_DATA 0 inst->pending->request->handled 1
CAPPED_DATA 0 inst->pending->request->response 1
DATA_SOURCE 0 inst $0
NOCHECK_CALL
LOCK2 &core->cmd_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct vpu_core)->cmd_lock