Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/property.c tb_property_parse() -> __tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 4096-ptr_max
PARAM_VALUE 4 is_root 0
PARAM_VALUE 5 depth 1-9
BUF_SIZE 0 block (-1),16,24,28,40,212,1032
BUF_SIZE 0 block (-1),16,24,28,40,212,1032
DATA_SOURCE 0 block $0
DATA_SOURCE 1 block_len $1
NO_OVERFLOW_SIMPLE 1 block_len
NO_OVERFLOW_SIMPLE 2 dir_offset
NO_OVERFLOW_SIMPLE 3 dir_len
UNITS 1 block_len unit_array_size
UNITS 2 dir_offset unit_array_size
UNITS 3 dir_len unit_array_size

drivers/thunderbolt/property.c tb_property_parse_dir() -> __tb_property_parse_dir()

Type Parameter Key Value
PARAM_VALUE 0 block 4096-ptr_max
PARAM_VALUE 0 block->length 0-s32max
PARAM_VALUE 0 block->magic 1431847937
PARAM_VALUE 1 block_len 1-s32max
PARAM_VALUE 2 dir_offset 0
PARAM_VALUE 3 dir_len 0-s32max
PARAM_VALUE 4 is_root 1
PARAM_VALUE 5 depth 0
BUF_SIZE 0 block (-1),16,24,28,40,212,1032
BUF_SIZE 0 block (-1),16,24,28,40,212,1032
CAPPED_DATA 1 block_len 1
CAPPED_DATA 1 block_len 1
CAPPED_DATA 3 dir_len 1
DATA_SOURCE 0 block $0
DATA_SOURCE 1 block_len $1
PARAM_COMPARE 1 block_len >= $3
PARAM_COMPARE 1 block_len >= $3
PARAM_COMPARE 3 dir_len <= $1
NO_OVERFLOW_SIMPLE 1 block_len
UNITS 1 block_len unit_array_size
UNITS 3 dir_len unit_array_size
HALF_LOCKED2 &xd->lock