Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/test_kmod.c alloc_test_dev_kmod() -> free_test_dev_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->config.num_threads | 50 |
| PARAM_VALUE | 0 | test_dev->config.test_case | 1 |
| PARAM_VALUE | 0 | test_dev->config.test_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->config.test_fs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->config.test_result | 0 |
| PARAM_VALUE | 0 | test_dev->config_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | test_dev->config_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | test_dev->dev_idx | s32min-2147483645,s32max |
| PARAM_VALUE | 0 | test_dev->info | 1-u64max |
| PARAM_VALUE | 0 | test_dev->kthreads_done.done | 0 |
| PARAM_VALUE | 0 | test_dev->kthreads_done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | test_dev->kthreads_done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | test_dev->kthreads_done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | test_dev->kthreads_done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->kthreads_done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->kthreads_done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->kthreads_done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->kthreads_done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->misc_dev.minor | 255 |
| PARAM_VALUE | 0 | test_dev->misc_dev.name | 0 |
| PARAM_VALUE | 0 | test_dev->test_is_oom | 0 |
| PARAM_VALUE | 0 | test_dev->thread_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->thread_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | test_dev->thread_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->thread_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | test_dev->thread_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.owner.counter | 0 |
| BUF_SIZE | 0 | test_dev | 712 |
| DATA_SOURCE | 0 | test_dev | r vzalloc_noprof |
| NOCHECK_CALL | |||
| LOCK2 | global ®_dev_mutex |
lib/test_kmod.c free_test_dev_kmod() -> free_test_dev_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->config_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | test_dev->config_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | test_dev->misc_dev.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->misc_dev.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->misc_dev.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->misc_dev.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->misc_dev.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->misc_dev.minor | s32min-255 |
| PARAM_VALUE | 0 | test_dev->misc_dev.name | 0 |
| PARAM_VALUE | 0 | test_dev->thread_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->thread_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->thread_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | test_dev->thread_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | test_dev->thread_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->thread_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | test_dev->thread_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | test_dev->thread_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | test_dev->thread_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | test_dev->thread_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | test_dev->trigger_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| BUF_SIZE | 0 | test_dev | (-1),712 |
| BUF_SIZE | 0 | test_dev | (-1),712 |
| CAPPED_DATA | 0 | test_dev->config.num_threads | 1 |
| DATA_SOURCE | 0 | test_dev | $0 |
| NOCHECK_CALL | |||
| LOCK2 | global ®_dev_mutex |
lib/test_kmod.c kmod_config_sync_info() -> free_test_dev_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->config_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | test_dev->config_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | test_dev->config_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | test_dev->config_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test_dev->config_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | test_dev->config_mutex.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | test_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &test_dev->config_mutex | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &test_dev->trigger_mutex | |
| TYPE_LOCK | (struct kmod_test_device)->config_mutex |