Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_if.c vdec_h264_slice_decode() -> alloc_mv_buf()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->ctx 4096-ptr_max
PARAM_VALUE 0 inst->ctx->ctrl_hdl.cached->ctrl 4096-ptr_max
PARAM_VALUE 0 inst->ctx->ctrl_hdl.lock->dep_map->name 0-255
PARAM_VALUE 0 inst->ctx->ctrl_hdl.lock->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->ctx->ctrl_hdl.lock->first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->ctx->ctrl_hdl.lock->first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->ctx->ctrl_hdl.lock->first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->ctx->ctrl_hdl.lock->first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->ctx->ctrl_hdl.lock->first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 inst->ctx->ctrl_hdl.lock->first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->ctx->ctrl_hdl.lock->osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->ctx->ctrl_hdl.lock->wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->ctx->dev 4096-ptr_max
PARAM_VALUE 0 inst->ctx->dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 0 inst->h264_slice_param.pps.constrained_intra_pred_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.pps.deblocking_filter_control_present_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.pps.entropy_coding_mode_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.pps.pic_order_present_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.pps.redundant_pic_cnt_present_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.pps.scaling_matrix_present_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.pps.transform_8x8_mode_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.pps.weighted_pred_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.sps.delta_pic_order_always_zero_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.sps.direct_8x8_inference_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.sps.frame_mbs_only_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.sps.mb_adaptive_frame_field_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.sps.qpprime_y_zero_transform_bypass_flag 0-1
PARAM_VALUE 0 inst->h264_slice_param.sps.separate_colour_plane_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.dec.realloc_mv_buf 1-u32max
PARAM_VALUE 0 inst->vsi_ctx.dec.vdec_fb_va 4096-18446744073709547520
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.pps.constrained_intra_pred_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.pps.deblocking_filter_control_present_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.pps.entropy_coding_mode_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.pps.pic_order_present_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.pps.redundant_pic_cnt_present_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.pps.scaling_matrix_present_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.pps.transform_8x8_mode_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.pps.weighted_pred_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.sps.delta_pic_order_always_zero_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.sps.direct_8x8_inference_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.sps.frame_mbs_only_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.sps.mb_adaptive_frame_field_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.sps.qpprime_y_zero_transform_bypass_flag 0-1
PARAM_VALUE 0 inst->vsi_ctx.h264_slice_params.sps.separate_colour_plane_flag 0-1
PARAM_VALUE 0 *inst->h264_slice_param->decode_params.ref_pic_list_b0 0-255
PARAM_VALUE 0 *inst->h264_slice_param->decode_params.ref_pic_list_b1 0-255
PARAM_VALUE 0 *inst->h264_slice_param->decode_params.ref_pic_list_p0 0-255
PARAM_VALUE 0 *inst->h264_slice_param.decode_params.ref_pic_list_b0 0-255
PARAM_VALUE 0 *inst->h264_slice_param.decode_params.ref_pic_list_b1 0-255
PARAM_VALUE 0 *inst->h264_slice_param.decode_params.ref_pic_list_p0 0-255
PARAM_VALUE 1 pic 4096-ptr_max
BUF_SIZE 0 inst 272,568,616,3080,4664,5168,5712,29728
BUF_SIZE 0 inst 272,568,616,3080,4664,5168,5712,29728
CAPPED_DATA 0 inst->ctx->ctrl_hdl.lock 1
DATA_SOURCE 0 inst $0
RX_PATH
TASK_NOT_RUNNING

drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_if.c vdec_h264_decode() -> alloc_mv_buf()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->vpu.ctx 4096-ptr_max
PARAM_VALUE 0 inst->vpu.ctx->dev->fw_handler->scp->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 inst->vpu.ctx->dev->fw_handler->scp->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 inst->vpu.ctx->dev->fw_handler->scp->send_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->vpu.ctx->dev->fw_handler->scp->send_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->vpu.ctx->dev->fw_handler->scp->send_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->vpu.ctx->dev->fw_handler->scp->send_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->vpu.failure 0
PARAM_VALUE 0 inst->vpu.signaled 0
PARAM_VALUE 0 inst->vsi 4096-ptr_max
PARAM_VALUE 0 inst->vsi->dec.realloc_mv_buf 1-u32max
PARAM_VALUE 0 inst->vsi->dec.vdec_fb_va 0,4096-18446744073709547520
PARAM_VALUE 1 pic 7731185177003630592
BUF_SIZE 0 inst 272,568,616,3080,4664,5168,5712,29728
BUF_SIZE 0 inst 272,568,616,3080,4664,5168,5712,29728
DATA_SOURCE 0 inst $0
RX_PATH
TASK_NOT_RUNNING