Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/of/overlay_test.c, line 88
- lib/kunit/kunit-test.c
- lib/kunit/platform-test.c, line 87
- lib/kunit/string-stream-test.c, line 151
- lib/kunit/test.c
Smatch caller information:
lib/kunit/test.c kunit_case_internal_cleanup() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | test | $0 |
| NOCHECK_CALL |
lib/kunit/test.c kunit_run_param_test() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 267708468600430592 |
| PARAM_VALUE | 0 | test->last_seen.file | 0,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 0,99 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log | 0,4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->param_index | 0-s32max |
| PARAM_VALUE | 0 | test->params_array.elem_size | 0,4,144 |
| PARAM_VALUE | 0 | test->params_array.get_description | 0,2118733594144329728,6406034430218047488,8479278891390849024 |
| PARAM_VALUE | 0 | test->params_array.num_params | 0,4,6,12 |
| PARAM_VALUE | 0 | test->params_array.params | 0,4096-ptr_max |
| PARAM_VALUE | 0 | test->parent | 0 |
| PARAM_VALUE | 0 | test->priv | 0 |
| PARAM_VALUE | 0 | test->resources.next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->status | 0-1 |
| DATA_SOURCE | 0 | test | $2 |
| TERMINATED | 0 | test->status_comment | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &kunit_run_lock |
lib/kunit/string-stream-test.c string_stream_resource_free_test() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log | 0 |
| PARAM_VALUE | 0 | test->name | 7635491735209369600 |
| PARAM_VALUE | 0 | test->params_array.elem_size | 0 |
| PARAM_VALUE | 0 | test->params_array.get_description | 0 |
| PARAM_VALUE | 0 | test->params_array.num_params | 0 |
| PARAM_VALUE | 0 | test->params_array.params | 0 |
| PARAM_VALUE | 0 | test->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | test->resources.next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->resources.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->resources.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test->status | 0 |
| BUF_SIZE | 0 | test | 496 |
| BUF_SIZE | 0 | test->priv | s32min,(-10),1-s32max |
| DATA_SOURCE | 0 | test | r kunit_kzalloc |
| STR_LEN | 0 | test->name | (-1) |
| TERMINATED | 0 | test->name | 1 |
| TERMINATED | 0 | test->status_comment | 1 |
| MEM_ZERO | 0 | test | |
| NOCHECK_CALL |
lib/kunit/platform-test.c kunit_platform_device_add_cleans_up() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 2147073698939576320 |
| PARAM_VALUE | 0 | test->last_seen.file | 626550868778676224,3113111990925307904,3816104602900295680,4521726187253084160,5633985818145140736,8065063714399641600,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 31,50,54,99,101,157,186,229,232,299,302,651,3450 |
| PARAM_VALUE | 0 | test->log | 0 |
| PARAM_VALUE | 0 | test->name | 9121292206643535872 |
| PARAM_VALUE | 0 | test->resources.next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->status | 0 |
| TERMINATED | 0 | test->name | 1 |
| TERMINATED | 0 | test->status_comment | 1 |
| NOCHECK_CALL |
drivers/of/overlay_test.c of_overlay_apply_kunit_cleanup() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 8884193993262465024 |
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99 |
| PARAM_VALUE | 0 | test->log | 0 |
| PARAM_VALUE | 0 | test->name | 8326992160549883904 |
| PARAM_VALUE | 0 | test->resources.next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->status | 0-1 |
| TERMINATED | 0 | test->name | 1 |
| TERMINATED | 0 | test->status_comment | 1 |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_current_fail_test() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 8426164338287939584 |
| PARAM_VALUE | 0 | test->log | 0 |
| PARAM_VALUE | 0 | test->name | 8326992160549883904 |
| PARAM_VALUE | 0 | test->resources.next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->resources.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test->status | 0 |
| TERMINATED | 0 | test->name | 1 |
| TERMINATED | 0 | test->status_comment | 1 |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_device_cleanup_test() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5560335205197934592,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,773 |
| PARAM_VALUE | 0 | test->log->fragments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 773 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_action() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5560335205197934592,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,468 |
| PARAM_VALUE | 0 | test->log->fragments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 468 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_action() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5560335205197934592,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,470 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->fragments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->resources.next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->status | 1 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 470 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| PARAM_COMPARE | 0 | &test->resources | == $0->resources.next |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_action() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->fragments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->resources.next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->status | 1 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test->last_seen.file | (-1) |
| PARAM_COMPARE | 0 | &test->resources | == $0->resources.next |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_action_ordering() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | test | $0 |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_cleanup_resources() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_exit() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_named() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5560335205197934592,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,449 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->fragments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 449 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_proper_free_ordering() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_release_action() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5560335205197934592,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,501 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->fragments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 501 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_remove_action() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5560335205197934592,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,487 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->fragments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->status | 1 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 487 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_static() -> kunit_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5560335205197934592,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,414 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->fragments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->fragments.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->resources.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->resources.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->status | 1 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 414 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| NOCHECK_CALL |