Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c mtk_vdec_worker() -> mtk_vdec_queue_res_chg_event()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev->curr_ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctx->dev->irqlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->drv_handle 1-u64max
PARAM_VALUE 0 ctx->drv_handle->ctx->picinfo.buf_h 0,64-4294967295
PARAM_VALUE 0 ctx->drv_handle->ctx->picinfo.buf_w 0,64-4294967295
PARAM_VALUE 0 ctx->drv_handle->vpu.ctx->dev->fw_handler->scp->send_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->drv_handle->vsi_ctx.dec.cap_num_planes 0-4294967295
PARAM_VALUE 0 ctx->drv_handle->vsi_ctx.dec.realloc_mv_buf 1
PARAM_VALUE 0 ctx->drv_handle->vsi_ctx.dec.resolution_changed 1
PARAM_VALUE 0 ctx->lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctx->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctx->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ctx->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctx->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->picinfo.fb_sz 4096-ptr_max
PARAM_VALUE 0 *ctx->dev->vdec_racing_info 0-4294967295
CAPPED_DATA 0 &ctx->lock 1
PARAM_COMPARE 0 &ctx->m2m_ctx->cap_q_ctx.rdy_queue != $0->m2m_ctx->cap_q_ctx.rdy_queue.next
PARAM_COMPARE 0 &ctx->m2m_ctx->out_q_ctx.rdy_queue != $0->m2m_ctx->out_q_ctx.rdy_queue.next
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c vb2ops_vdec_stateful_buf_queue() -> mtk_vdec_queue_res_chg_event()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev->curr_ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctx->dev->dec_racing_info_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctx->dev->irqlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->drv_handle 1-u64max
PARAM_VALUE 0 ctx->drv_handle->cap_num_planes 0-4294967295
PARAM_VALUE 0 ctx->drv_handle->ctx->picinfo.buf_h 0,64-4294967295
PARAM_VALUE 0 ctx->drv_handle->ctx->picinfo.buf_w 0,64-4294967295
PARAM_VALUE 0 ctx->drv_handle->realloc_mv_buf 1
PARAM_VALUE 0 ctx->drv_handle->resolution_changed 1
PARAM_VALUE 0 ctx->drv_handle->vsi->list_disp.count 0-4294967295
PARAM_VALUE 0 ctx->drv_handle->vsi->list_disp.read_idx 0-16,18-54
PARAM_VALUE 0 ctx->drv_handle->vsi->list_free.count 0-4294967295
PARAM_VALUE 0 ctx->drv_handle->vsi->list_free.read_idx 0-16,18-54
PARAM_VALUE 0 ctx->drv_handle->vsi->pic.buf_h 0,64-4294967295
PARAM_VALUE 0 ctx->drv_handle->vsi->pic.buf_w 0,64-4294967295
PARAM_VALUE 0 ctx->drv_handle->vsi->pic.pic_h 0-4294967295
PARAM_VALUE 0 ctx->drv_handle->vsi->pic.pic_w 0-4294967295
PARAM_VALUE 0 ctx->drv_handle->vsi_ctx.dec.cap_num_planes 0-4294967295
PARAM_VALUE 0 ctx->drv_handle->vsi_ctx.dec.resolution_changed 1
PARAM_VALUE 0 ctx->m2m_ctx 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->q_data 4096-ptr_max
PARAM_VALUE 0 ctx->state 2
PARAM_VALUE 0 *ctx->dev->vdec_racing_info 0-4294967295
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
PARAM_COMPARE 0 &ctx->m2m_ctx->out_q_ctx.rdy_queue != $0->m2m_ctx->out_q_ctx.rdy_queue.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 vb->vb2_queue->lock