Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/verisilicon/hantro_drv.c hantro_attach_func() -> hantro_register_entity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_internal_idx.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | mdev->entity_notify.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_notify.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev->graph_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev->interfaces.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->links.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->num_request_objects.counter | 0 |
| PARAM_VALUE | 0 | mdev->num_requests.counter | 0 |
| PARAM_VALUE | 0 | mdev->ops | 9043044279455358976 |
| PARAM_VALUE | 0 | mdev->pads.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pads.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | mdev->request_id.counter | 0 |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 1 | entity->function | 0,4098-4099,65537 |
| PARAM_VALUE | 1 | entity->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 1 | entity->info.dev.major | 81 |
| PARAM_VALUE | 1 | entity->info.dev.minor | 0-192,224-255 |
| PARAM_VALUE | 1 | entity->internal_idx | 0-s32max |
| PARAM_VALUE | 1 | entity->links.next | 4096-ptr_max |
| PARAM_VALUE | 1 | entity->links.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | entity->num_backlinks | 0 |
| PARAM_VALUE | 1 | entity->num_links | 0 |
| PARAM_VALUE | 1 | entity->obj_type | 1 |
| PARAM_VALUE | 2 | entity_name | 3353014451924226048 |
| PARAM_VALUE | 3 | pads | 4096-ptr_max |
| PARAM_VALUE | 3 | pads->flags | 2 |
| PARAM_VALUE | 4 | num_pads | 1 |
| PARAM_VALUE | 5 | function | 65537 |
| PARAM_VALUE | 6 | vdev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->cdev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->dev.release | 6593789798798196736 |
| PARAM_VALUE | 6 | vdev->device_caps | 67125248 |
| PARAM_VALUE | 6 | vdev->entity.function | 0,4098-4099,65537 |
| PARAM_VALUE | 6 | vdev->entity.graph_obj.id | 0-67108863 |
| PARAM_VALUE | 6 | vdev->entity.info.dev.major | 81 |
| PARAM_VALUE | 6 | vdev->entity.info.dev.minor | 0-192,224-255 |
| PARAM_VALUE | 6 | vdev->entity.internal_idx | 0-s32max |
| PARAM_VALUE | 6 | vdev->entity.links.next | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->entity.links.prev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->entity.obj_type | 1 |
| PARAM_VALUE | 6 | vdev->fh_list.next | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->fh_list.prev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->fops | 3812874144683868160 |
| PARAM_VALUE | 6 | vdev->index | 0-64 |
| PARAM_VALUE | 6 | vdev->ioctl_ops | 6817368784495722496 |
| PARAM_VALUE | 6 | vdev->lock | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->minor | 0-192,224-255 |
| PARAM_VALUE | 6 | vdev->num | 0-64 |
| PARAM_VALUE | 6 | vdev->prio | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->release | 823504710178533376 |
| PARAM_VALUE | 6 | vdev->v4l2_dev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->vfl_dir | 2 |
| PARAM_VALUE | 6 | vdev->vfl_type | 0 |
| BUF_SIZE | 0 | mdev | 992 |
| BUF_SIZE | 2 | entity_name | 7 |
| STR_LEN | 0 | mdev | 6 |
| TERMINATED | 2 | entity_name | 1 |
| MEM_ZERO | 0 | mdev | |
| MEM_ZERO | 1 | entity | |
| MEM_ZERO | 3 | pads | |
| MEM_ZERO | 6 | vdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_drv.c hantro_attach_func() -> hantro_register_entity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_internal_idx.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | mdev->entity_internal_idx_max | 0-s32max |
| PARAM_VALUE | 0 | mdev->entity_notify.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_notify.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mdev->graph_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev->interfaces.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->interfaces.prev | 0 |
| PARAM_VALUE | 0 | mdev->interfaces.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->interfaces.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->links.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->num_request_objects.counter | 0 |
| PARAM_VALUE | 0 | mdev->num_requests.counter | 0 |
| PARAM_VALUE | 0 | mdev->ops | 9043044279455358976 |
| PARAM_VALUE | 0 | mdev->pads.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pads.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pm_count_walk.ent_enum.bmap | 16,4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pm_count_walk.top | 0 |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | mdev->request_id.counter | 0 |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | entity_name | 563160624803344384 |
| PARAM_VALUE | 4 | num_pads | 2 |
| PARAM_VALUE | 5 | function | 16391-16392 |
| PARAM_VALUE | 6 | vdev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->cdev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->dev.release | 6593789798798196736 |
| PARAM_VALUE | 6 | vdev->device_caps | 67125248 |
| PARAM_VALUE | 6 | vdev->entity.function | 65537 |
| PARAM_VALUE | 6 | vdev->entity.graph_obj.id | 0-67108863 |
| PARAM_VALUE | 6 | vdev->entity.graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->entity.graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->entity.info.dev.major | 81 |
| PARAM_VALUE | 6 | vdev->entity.info.dev.minor | 0-192,224-288,u32max |
| PARAM_VALUE | 6 | vdev->entity.internal_idx | 0-s32max |
| PARAM_VALUE | 6 | vdev->entity.links.next | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->entity.links.prev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->entity.name | 1-u64max |
| PARAM_VALUE | 6 | vdev->entity.num_pads | 1 |
| PARAM_VALUE | 6 | vdev->entity.pads | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->fh_list.next | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->fh_list.prev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->fops | 3812874144683868160 |
| PARAM_VALUE | 6 | vdev->index | 0-64 |
| PARAM_VALUE | 6 | vdev->ioctl_ops | 6817368784495722496 |
| PARAM_VALUE | 6 | vdev->lock | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->minor | 0-192,224-255 |
| PARAM_VALUE | 6 | vdev->num | 0-64 |
| PARAM_VALUE | 6 | vdev->prio | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->release | 823504710178533376 |
| PARAM_VALUE | 6 | vdev->v4l2_dev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->vfl_dir | 2 |
| PARAM_VALUE | 6 | vdev->vfl_type | 0 |
| BUF_SIZE | 0 | mdev | 992 |
| BUF_SIZE | 2 | entity_name | 5 |
| BUF_SIZE | 3 | pads | 128 |
| STR_LEN | 0 | mdev | 4 |
| TERMINATED | 2 | entity_name | 1 |
| MEM_ZERO | 0 | mdev | |
| MEM_ZERO | 1 | entity | |
| MEM_ZERO | 6 | vdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_drv.c hantro_attach_func() -> hantro_register_entity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entities.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_internal_idx.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | mdev->entity_internal_idx_max | 0-s32max |
| PARAM_VALUE | 0 | mdev->entity_notify.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->entity_notify.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mdev->graph_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mdev->graph_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev->interfaces.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->interfaces.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->interfaces.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->links.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->num_request_objects.counter | 0 |
| PARAM_VALUE | 0 | mdev->num_requests.counter | 0 |
| PARAM_VALUE | 0 | mdev->ops | 9043044279455358976 |
| PARAM_VALUE | 0 | mdev->pads.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pads.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pm_count_walk.ent_enum.bmap | 16,4096-ptr_max |
| PARAM_VALUE | 0 | mdev->pm_count_walk.top | 0 |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev->req_queue_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | mdev->request_id.counter | 0 |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | entity_name | 6071539805341184000 |
| PARAM_VALUE | 3 | pads | 4096-ptr_max |
| PARAM_VALUE | 3 | pads->flags | 1 |
| PARAM_VALUE | 4 | num_pads | 1 |
| PARAM_VALUE | 5 | function | 65537 |
| PARAM_VALUE | 6 | vdev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->cdev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->dev.release | 6593789798798196736 |
| PARAM_VALUE | 6 | vdev->device_caps | 67125248 |
| PARAM_VALUE | 6 | vdev->entity.function | 65537 |
| PARAM_VALUE | 6 | vdev->entity.graph_obj.id | 0-67108863 |
| PARAM_VALUE | 6 | vdev->entity.graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->entity.graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->entity.info.dev.major | 81 |
| PARAM_VALUE | 6 | vdev->entity.info.dev.minor | 0-192,224-288,u32max |
| PARAM_VALUE | 6 | vdev->entity.internal_idx | 0-s32max |
| PARAM_VALUE | 6 | vdev->entity.links.next | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->entity.links.prev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->entity.name | 1-u64max |
| PARAM_VALUE | 6 | vdev->entity.num_pads | 1 |
| PARAM_VALUE | 6 | vdev->entity.pads | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->fh_list.next | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->fh_list.prev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->fops | 3812874144683868160 |
| PARAM_VALUE | 6 | vdev->index | 0-64 |
| PARAM_VALUE | 6 | vdev->ioctl_ops | 6817368784495722496 |
| PARAM_VALUE | 6 | vdev->lock | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->minor | 0-192,224-255 |
| PARAM_VALUE | 6 | vdev->num | 0-64 |
| PARAM_VALUE | 6 | vdev->prio | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->release | 823504710178533376 |
| PARAM_VALUE | 6 | vdev->v4l2_dev | 4096-ptr_max |
| PARAM_VALUE | 6 | vdev->vfl_dir | 2 |
| PARAM_VALUE | 6 | vdev->vfl_type | 0 |
| BUF_SIZE | 0 | mdev | 992 |
| BUF_SIZE | 2 | entity_name | 5 |
| STR_LEN | 0 | mdev | 4 |
| TERMINATED | 2 | entity_name | 1 |
| MEM_ZERO | 0 | mdev | |
| MEM_ZERO | 1 | entity | |
| MEM_ZERO | 3 | pads | |
| MEM_ZERO | 6 | vdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |