Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.c fops_vcodec_release() -> mtk_vcodec_enc_release()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.done_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.done_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.done_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.deferred_resume 0-1
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.idle_notification 0-1
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.request 0-4
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.request_pending 0-1
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.runtime_status 0,2
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->pipe->available_res 0-255
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->pipe->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->pipe->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->pipe->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->pipe->use_count 0-4294967295
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->m2m->usage_count s32min-s32max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->pipe->available_res 0-255
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->pipe->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->pipe->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->pipe->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.drv_priv->video_dev.entity.pads->pipe->start_count s32min-s32max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.mmap_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.mmap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.mmap_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.mmap_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.mmap_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.mmap_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.queued_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.queued_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.q.queued_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->finished.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->m2m_dev->job_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.done_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.done_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.done_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.deferred_resume 0-1
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.idle_notification 0-1
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.request 0-4
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.request_pending 0-1
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.runtime_status 0,2
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->pipe->available_res 0-255
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->pipe->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->pipe->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->pipe->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->pipe->use_count 0-4294967295
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->m2m->usage_count s32min-s32max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->pipe->available_res 0-255
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->pipe->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->pipe->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->pipe->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.drv_priv->video_dev.entity.pads->pipe->start_count s32min-s32max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.mmap_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.mmap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.mmap_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.mmap_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.mmap_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.mmap_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.queued_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.queued_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.q.queued_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->priv->aborting 1
PARAM_VALUE 0 ctx->m2m_ctx->priv->bdisp_dev->m2m.m2m_dev->job_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->bdisp_dev->slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->codec_info->dec_info.stream_endflag 0-1
PARAM_VALUE 0 ctx->m2m_ctx->priv->codec_info->dec_info.stream_rd_ptr 0-4294967295
PARAM_VALUE 0 ctx->m2m_ctx->priv->codec_info->dec_info.stream_wr_ptr 0-4294967295
PARAM_VALUE 0 ctx->m2m_ctx->priv->dev->hw_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->dev->hw_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->priv->dev->hw_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->m2m_ctx->priv->dev->hw_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->dev->hw_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctx->m2m_ctx->priv->dev->hw_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctx->m2m_ctx->priv->dev->hw_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctx->m2m_ctx->priv->dev->hw_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->m2m_ctx->priv->fimc_dev->slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->gsc_dev->m2m.m2m_dev->job_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->gsc_dev->slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->icc->aborted.done 0-4294967293,4294967295
PARAM_VALUE 0 ctx->m2m_ctx->priv->icc->aborted.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->icc->aborted.wait.lock.owner (-1)
PARAM_VALUE 0 ctx->m2m_ctx->priv->icc->aborted.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 ctx->m2m_ctx->priv->icc->chan->current_run->status (-5)
PARAM_VALUE 0 ctx->m2m_ctx->priv->icc->chan->irqlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->m2m_dev->job_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->state 0-4294967295
PARAM_VALUE 0 ctx->m2m_ctx->priv->state_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->priv->v4l2_m2m_dev->job_spinlock.rlock.dep_map->name 0-255
CAPPED_DATA 0 ctx->m2m_ctx 1
DATA_SOURCE 0 ctx r file_to_enc_ctx
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->dev_mutex
HALF_LOCKED2 &vdev->v4l2_dev->mdev->req_queue_mutex
TYPE_LOCK (struct mtk_vcodec_enc_dev)->dev_mutex