Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- lib/kunit/assert_test.c
- lib/kunit/kunit-test.c, line 598
- lib/kunit/string-stream-test.c
- lib/kunit/test.c, line 295
Smatch caller information:
lib/kunit/assert_test.c kunit_test_assert_hexdump() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/assert_test.c kunit_test_assert_print_msg() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/assert_test.c kunit_test_assert_prologue() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/assert_test.c kunit_test_binary_assert_format() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/assert_test.c kunit_test_binary_ptr_assert_format() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test->last_seen.file | 4064155701385715712 |
| PARAM_VALUE | 0 | test->last_seen.line | 244 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | gfp | 3264 |
| BUF_SIZE | 0 | test->last_seen.file | 24 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test->last_seen.file | 23 |
lib/kunit/assert_test.c kunit_test_binary_str_assert_format() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/assert_test.c kunit_test_mem_assert_format() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/assert_test.c kunit_test_mem_assert_format() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test->last_seen.file | 4064155701385715712 |
| PARAM_VALUE | 0 | test->last_seen.line | 346 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | gfp | 3264 |
| BUF_SIZE | 0 | test->last_seen.file | 24 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test->last_seen.file | 23 |
lib/kunit/assert_test.c kunit_test_ptr_not_err_assert_format() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/assert_test.c kunit_test_unary_assert_format() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/test.c kunit_fail() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->status | 1 |
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/string-stream-test.c string_stream_append_auto_newline_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/string-stream-test.c string_stream_append_auto_newline_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088,9137709962381012992 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,349 |
| 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 | gfp | 3264 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),31 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 349 |
| STR_LEN | 0 | test->last_seen.file | (-1),30 |
lib/kunit/string-stream-test.c string_stream_append_auto_newline_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088,9137709962381012992 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,360 |
| 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 | gfp | 3264 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),31 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 360 |
| STR_LEN | 0 | test->last_seen.file | (-1),30 |
lib/kunit/string-stream-test.c string_stream_append_empty_string_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/string-stream-test.c string_stream_append_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/string-stream-test.c string_stream_append_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test->last_seen.file | 9137709962381012992 |
| PARAM_VALUE | 0 | test->last_seen.line | 289 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | gfp | 3264 |
| BUF_SIZE | 0 | test->last_seen.file | 31 |
| DATA_SOURCE | 0 | test | $0 |
| STR_LEN | 0 | test->last_seen.file | 30 |
lib/kunit/string-stream-test.c string_stream_append_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088,9137709962381012992 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,328 |
| 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 | gfp | 3264 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),31 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 328 |
| STR_LEN | 0 | test->last_seen.file | (-1),30 |
lib/kunit/string-stream-test.c string_stream_auto_newline_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/string-stream-test.c string_stream_line_add_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/string-stream-test.c string_stream_managed_free_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3265352354559807488 |
| PARAM_VALUE | 0 | test->last_seen.line | 94,115 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/string-stream-test.c string_stream_managed_init_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/string-stream-test.c string_stream_no_auto_newline_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/string-stream-test.c string_stream_performance_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/string-stream-test.c string_stream_resource_free_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3265352354559807488 |
| PARAM_VALUE | 0 | test->last_seen.line | 94,115 |
| 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 |
| PARAM_VALUE | 1 | gfp | 3264 |
| 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 |
lib/kunit/string-stream-test.c string_stream_variable_length_line_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |
lib/kunit/kunit-test.c kunit_log_test() -> kunit_alloc_string_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | test | $0 |