Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/mc/mc-device.c media_device_register_entity() -> __media_device_unregister_entity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.id | 0-67108863 |
| PARAM_VALUE | 0 | entity->graph_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->internal_idx | 0-s32max |
| PARAM_VALUE | 0 | entity->links.next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->links.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->num_backlinks | 0 |
| PARAM_VALUE | 0 | entity->num_links | 0 |
| PARAM_VALUE | 0 | entity->pads | 4096-ptr_max |
| BUF_SIZE | 0 | entity | (-1),120 |
| BUF_SIZE | 0 | entity | (-1),120 |
| BUF_SIZE | 0 | entity->name | (-1)-s32max |
| DATA_SOURCE | 0 | entity | $1 |
| STR_LEN | 0 | entity->graph_obj.mdev | (-1) |
| STR_LEN | 0 | entity->name | (-1),10,15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | entity->flags | 0-u64max |
| HOST_DATA | 0 | entity->info.dev.major | 0-u32max |
| HOST_DATA | 0 | entity->info.dev.minor | 0-u32max |
| HOST_DATA | 0 | entity->obj_type | 0-u32max |
| HOST_DATA | 0 | entity->use_count | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 0 | entity->num_pads | |
| LOCK2 | &mdev->graph_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &dvbdev_register_lock | ||
| HALF_LOCKED2 | global &em28xx_devlist_mutex | ||
| HALF_LOCKED2 | global &videodev_lock | ||
| TYPE_LOCK | (struct media_device)->graph_mutex |
drivers/media/mc/mc-device.c media_device_unregister() -> __media_device_unregister_entity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| CAPPED_DATA | 0 | &entity->graph_obj.list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mdev->graph_mutex | ||
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &adap->dvb_adap.mdev_lock | ||
| HALF_LOCKED2 | global &list_lock | ||
| HALF_LOCKED2 | global &media_device_lock | ||
| TYPE_LOCK | (struct media_device)->graph_mutex |
drivers/media/mc/mc-device.c media_device_unregister_entity() -> __media_device_unregister_entity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev | 1-u64max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->graph_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->graph_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->graph_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->graph_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->graph_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->graph_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | entity->graph_obj.mdev->graph_mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | entity | (-1),120 |
| BUF_SIZE | 0 | entity | (-1),120 |
| DATA_SOURCE | 0 | entity | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | entity->num_pads | |
| LOCK2 | &mdev->graph_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &em28xx_devlist_mutex | ||
| HALF_LOCKED2 | global &videodev_lock | ||
| TYPE_LOCK | (struct media_device)->graph_mutex |