Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_util.c, line 147
- drivers/media/platform/mediatek/vcodec/decoder/vdec_drv_if.c
- drivers/media/platform/mediatek/vcodec/decoder/vdec_msg_queue.c
Smatch caller information:
drivers/media/platform/mediatek/vcodec/decoder/vdec_drv_if.c vdec_if_decode() -> mtk_vcodec_set_curr_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vdec_dev->subdev_bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | vdec_dev->vdec_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | *vdec_dev->vdec_racing_info | 0-4294967295 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | ctx->dev->subdev_bitmap | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->dev->vdec_pdata | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->drv_handle | 1-u64max |
| PARAM_VALUE | 1 | *ctx->dev->vdec_racing_info | 0-4294967295 |
| BUF_SIZE | 1 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ctx | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | ctx | $0 |
| STR_LEN | 0 | vdec_dev | (-1) |
| STR_LEN | 1 | ctx | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/platform/mediatek/vcodec/decoder/vdec_drv_if.c vdec_if_decode() -> mtk_vcodec_set_curr_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | vdec_dev->dec_racing_info_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vdec_dev->irqlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdec_dev->subdev_bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | vdec_dev->vdec_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | *vdec_dev->vdec_racing_info | 0-4294967295 |
| PARAM_VALUE | 1 | ctx | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/platform/mediatek/vcodec/decoder/vdec_msg_queue.c vdec_msg_queue_core_work() -> mtk_vcodec_set_curr_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | ctx->dev->dec_racing_info_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | ctx->dev->subdev_bitmap | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->dev->vdec_pdata | 4096-ptr_max |
| PARAM_VALUE | 2 | hw_idx | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/vcodec/decoder/vdec_msg_queue.c vdec_msg_queue_core_work() -> mtk_vcodec_set_curr_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdec_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdec_dev->irqlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vdec_dev->vdec_pdata | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | hw_idx | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |