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/core.c venus_enumerate_codecs() -> hfi_session_init()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->aon_base 0
PARAM_VALUE 0 inst->core->base 4096-ptr_max
PARAM_VALUE 0 inst->core->core_ops 813456751377391616
PARAM_VALUE 0 inst->core->cpucfg_path 0,4096-ptr_max
PARAM_VALUE 0 inst->core->dev 4096-ptr_max
PARAM_VALUE 0 inst->core->done.done 0-4294967293,u32max
PARAM_VALUE 0 inst->core->done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 inst->core->fw.dev 0
PARAM_VALUE 0 inst->core->fw.mapped_mem_size 1-u64max
PARAM_VALUE 0 inst->core->fw.mem_phys 1-u64max
PARAM_VALUE 0 inst->core->fw.mem_size 1-u64max
PARAM_VALUE 0 inst->core->instances.next 4096-ptr_max
PARAM_VALUE 0 inst->core->instances.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->core->instances.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->core->insts_count.counter 0-s32max
PARAM_VALUE 0 inst->core->irq 1-s32max
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->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->ocs 0,4096-ptr_max
PARAM_VALUE 0 inst->core->ops 8186864063426457600
PARAM_VALUE 0 inst->core->pm_lock.first_waiter 0
PARAM_VALUE 0 inst->core->pm_lock.magic 4096-ptr_max
PARAM_VALUE 0 inst->core->pm_lock.osq.tail.counter 0
PARAM_VALUE 0 inst->core->pm_lock.owner.counter 0
PARAM_VALUE 0 inst->core->pm_ops 534354679031197696,1109177014448549888,8448786424512151552
PARAM_VALUE 0 inst->core->pmdomains 0,4096-ptr_max
PARAM_VALUE 0 inst->core->priv 4096-ptr_max
PARAM_VALUE 0 inst->core->res 4096-ptr_max
PARAM_VALUE 0 inst->core->state 0-1
PARAM_VALUE 0 inst->core->sys_err_done.head.next 4096-ptr_max
PARAM_VALUE 0 inst->core->sys_err_done.head.prev 4096-ptr_max
PARAM_VALUE 0 inst->core->use_tz 1
PARAM_VALUE 0 inst->core->v4l2_dev.dev 4096-ptr_max
PARAM_VALUE 0 inst->core->v4l2_dev.ref.refcount.refs.counter 1
PARAM_VALUE 0 inst->core->v4l2_dev.subdevs.next 4096-ptr_max
PARAM_VALUE 0 inst->core->v4l2_dev.subdevs.prev 4096-ptr_max
PARAM_VALUE 0 inst->core->video_path 0,4096-ptr_max
PARAM_VALUE 0 inst->done.done 0-4294967293,u32max
PARAM_VALUE 0 inst->done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_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->ops 8859740168492552192
PARAM_VALUE 0 inst->ops->buf_done 0
PARAM_VALUE 0 inst->ops->event_notify 0
PARAM_VALUE 0 inst->ops->flush_done 0
PARAM_VALUE 0 inst->session_type 1-2
PARAM_VALUE 0 inst->state 2
PARAM_VALUE 1 pixfmt 0,808996950,809062486,826757197,843534413,859189832,875967048,877088845,1129727304,1145656920,1194410838
BUF_SIZE 0 inst 4104
BUF_SIZE 0 inst->core 30888
DATA_SOURCE 0 inst r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/media/platform/qcom/venus/helpers.c venus_helper_session_init() -> hfi_session_init()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->core->dev_enc->power.wakeirq->status 0-4294967295
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->list.prev->prev 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->res 4096-ptr_max
PARAM_VALUE 0 inst->fmt_cap 4096-ptr_max
PARAM_VALUE 0 inst->fmt_cap->pixfmt 808530000,808996950,809062486,842094158,843534413,859189832,875967048,877088845,1127231825,1127755857,1129727304,1145656920,1194410838,1278296918
PARAM_VALUE 0 inst->fmt_out->pixfmt 808530000,808996950,809062486,842094158,843534413,859189832,875967048,877088845,1127231825,1127755857,1129727304,1145656920,1194410838,1278296918
PARAM_VALUE 1 pixfmt 808530000,808996950,809062486,842094158,843534413,859189832,875967048,877088845,1127231825,1127755857,1129727304,1145656920,1194410838,1278296918
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
DATA_SOURCE 0 inst $0
STR_LEN 0 inst (-1)
STR_LEN 0 inst (-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &inst->lock