Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/media/platform/qcom/venus/venc.c venc_open() -> venus_helper_init_instance()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->clk_data.core_id 0
PARAM_VALUE 0 inst->core_acquired 0
PARAM_VALUE 0 inst->ctx_q_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->ctx_q_lock.first_waiter 0
PARAM_VALUE 0 inst->ctx_q_lock.magic 4096-ptr_max
PARAM_VALUE 0 inst->ctx_q_lock.osq.tail.counter 0
PARAM_VALUE 0 inst->ctx_q_lock.owner.counter 0
PARAM_VALUE 0 inst->dpbbufs.next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.next->next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->enc_state 1-u32max
PARAM_VALUE 0 inst->internalbufs.next 4096-ptr_max
PARAM_VALUE 0 inst->internalbufs.next->next 4096-ptr_max
PARAM_VALUE 0 inst->internalbufs.prev 4096-ptr_max
PARAM_VALUE 0 inst->internalbufs.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->internalbufs.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->list.next 4096-ptr_max
PARAM_VALUE 0 inst->list.next->next 4096-ptr_max
PARAM_VALUE 0 inst->list.prev 4096-ptr_max
PARAM_VALUE 0 inst->list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->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->registeredbufs.next 4096-ptr_max
PARAM_VALUE 0 inst->registeredbufs.next->next 4096-ptr_max
PARAM_VALUE 0 inst->registeredbufs.prev 4096-ptr_max
PARAM_VALUE 0 inst->registeredbufs.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->registeredbufs.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->session_type 1
BUF_SIZE 0 inst 4104
BUF_SIZE 0 inst->core s32min-(-2),1-s32max
DATA_SOURCE 0 inst r _kzalloc_noprof
FUZZY_MAX 0 inst->enc_state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 inst->nonblock 0-1[c]

drivers/media/platform/qcom/venus/venc.c venc_start_streaming() -> venus_helper_init_instance()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 inst->streamon_cap 1
PARAM_VALUE 0 inst->streamon_out 1-u32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
CAPPED_DATA 0 &inst->lock 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 q->lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/vdec.c vdec_open() -> venus_helper_init_instance()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->bit_depth 0
PARAM_VALUE 0 inst->buf_count 0
PARAM_VALUE 0 inst->clk_data.core_id 0
PARAM_VALUE 0 inst->codec_state 0
PARAM_VALUE 0 inst->core_acquired 0
PARAM_VALUE 0 inst->ctx_q_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->ctx_q_lock.first_waiter 0
PARAM_VALUE 0 inst->ctx_q_lock.magic 4096-ptr_max
PARAM_VALUE 0 inst->ctx_q_lock.osq.tail.counter 0
PARAM_VALUE 0 inst->ctx_q_lock.owner.counter 0
PARAM_VALUE 0 inst->dpbbufs.next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.next->next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->internalbufs.next 4096-ptr_max
PARAM_VALUE 0 inst->internalbufs.next->next 4096-ptr_max
PARAM_VALUE 0 inst->internalbufs.prev 4096-ptr_max
PARAM_VALUE 0 inst->internalbufs.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->internalbufs.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->list.next 4096-ptr_max
PARAM_VALUE 0 inst->list.next->next 4096-ptr_max
PARAM_VALUE 0 inst->list.prev 4096-ptr_max
PARAM_VALUE 0 inst->list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->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->num_output_bufs 1
PARAM_VALUE 0 inst->pic_struct 1
PARAM_VALUE 0 inst->reconf_wait.head.next 4096-ptr_max
PARAM_VALUE 0 inst->reconf_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 inst->reconf_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 inst->reconf_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->reconf_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->registeredbufs.next 4096-ptr_max
PARAM_VALUE 0 inst->registeredbufs.next->next 4096-ptr_max
PARAM_VALUE 0 inst->registeredbufs.prev 4096-ptr_max
PARAM_VALUE 0 inst->registeredbufs.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->registeredbufs.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->session_type 2
BUF_SIZE 0 inst 4104
BUF_SIZE 0 inst->core s32min-(-2),1-s32max
DATA_SOURCE 0 inst r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 inst->nonblock 0-1[c]

drivers/media/platform/qcom/venus/vdec.c vdec_start_output() -> venus_helper_init_instance()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->clk_data.core_id 0-2
PARAM_VALUE 0 inst->codec_state 0
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec->power.request 0-4
PARAM_VALUE 0 inst->core->dev_dec->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 inst->core->dev_dec->power.runtime_status 0,2
PARAM_VALUE 0 inst->core->dev_dec->power.wakeirq->status 0-4294967295
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->list.prev->prev 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->ops->isr 4096-ptr_max
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->core->pm_ops 0,4096-ptr_max
PARAM_VALUE 0 inst->core->priv->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 inst->core->priv->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
CAPPED_DATA 0 inst 1
DATA_SOURCE 0 inst $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 q->lock
TYPE_LOCK (struct venus_inst)->lock