Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

lib/kunit/assert_test.c get_str_from_stream() -> string_stream_get_string()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->gfp 3264
BUF_SIZE 0 stream 104
DATA_SOURCE 0 stream $1
STR_LEN 0 stream (-1),2,4,8
STR_LEN 0 stream (-1),2,4,8

lib/kunit/test.c kunit_print_string_stream() -> string_stream_get_string()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->fragments.next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.next->next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->next->next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->prev 4096-ptr_max
PARAM_VALUE 0 stream->gfp 3264
BUF_SIZE 0 stream 104
DATA_SOURCE 0 stream $1
PARAM_COMPARE 0 &stream->fragments != $0->fragments.next

lib/kunit/string-stream-test.c get_concatenated_string() -> string_stream_get_string()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->fragments.next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->prev 4096-ptr_max
PARAM_VALUE 0 stream->gfp 3264
BUF_SIZE 0 stream 104
DATA_SOURCE 0 stream $1

lib/kunit/string-stream.c string_stream_append() -> string_stream_get_string()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->fragments.next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.next->next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->prev 4096-ptr_max
PARAM_VALUE 0 stream->gfp 3264
BUF_SIZE 0 stream 104
DATA_SOURCE 0 stream $1

lib/kunit/kunit-test.c kunit_log_newline_test() -> string_stream_get_string()

Type Parameter Key Value
PARAM_VALUE 0 stream 1-u64max
PARAM_VALUE 0 stream->fragments.prev 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->next->next 4096-ptr_max
PARAM_VALUE 0 stream->lock.rlock.dep_map->name 0-255

lib/kunit/kunit-test.c kunit_log_test() -> string_stream_get_string()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->fragments.prev->next->next 4096-ptr_max
PARAM_VALUE 0 stream->lock.rlock.dep_map->name 0-255

lib/kunit/kunit-test.c kunit_log_test() -> string_stream_get_string()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->append_newlines 1
PARAM_VALUE 0 stream->gfp 3264
BUF_SIZE 0 stream 104
DATA_SOURCE 0 stream r kunit_alloc_string_stream