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 btf_attach_func_proto() -> btf_kfunc_check_flag()

Type Parameter Key Value
PARAM_VALUE 0 btf 4096-ptr_max
PARAM_VALUE 1 kfunc_btf_id 1-u32max
PARAM_VALUE 2 flag 65536
CAPPED_DATA 0 btf->start_id 1
CAPPED_DATA 1 kfunc_btf_id 1
DATA_SOURCE 0 btf $1
DATA_SOURCE 1 kfunc_btf_id $2
PARAM_COMPARE 0 btf->nr_types > $0->start_id
PARAM_COMPARE 0 btf->nr_types > $1
PARAM_COMPARE 0 btf->start_id <= $1
PARAM_COMPARE 1 kfunc_btf_id < $0->nr_types
PARAM_COMPARE 1 kfunc_btf_id >= $0->start_id
UNITS 1 kfunc_btf_id unit_array_size