Defined in 2 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/unicode/utf8-core.c utf8_validate() -> utf8nlen()

Type Parameter Key Value
PARAM_VALUE 0 um 1-u64max
PARAM_VALUE 1 n 0
BUF_SIZE 2 s s32min-(-2),1-s32max
DATA_SOURCE 0 um $0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 s unit_byte
UNITS 3 len unit_byte

fs/unicode/tests/utf8_kunit.c check_utf8_nfdi() -> utf8nlen()

Type Parameter Key Value
PARAM_VALUE 1 n 0
PARAM_VALUE 3 len 0-9
BUF_SIZE 0 um s32min,(-10),1-s32max
BUF_SIZE 0 um s32min,(-10),1-s32max
BUF_SIZE 2 s 10
CAPPED_DATA 3 len 1
DATA_SOURCE 3 len r __fortify_strlen

fs/unicode/tests/utf8_kunit.c check_utf8_nfdicf() -> utf8nlen()

Type Parameter Key Value
PARAM_VALUE 1 n 1
PARAM_VALUE 3 len 0-29
BUF_SIZE 0 um s32min,(-10),1-s32max
BUF_SIZE 0 um s32min,(-10),1-s32max
BUF_SIZE 2 s 30
CAPPED_DATA 3 len 1
DATA_SOURCE 3 len r __fortify_strlen

fs/unicode/tests/utf8_kunit.c utf8len() -> utf8nlen()

Type Parameter Key Value
PARAM_VALUE 1 n 0-1
PARAM_VALUE 3 len u64max
BUF_SIZE 0 um s32min,(-10),1-s32max
BUF_SIZE 0 um s32min,(-10),1-s32max
BUF_SIZE 2 s 10,30
BUF_SIZE 2 s 10,30
DATA_SOURCE 0 um $0
DATA_SOURCE 1 n $1
DATA_SOURCE 2 s $2
HARD_MAX 1 n 1