Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- include/kunit/resource.h, line 203
- lib/kunit/kunit-test.c, line 442
- lib/tests/fortify_kunit.c, line 75
- mm/slub.c
Smatch caller information:
mm/slub.c slab_add_kunit_errors() -> kunit_find_named_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 2934209966350745600 |
| BUF_SIZE | 1 | name | 12 |
| STR_LEN | 0 | test | 11 |
| TERMINATED | 1 | name | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &n->list_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &object_map_lock | ||
| HALF_LOCKED2 | global &slab_mutex | ||
| HALF_LOCKED2 | irq |
mm/slub.c slab_in_kunit_test() -> kunit_find_named_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 2934209966350745600 |
| BUF_SIZE | 1 | name | 12 |
| STR_LEN | 0 | test | 11 |
| TERMINATED | 1 | name | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &slab_mutex |
lib/tests/slub_kunit.c kunit_add_named_resource() -> kunit_find_named_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 2934209966350745600 |
| BUF_SIZE | 1 | name | 12 |
| BUF_SIZE | 1 | name | 12 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | name | $4 |
| STR_LEN | 0 | test | 11 |
| STR_LEN | 0 | test | 11 |
| TERMINATED | 1 | name | 1 |
lib/tests/fortify_kunit.c fortify_add_kunit_error() -> kunit_find_named_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 1-u64max |
| PARAM_VALUE | 1 | name | 3764042470920536064,5220579600775200768 |
| BUF_SIZE | 1 | name | 23-24 |
| DATA_SOURCE | 0 | test | r kunit_get_current_test |
| STR_LEN | 0 | test | 22-23 |
| BIT_INFO | 1 | name | 0x30102c30934000,0x7c7fb9ffbffbc000 |
| TERMINATED | 1 | name | 1 |
lib/tests/fortify_kunit.c kunit_add_named_resource() -> kunit_find_named_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 3764042470920536064,5220579600775200768 |
| BUF_SIZE | 1 | name | 23-24 |
| BUF_SIZE | 1 | name | 23-24 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | name | $4 |
| STR_LEN | 0 | test | 22-23 |
| STR_LEN | 0 | test | 22-23 |
| TERMINATED | 1 | name | 1 |
lib/kunit/kunit-test.c kunit_add_named_resource() -> kunit_find_named_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 5494723978747338752,8913745866167984128 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| BUF_SIZE | 1 | name | 11 |
| BUF_SIZE | 1 | name | 11 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | name | $4 |
| STR_LEN | 0 | test | 10 |
| STR_LEN | 0 | test | 10 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| TERMINATED | 1 | name | 1 |
lib/kunit/kunit-test.c kunit_resource_test_named() -> kunit_find_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,437 |
| 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 | name | 5494723978747338752 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),23 |
| BUF_SIZE | 1 | name | 11 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 437 |
| STR_LEN | 0 | test | 10 |
| STR_LEN | 0 | test->last_seen.file | (-1),22 |
| TERMINATED | 1 | name | 1 |