Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
lib/tests/slub_kunit.c test_init() -> kunit_add_named_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | init | 0 |
| PARAM_VALUE | 2 | free | 0 |
| PARAM_VALUE | 3 | res | 4055327899438047232 |
| PARAM_VALUE | 4 | name | 2934209966350745600 |
| PARAM_VALUE | 5 | data | 6787974134457024512 |
| PARAM_VALUE | 5 | *data | 0 |
| BUF_SIZE | 4 | name | 12 |
| BUF_SIZE | 5 | data | 4 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 11 |
| TERMINATED | 4 | name | 1 |
| NOCHECK_CALL |
lib/tests/fortify_kunit.c fortify_test_init() -> kunit_add_named_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | init | 0 |
| PARAM_VALUE | 2 | free | 0 |
| PARAM_VALUE | 3 | res | 6097838846292918272 |
| PARAM_VALUE | 4 | name | 3764042470920536064 |
| PARAM_VALUE | 5 | data | 7765549746160295936 |
| PARAM_VALUE | 5 | *data | 0 |
| BUF_SIZE | 4 | name | 23 |
| BUF_SIZE | 5 | data | 4 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 22 |
| TERMINATED | 4 | name | 1 |
| NOCHECK_CALL |
lib/tests/fortify_kunit.c fortify_test_init() -> kunit_add_named_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | init | 0 |
| PARAM_VALUE | 2 | free | 0 |
| PARAM_VALUE | 3 | res | 720928824410845184 |
| PARAM_VALUE | 4 | name | 5220579600775200768 |
| PARAM_VALUE | 5 | data | 8253391524369956864 |
| PARAM_VALUE | 5 | *data | 0 |
| BUF_SIZE | 4 | name | 24 |
| BUF_SIZE | 5 | data | 4 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 23 |
| TERMINATED | 4 | name | 1 |
| NOCHECK_CALL |
lib/kunit/kunit-test.c kunit_resource_test_named() -> kunit_add_named_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | init | 0 |
| PARAM_VALUE | 2 | free | 0 |
| PARAM_VALUE | 3 | res | 8203936689950793728 |
| PARAM_VALUE | 4 | name | 5494723978747338752 |
| PARAM_VALUE | 5 | data | 3072906330294747136 |
| BUF_SIZE | 4 | name | 11 |
| BUF_SIZE | 5 | data | 528 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test | 10 |
| TERMINATED | 4 | name | 1 |
lib/kunit/kunit-test.c kunit_resource_test_named() -> kunit_add_named_resource()
| 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,430 |
| 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 |
| PARAM_VALUE | 1 | init | 0 |
| PARAM_VALUE | 2 | free | 0 |
| PARAM_VALUE | 3 | res | 8203936689950793728 |
| PARAM_VALUE | 4 | name | 5494723978747338752 |
| PARAM_VALUE | 5 | data | 3072906330294747136 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| BUF_SIZE | 4 | name | 11 |
| BUF_SIZE | 5 | data | 528 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 430 |
| STR_LEN | 0 | test | 10 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| TERMINATED | 4 | name | 1 |
lib/kunit/kunit-test.c kunit_resource_test_named() -> kunit_add_named_resource()
| 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,432 |
| 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 |
| PARAM_VALUE | 1 | init | 0 |
| PARAM_VALUE | 2 | free | 0 |
| PARAM_VALUE | 3 | res | 8234562891060428800 |
| PARAM_VALUE | 4 | name | 8913745866167984128 |
| PARAM_VALUE | 5 | data | 3072906330294747136 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| BUF_SIZE | 4 | name | 11 |
| BUF_SIZE | 5 | data | 528 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 432 |
| STR_LEN | 0 | test | 10 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| TERMINATED | 4 | name | 1 |