Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/chips-media/wave5/wave5-vpuapi.c wave5_vpu_dec_close() -> reset_auxiliary_buffers()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->codec_info 1-u64max
PARAM_VALUE 0 inst->codec_info->dec_info.vb_work.size 0
PARAM_VALUE 0 inst->dev 4096-ptr_max
PARAM_VALUE 0 inst->dev->dev 4096-ptr_max
PARAM_VALUE 0 inst->dev->hw_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->dev->hw_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 inst->dev->hw_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->dev->hw_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->dev->hw_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->dev->hw_lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->dev->hw_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 inst->dev->irq_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->dev->irq_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->dev->irq_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->dev->irq_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->dev->irq_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->dev->irq_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->dev->irq_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->dev->irq_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->dev->irq_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->dev->irq_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->dev->irq_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->list.next->prev 4096-ptr_max
PARAM_VALUE 0 inst->list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->state 1-u32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.done_list.next->next 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.done_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.done_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->m2m->chained_count s32min-s32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.deferred_resume 0-1
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.request 0-4
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.request_pending 0-1
PARAM_VALUE 0 inst->v4l2_fh.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->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.runtime_status 0,2
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->m2m->isi->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->m2m->pipe->available_res 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->m2m->pipe->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->m2m->pipe->use_count 0-4294967295
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->m2m->usage_count s32min-s32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->pipe->available_res 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.drv_priv->pipe->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.mmap_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.mmap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.mmap_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.queued_list.next->next 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.queued_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.queued_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->finished.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->m2m_dev->job_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.done_list.next->next 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.done_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.done_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->m2m->chained_count s32min-s32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.deferred_resume 0-1
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.request 0-4
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.request_pending 0-1
PARAM_VALUE 0 inst->v4l2_fh.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->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.runtime_status 0,2
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->m2m->isi->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->m2m->pipe->available_res 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->m2m->pipe->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->m2m->pipe->use_count 0-4294967295
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->m2m->usage_count s32min-s32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->pipe->available_res 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.drv_priv->pipe->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.mmap_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.mmap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.mmap_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.queued_list.next->next 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.queued_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->out_q_ctx.q.queued_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->aborting 1
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->bdisp_dev->slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->codec_info->dec_info.stream_endflag 0-1
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->codec_info->dec_info.stream_rd_ptr 0-4294967295
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->codec_info->dec_info.stream_wr_ptr 0-4294967295
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->dev->hw_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->dev->hw_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->dev->hw_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->dev->hw_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->dev->hw_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->dev->hw_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->fh.m2m_ctx->cap_q_ctx.num_rdy 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->fh.m2m_ctx->new_frame 0-1
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->fh.m2m_ctx->out_q_ctx.num_rdy 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->fimc_dev->slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->gsc_dev->slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->icc->aborted.done 0-4294967293,4294967295
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->icc->aborted.wait.lock.owner (-1)
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->icc->aborted.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->icc->chan->current_run->status (-5)
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->icc->chan->irqlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->m2m_ctx->cap_q_ctx.num_rdy 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->m2m_ctx->new_frame 0-1
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->m2m_ctx->out_q_ctx.num_rdy 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->m2m_dev->job_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->state 0-4294967295
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->state_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->priv->v4l2_m2m_dev->job_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 0-63
CAPPED_DATA 0 inst->v4l2_fh.m2m_ctx 1
DATA_SOURCE 0 inst $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 inst->codec_info->dec_info.frame_display_flag 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.chroma_bitdepth 0-15
HOST_DATA 0 inst->codec_info->dec_info.initial_info.luma_bitdepth 0-15
HOST_DATA 0 inst->codec_info->dec_info.initial_info.min_frame_buffer_count 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.param_buf_size 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.pic_crop_rect.bottom 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.pic_crop_rect.left 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.pic_crop_rect.right 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.pic_crop_rect.top 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.pic_height 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.pic_width 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.profile 0-u32max[c]
HOST_DATA 0 inst->codec_info->dec_info.initial_info.rd_ptr 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.seq_init_err_reason 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.initial_info.vlc_buf_size 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.chroma_bitdepth 0-15
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.luma_bitdepth 0-15
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.min_frame_buffer_count 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.param_buf_size 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.pic_crop_rect.bottom 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.pic_crop_rect.left 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.pic_crop_rect.right 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.pic_crop_rect.top 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.pic_height 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.pic_width 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.profile 0-u32max[c]
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.rd_ptr 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.seq_init_err_reason 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.new_seq_info.vlc_buf_size 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.param_buf_size 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.report_queue_count 0-u16max
HOST_DATA 0 inst->codec_info->dec_info.stream_rd_ptr 0-u32max
HOST_DATA 0 inst->codec_info->dec_info.vlc_buf_size 0-u32max
HOST_DATA 0 inst->dev->last_performance_cycles 0-u32max
LOCK2 &vpu_dev->hw_lock
HALF_LOCKED2 &vdev->v4l2_dev->mdev->req_queue_mutex
TYPE_LOCK (struct vpu_device)->hw_lock

drivers/media/platform/chips-media/wave5/wave5-vpuapi.c wave5_vpu_dec_give_command() -> reset_auxiliary_buffers()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->needs_reallocation 1
PARAM_VALUE 0 inst->v4l2_fh.m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 0-63
BUF_SIZE 0 inst (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088
BUF_SIZE 0 inst (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088
DATA_SOURCE 0 inst $0
STR_LEN 0 inst (-1)
STR_LEN 0 inst (-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 &q->mmap_lock