Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/platform/wmi/tests/string_kunit.c wmi_string_from_utf8s_invalid_test() -> wmi_string_from_utf8s()

Type Parameter Key Value
PARAM_VALUE 0 str 16,4096-ptr_max
PARAM_VALUE 1 max_chars 6
PARAM_VALUE 2 src 9087263735095549952
PARAM_VALUE 3 src_length 7
BUF_SIZE 0 str 14
BUF_SIZE 0 str 14
BUF_SIZE 0 str->chars 12
BUF_SIZE 2 src 7
DATA_SOURCE 0 str r kunit_kzalloc
MEM_ZERO 0 str
UNITS 3 src_length unit_byte

drivers/platform/wmi/tests/string_kunit.c wmi_string_from_utf8s_oversized_test() -> wmi_string_from_utf8s()

Type Parameter Key Value
PARAM_VALUE 0 str 16,4096-ptr_max
PARAM_VALUE 1 max_chars 5
PARAM_VALUE 2 src 994653863277318144
PARAM_VALUE 3 src_length 6
BUF_SIZE 0 str 12
BUF_SIZE 0 str 12
BUF_SIZE 0 str->chars 10
BUF_SIZE 2 src 6
DATA_SOURCE 0 str r kunit_kzalloc
MEM_ZERO 0 str
UNITS 3 src_length unit_byte

drivers/platform/wmi/tests/string_kunit.c wmi_string_from_utf8s_padded_test() -> wmi_string_from_utf8s()

Type Parameter Key Value
PARAM_VALUE 0 str 16,4096-ptr_max
PARAM_VALUE 1 max_chars 6
PARAM_VALUE 2 src 3857577483584147456
PARAM_VALUE 3 src_length 6
BUF_SIZE 0 str 14
BUF_SIZE 0 str 14
BUF_SIZE 0 str->chars 12
BUF_SIZE 2 src 6
DATA_SOURCE 0 str r kunit_kzalloc
MEM_ZERO 0 str
UNITS 3 src_length unit_byte

drivers/platform/wmi/tests/string_kunit.c wmi_string_from_utf8s_test() -> wmi_string_from_utf8s()

Type Parameter Key Value
PARAM_VALUE 0 str 16,4096-ptr_max
BUF_SIZE 0 str 0-u64max
DATA_SOURCE 0 str r kunit_kzalloc
MEM_ZERO 0 str