Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/verifier.c __reg_bound_offset() -> tnum_range()

Type Parameter Key Value

kernel/bpf/verifier.c __reg_bound_offset() -> tnum_range()

Type Parameter Key Value
PARAM_VALUE 0 min 0-u32max
PARAM_VALUE 1 max 0-u32max

kernel/bpf/verifier.c check_return_code() -> tnum_range()

Type Parameter Key Value
PARAM_VALUE 0 min 2
PARAM_VALUE 1 max 3

kernel/bpf/verifier.c coerce_reg_to_size_sx() -> tnum_range()

Type Parameter Key Value
PARAM_VALUE 0 min 0-s32max,18446744071562067968-u64max
PARAM_VALUE 1 max 0-s32max,18446744071562067968-u64max
CAPPED_DATA 0 min 1
PARAM_COMPARE 0 min <= $1
PARAM_COMPARE 1 max >= $0

kernel/bpf/verifier.c coerce_subreg_to_size_sx() -> tnum_range()

Type Parameter Key Value
PARAM_VALUE 0 min 0-s16max,18446744073709518848-u64max
PARAM_VALUE 1 max 0-s16max,18446744073709518848-u64max
CAPPED_DATA 0 min 1
PARAM_COMPARE 0 min <= $1
PARAM_COMPARE 1 max >= $0