Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/qcom/venus/helpers.c venus_helper_intbufs_alloc() -> intbufs_set_buffer()

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->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev->cma_area->nranges s32min-s32max
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->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->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->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->next 5159360019465732096
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->core->priv->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->core->priv->state 0,2-4294967295
PARAM_VALUE 0 inst->core->res 4096-ptr_max
PARAM_VALUE 0 inst->delayed_process.next 4096-ptr_max
PARAM_VALUE 0 inst->delayed_process.next->next 4096-ptr_max
PARAM_VALUE 0 inst->delayed_process.prev 4096-ptr_max
PARAM_VALUE 0 inst->delayed_process.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->delayed_process.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->done.done 0-4294967293,u32max
PARAM_VALUE 0 inst->error 0
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->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.first_waiter->list.prev->prev 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->num_input_bufs 1-u32max
PARAM_VALUE 0 inst->num_output_bufs 1-u32max
PARAM_VALUE 0 inst->sequence_out 0
PARAM_VALUE 0 inst->state 3-5
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
CAPPED_DATA 0 inst 1
CAPPED_DATA 0 inst->hfi_codec 1
CAPPED_DATA 0 inst->num_input_bufs 1
CAPPED_DATA 0 inst->num_output_bufs 1
DATA_SOURCE 0 inst $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 q->lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/helpers.c venus_helper_intbufs_realloc() -> intbufs_set_buffer()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->codec_state 3,6
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->codecs_count 1-u32max
PARAM_VALUE 0 inst->core->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 inst->core->ops->isr 4096-ptr_max
PARAM_VALUE 0 inst->core->priv->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->res 4096-ptr_max
PARAM_VALUE 0 inst->done.done 0-4294967293,u32max
PARAM_VALUE 0 inst->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 inst->done.wait.lock.owner (-1)
PARAM_VALUE 0 inst->done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->dpb_buftype 0,2-3
PARAM_VALUE 0 inst->dpb_fmt 0,2-3,16387,32770-32771,49154-49155,65538,81922
PARAM_VALUE 0 inst->fmt_cap->pixfmt 808530000,825382478,842094158,1127231825,1127755857
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.first_waiter->list.prev->prev 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->opb_buftype 2-3
PARAM_VALUE 0 inst->opb_fmt 0,2-3,16387,32770-32771,49154-49155,65538,81922
PARAM_VALUE 0 inst->output2_buf_size 0,4096-u32max
PARAM_VALUE 0 inst->output_buf_size 0,4096-u32max
PARAM_VALUE 0 inst->state 3-5
PARAM_VALUE 0 inst->streamon_out 1-u32max
PARAM_VALUE 1 type 6,16777217
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
CAPPED_DATA 0 inst->core->codecs_count 1
CAPPED_DATA 0 inst->hfi_codec 1
CAPPED_DATA 0 inst->output2_buf_size 1
CAPPED_DATA 0 inst->output_buf_size 1
CAPPED_DATA 0 &inst->internalbufs 1
DATA_SOURCE 0 inst $0
FUZZY_MAX 0 inst->codec_state 6
FUZZY_MAX 1 type 16777217
BIT_INFO 0 inst->codec_state 0x2,0x7
HARD_MAX 1 type 16777217
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 q->lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/helpers.c venus_helper_intbufs_realloc() -> intbufs_set_buffer()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->codec_state 3,6
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->codecs_count 1-u32max
PARAM_VALUE 0 inst->core->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 inst->core->ops->isr 4096-ptr_max
PARAM_VALUE 0 inst->core->priv->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->res 4096-ptr_max
PARAM_VALUE 0 inst->done.done 0-4294967293,u32max
PARAM_VALUE 0 inst->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 inst->done.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->dpb_buftype 0,2-3
PARAM_VALUE 0 inst->dpb_fmt 0,2-3,16387,32770-32771,49154-49155,65538,81922
PARAM_VALUE 0 inst->fmt_cap->pixfmt 808530000,825382478,842094158,1127231825,1127755857
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.first_waiter->list.prev->prev 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->opb_buftype 2-3
PARAM_VALUE 0 inst->opb_fmt 0,2-3,16387,32770-32771,49154-49155,65538,81922
PARAM_VALUE 0 inst->output2_buf_size 0,4096-u32max
PARAM_VALUE 0 inst->output_buf_size 0,4096-u32max
PARAM_VALUE 0 inst->state 3-5
PARAM_VALUE 0 inst->streamon_out 1-u32max
PARAM_VALUE 1 type 7,16777221
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
CAPPED_DATA 0 inst->core->codecs_count 1
CAPPED_DATA 0 inst->hfi_codec 1
CAPPED_DATA 0 inst->output2_buf_size 1
CAPPED_DATA 0 inst->output_buf_size 1
CAPPED_DATA 0 &inst->internalbufs 1
DATA_SOURCE 0 inst $0
FUZZY_MAX 0 inst->codec_state 6
FUZZY_MAX 1 type 16777221
BIT_INFO 0 inst->codec_state 0x2,0x7
HARD_MAX 1 type 16777221
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 q->lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/helpers.c venus_helper_intbufs_realloc() -> intbufs_set_buffer()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->codec_state 3,6
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->codecs_count 1-u32max
PARAM_VALUE 0 inst->core->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 inst->core->ops->isr 4096-ptr_max
PARAM_VALUE 0 inst->core->priv->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->res 4096-ptr_max
PARAM_VALUE 0 inst->done.done 0-4294967293,u32max
PARAM_VALUE 0 inst->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 inst->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->dpb_buftype 0,2-3
PARAM_VALUE 0 inst->dpb_fmt 0,2-3,16387,32770-32771,49154-49155,65538,81922
PARAM_VALUE 0 inst->fmt_cap->pixfmt 808530000,825382478,842094158,1127231825,1127755857
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.first_waiter->list.prev->prev 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->opb_buftype 2-3
PARAM_VALUE 0 inst->opb_fmt 0,2-3,16387,32770-32771,49154-49155,65538,81922
PARAM_VALUE 0 inst->output2_buf_size 0,4096-u32max
PARAM_VALUE 0 inst->output_buf_size 0,4096-u32max
PARAM_VALUE 0 inst->state 3-5
PARAM_VALUE 0 inst->streamon_out 1-u32max
PARAM_VALUE 1 type 8,16777222
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
CAPPED_DATA 0 inst->core->codecs_count 1
CAPPED_DATA 0 inst->hfi_codec 1
CAPPED_DATA 0 inst->output2_buf_size 1
CAPPED_DATA 0 inst->output_buf_size 1
CAPPED_DATA 0 &inst->internalbufs 1
DATA_SOURCE 0 inst $0
FUZZY_MAX 0 inst->codec_state 6
FUZZY_MAX 1 type 16777222
BIT_INFO 0 inst->codec_state 0x2,0x7
HARD_MAX 1 type 16777222
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 q->lock
TYPE_LOCK (struct venus_inst)->lock