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/thunderbolt/xdomain.c tb_xdomain_get_properties() -> tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 0,16,4096-ptr_max
PARAM_VALUE 0 *block 0-4294967295
PARAM_VALUE 1 block_len 1-s32max
CAPPED_DATA 1 block_len 1
DATA_SOURCE 1 block_len r tb_xdp_properties_request
NO_OVERFLOW_SIMPLE 1 block_len
LOCK2 &xd->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb_xdomain)->lock

drivers/thunderbolt/test.c tb_test_property_copy() -> tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 234233709292998656
PARAM_VALUE 1 block_len 53
BUF_SIZE 0 block 212
UNITS 1 block_len unit_array_size

drivers/thunderbolt/test.c tb_test_property_format() -> tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 234233709292998656
PARAM_VALUE 1 block_len 53
BUF_SIZE 0 block 212
UNITS 1 block_len unit_array_size

drivers/thunderbolt/test.c tb_test_property_parse() -> tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 234233709292998656
PARAM_VALUE 1 block_len 53
BUF_SIZE 0 block 212
UNITS 1 block_len unit_array_size

drivers/thunderbolt/test.c tb_test_property_parse_dir_len_underflow() -> tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 4096-ptr_max
PARAM_VALUE 1 block_len 7
BUF_SIZE 0 block 28
BUF_SIZE 0 block 28
DATA_SOURCE 0 block r kunit_kzalloc
MEM_ZERO 0 block

drivers/thunderbolt/test.c tb_test_property_parse_recursion() -> tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 4096-ptr_max
PARAM_VALUE 1 block_len 10
BUF_SIZE 0 block 40
BUF_SIZE 0 block 40
DATA_SOURCE 0 block r kunit_kzalloc
MEM_ZERO 0 block

drivers/thunderbolt/test.c tb_test_property_parse_rootdir_overflow() -> tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 4096-ptr_max
PARAM_VALUE 1 block_len 4
BUF_SIZE 0 block 16
BUF_SIZE 0 block 16
DATA_SOURCE 0 block r kunit_kzalloc
MEM_ZERO 0 block

drivers/thunderbolt/test.c tb_test_property_parse_u32_wrap() -> tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 4096-ptr_max
PARAM_VALUE 1 block_len 258
BUF_SIZE 0 block 1032
BUF_SIZE 0 block 1032
DATA_SOURCE 0 block r kunit_kzalloc
MEM_ZERO 0 block

drivers/thunderbolt/test.c tb_test_property_parse_zero_length() -> tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 4096-ptr_max
PARAM_VALUE 1 block_len 6
BUF_SIZE 0 block 24
BUF_SIZE 0 block 24
DATA_SOURCE 0 block r kunit_kzalloc
MEM_ZERO 0 block