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.c mtk_venc_encode_header() -> venc_if_encode()

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.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 opt 0
PARAM_VALUE 2 frm_buf 0
PARAM_VALUE 3 bs_buf 5161842050252148736
PARAM_VALUE 4 result 1004012062674944000
PARAM_VALUE 4 result->bs_size 0
PARAM_VALUE 4 result->is_key_frm 0
BUF_SIZE 0 ctx 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,4104,4824,7552,7944,8768,116088
BUF_SIZE 0 ctx 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,4104,4824,7552,7944,8768,116088
DATA_SOURCE 0 ctx $0
PARAM_COMPARE 0 &ctx->m2m_ctx->cap_q_ctx.rdy_queue != $0->m2m_ctx->cap_q_ctx.rdy_queue.next
RX_PATH
TASK_NOT_RUNNING

drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c mtk_venc_worker() -> venc_if_encode()

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.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 1 opt 1
PARAM_VALUE 2 frm_buf 9018445104958259200
PARAM_VALUE 3 bs_buf 6046468445548187648
PARAM_VALUE 4 result 7821130608460423168
PARAM_VALUE 4 result->bs_size 0
PARAM_VALUE 4 result->is_key_frm 0
PARAM_COMPARE 0 &ctx->m2m_ctx->cap_q_ctx.rdy_queue != $0->m2m_ctx->cap_q_ctx.rdy_queue.next
HALF_LOCKED2 &pool->lock