Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/amphion/vdec.c vdec_response_frame() -> vpu_session_alloc_fs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->cap_format.bytesperline | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->cap_format.sizeimage | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->fh.m2m_ctx | 1-u64max |
| PARAM_VALUE | 0 | inst->id | 0-s32max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->check_ready | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | inst->ops->process_capture | 5873453715843440640,7798169779948142592 |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 5 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | fs | 3884337386622119936 |
| PARAM_VALUE | 1 | fs->id | 0-s32max |
| PARAM_VALUE | 1 | fs->type | 0 |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| MEM_ZERO | 1 | fs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inst->stream_buffer.length | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/amphion/vdec.c vdec_response_frame_abnormal() -> vpu_session_alloc_fs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->cap_format->bytesperline | 0-u32max |
| PARAM_VALUE | 0 | inst->cap_format->sizeimage | 4096-u32max |
| PARAM_VALUE | 0 | inst->cap_format.field | 1-u32max |
| PARAM_VALUE | 0 | inst->cap_format.pixfmt | 1-u32max |
| 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->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->type | 0-16 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inst->core->vpu->res | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res->plat_type | 0-1 |
| 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->check_ready | 2461682757149356032,4547532583366561792 |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->out_format.pixfmt | 0-1129727305 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->priv->codec_info.decoded_height | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->codec_info.decoded_width | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->codec_info.pixfmt | 1-4294967295 |
| PARAM_VALUE | 0 | inst->priv->dcp.max_count | 32 |
| PARAM_VALUE | 0 | inst->priv->dcp.size | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->dcp.tag | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->dcp.type | 2 |
| PARAM_VALUE | 0 | inst->priv->mbi.max_count | 32 |
| PARAM_VALUE | 0 | inst->priv->mbi.size | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->mbi.tag | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->mbi.type | 1 |
| PARAM_VALUE | 0 | inst->vpu->decoder.function | 0,16391-16392 |
| PARAM_VALUE | 0 | inst->vpu->encoder.function | 0,16391-16392 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 0 | *inst->priv->dcp.name | 0-255 |
| PARAM_VALUE | 0 | *inst->priv->mbi.name | 0-255 |
| PARAM_VALUE | 1 | fs | 843885233538138112 |
| PARAM_VALUE | 1 | fs->type | 0 |
| DATA_SOURCE | 0 | inst | $0 |
| MEM_ZERO | 1 | fs | |
| RX_PATH | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &inst->lock | |
| TYPE_LOCK | (struct vpu_inst)->lock |
drivers/media/platform/amphion/vdec.c vdec_response_fs() -> vpu_session_alloc_fs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 1-u64max |
| PARAM_VALUE | 0 | inst->core->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | inst->core->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->check_ready | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu->decoder.function | 0,16391-16392 |
| PARAM_VALUE | 0 | inst->vpu->encoder.function | 0,16391-16392 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | fs | 5161136401313665024 |
| PARAM_VALUE | 1 | fs->id | 0-4294967294 |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| MEM_ZERO | 1 | fs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vpu_inst)->lock |