Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/platform/qcom/venus/core.c venus_close_common() -> hfi_session_destroy()

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

drivers/media/platform/qcom/venus/core.c venus_enumerate_codecs() -> hfi_session_destroy()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->aon_base 0
PARAM_VALUE 0 inst->core->base 4096-ptr_max
PARAM_VALUE 0 inst->core->core_ops 813456751377391616
PARAM_VALUE 0 inst->core->cpucfg_path 0,4096-ptr_max
PARAM_VALUE 0 inst->core->dev 4096-ptr_max
PARAM_VALUE 0 inst->core->done.done 0-4294967293,u32max
PARAM_VALUE 0 inst->core->done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 inst->core->fw.dev 0
PARAM_VALUE 0 inst->core->fw.mapped_mem_size 1-u64max
PARAM_VALUE 0 inst->core->fw.mem_phys 1-u64max
PARAM_VALUE 0 inst->core->fw.mem_size 1-u64max
PARAM_VALUE 0 inst->core->instances.next 4096-ptr_max
PARAM_VALUE 0 inst->core->instances.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->core->instances.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->core->insts_count.counter 0-s32max
PARAM_VALUE 0 inst->core->irq 1-s32max
PARAM_VALUE 0 inst->core->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->core->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->core->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->core->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->core->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->core->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->core->ocs 0,4096-ptr_max
PARAM_VALUE 0 inst->core->ops 8186864063426457600
PARAM_VALUE 0 inst->core->pm_lock.first_waiter 0
PARAM_VALUE 0 inst->core->pm_lock.magic 4096-ptr_max
PARAM_VALUE 0 inst->core->pm_lock.osq.tail.counter 0
PARAM_VALUE 0 inst->core->pm_lock.owner.counter 0
PARAM_VALUE 0 inst->core->pm_ops 534354679031197696,1109177014448549888,8448786424512151552
PARAM_VALUE 0 inst->core->pmdomains 0,4096-ptr_max
PARAM_VALUE 0 inst->core->priv 4096-ptr_max
PARAM_VALUE 0 inst->core->res 4096-ptr_max
PARAM_VALUE 0 inst->core->state 0-1
PARAM_VALUE 0 inst->core->sys_err_done.head.next 4096-ptr_max
PARAM_VALUE 0 inst->core->sys_err_done.head.prev 4096-ptr_max
PARAM_VALUE 0 inst->core->use_tz 1
PARAM_VALUE 0 inst->core->v4l2_dev.dev 4096-ptr_max
PARAM_VALUE 0 inst->core->v4l2_dev.ref.refcount.refs.counter 1
PARAM_VALUE 0 inst->core->v4l2_dev.subdevs.next 4096-ptr_max
PARAM_VALUE 0 inst->core->v4l2_dev.subdevs.prev 4096-ptr_max
PARAM_VALUE 0 inst->core->video_path 0,4096-ptr_max
PARAM_VALUE 0 inst->done.done 0-4294967293,u32max
PARAM_VALUE 0 inst->done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter 0
PARAM_VALUE 0 inst->lock.magic 4096-ptr_max
PARAM_VALUE 0 inst->lock.osq.tail.counter 0
PARAM_VALUE 0 inst->lock.owner.counter 0
PARAM_VALUE 0 inst->ops 8859740168492552192
PARAM_VALUE 0 inst->ops->buf_done 0
PARAM_VALUE 0 inst->ops->event_notify 0
PARAM_VALUE 0 inst->ops->flush_done 0
PARAM_VALUE 0 inst->session_type 1-2
PARAM_VALUE 0 inst->state 2-3
BUF_SIZE 0 inst 4104
BUF_SIZE 0 inst->core 30888
DATA_SOURCE 0 inst r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL