Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/amphion/venc.c venc_request_mem_resource() -> venc_cleanup_mem_resource()
| 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->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->core->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->core->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->core->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->core->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | inst->core->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | inst->core->type | 0-16 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| 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 | 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->cleanup | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->mem_request | 375592213429555200 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| DATA_SOURCE | 0 | inst | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vpu_inst)->lock |
drivers/media/platform/amphion/venc.c venc_request_mem_resource() -> venc_cleanup_mem_resource()
| 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->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->core->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->core->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->core->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->core->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | inst->core->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | inst->core->type | 0-16 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| 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 | 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->cleanup | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->mem_request | 375592213429555200 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| DATA_SOURCE | 0 | inst | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vpu_inst)->lock |
drivers/media/platform/amphion/venc.c venc_request_mem_resource() -> venc_cleanup_mem_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->type | 0-16 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| 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 | 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->cleanup | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->mem_request | 375592213429555200 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| DATA_SOURCE | 0 | inst | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vpu_inst)->lock |
drivers/media/platform/amphion/venc.c venc_stop_session() -> venc_cleanup_mem_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->stop | 4664844317685211136,7937231471050149888 |
| PARAM_VALUE | 0 | inst->ops->wait_finish | 2078898504568041472 |
| PARAM_VALUE | 0 | inst->ops->wait_prepare | 4389490158867030016 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 1 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| BUF_SIZE | 0 | inst | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | inst | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | inst | $0 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock | ||
| HALF_LOCKED2 | 0 | &inst->lock |