Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/media/platform/qcom/venus/venc.c venc_encoder_cmd() -> hfi_session_process_buf()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->enc_state 2
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-u32max
PARAM_VALUE 0 inst->streamon_out 1-u32max
PARAM_VALUE 1 fd 4688591559245930496
PARAM_VALUE 1 fd->alloc_len 0
PARAM_VALUE 1 fd->buffer_type 1
PARAM_VALUE 1 fd->clnt_data 0
PARAM_VALUE 1 fd->device_addr 3735924736
PARAM_VALUE 1 fd->extradata_addr 0
PARAM_VALUE 1 fd->filled_len 0
PARAM_VALUE 1 fd->flags 1
PARAM_VALUE 1 fd->mark_data 0
PARAM_VALUE 1 fd->offset 0
CAPPED_DATA 0 &inst->lock 1
DATA_SOURCE 0 inst r to_inst
LOCK2 0 &inst->lock
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/vdec.c vdec_decoder_cmd() -> hfi_session_process_buf()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 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-u32max
PARAM_VALUE 0 inst->streamon_out 1-u32max
PARAM_VALUE 1 fd 7961146770824867840
PARAM_VALUE 1 fd->alloc_len 0
PARAM_VALUE 1 fd->buffer_type 1
PARAM_VALUE 1 fd->clnt_data 0
PARAM_VALUE 1 fd->device_addr 3735924736
PARAM_VALUE 1 fd->extradata_addr 0
PARAM_VALUE 1 fd->filled_len 0
PARAM_VALUE 1 fd->flags 1
PARAM_VALUE 1 fd->mark_data 0
PARAM_VALUE 1 fd->offset 0
CAPPED_DATA 0 &inst->lock 1
DATA_SOURCE 0 inst r to_inst
LOCK2 0 &inst->lock
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/helpers.c session_process_buf() -> hfi_session_process_buf()

Type Parameter Key Value
PARAM_VALUE 0 inst 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->ops->isr 4096-ptr_max
PARAM_VALUE 0 inst->fmt_cap->pixfmt 875,808530000,808996950,809062486,842094158,843534413,859189832,875967048,877088845,1127231825,1127755857,1129727304,1145656920,1194410838,1278296918
PARAM_VALUE 0 inst->fmt_out->pixfmt 875,808530000,808996950,809062486,842094158,843534413,859189832,875967048,877088845,1127231825,1127755857,1129727304,1145656920,1194410838,1278296918
PARAM_VALUE 1 fd 5972134010410418176
PARAM_VALUE 1 fd->flags 0-1
BUF_SIZE 0 inst s32min-(-1),1-s32max
BUF_SIZE 0 inst s32min-(-1),1-s32max
DATA_SOURCE 0 inst $0
MEM_ZERO 1 fd
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inst->lock
HALF_LOCKED2 0 &inst->lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/helpers.c venus_helper_queue_dpb_bufs() -> hfi_session_process_buf()

Type Parameter Key Value
PARAM_VALUE 0 inst 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->ops->isr 4096-ptr_max
PARAM_VALUE 0 inst->fmt_cap->pixfmt 808530000,808996950,809062486,825382478,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->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 fd 7697908518450794496
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->core->dev->cma_area->nranges 1
CAPPED_DATA 0 &inst->dpbbufs 1
DATA_SOURCE 0 inst $0
BIT_INFO 0 inst->codec_state 0x2,0xffffffffffffffff
MEM_ZERO 1 fd
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 q->lock
TYPE_LOCK (struct venus_inst)->lock