Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/bpf/verifier.c bpf_add_kfunc_call() -> btf_distill_func_proto()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 1 btf 4096-ptr_max
PARAM_VALUE 2 func 4096-ptr_max
PARAM_VALUE 3 tname 4096-ptr_max
PARAM_VALUE 3 *tname 1-255
PARAM_VALUE 4 m 8567961723771052032

kernel/bpf/verifier.c bpf_check_attach_btf_id_multi() -> btf_distill_func_proto()

Type Parameter Key Value
PARAM_VALUE 0 log 0
PARAM_VALUE 1 btf 4096-ptr_max
PARAM_VALUE 2 func 4096-ptr_max
PARAM_VALUE 3 tname 4096-ptr_max
PARAM_VALUE 4 m 8561823162184040448
PARAM_VALUE 4 m->nr_args 0-12
PARAM_VALUE 4 m->ret_flags 0-3
CAPPED_DATA 1 btf->start_id 1
DATA_SOURCE 1 btf $0
DATA_SOURCE 2 func r btf_attach_func_proto
DATA_SOURCE 3 tname r btf_name_by_offset
PARAM_COMPARE 1 btf->nr_types > $1->start_id

kernel/bpf/bpf_struct_ops.c bpf_struct_ops_desc_init() -> btf_distill_func_proto()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->level 16
PARAM_VALUE 1 btf 4096-ptr_max
PARAM_VALUE 2 func 4096-ptr_max
PARAM_VALUE 3 tname 4096-ptr_max
PARAM_VALUE 3 *tname 1-255
PARAM_VALUE 4 m 4096-ptr_max
BUF_SIZE 0 log 1064
BUF_SIZE 1 btf->struct_ops_tab (-1),8-s32max
CAPPED_DATA 1 btf->start_id 1
DATA_SOURCE 0 log $2
DATA_SOURCE 1 btf $1
DATA_SOURCE 2 func r btf_type_resolve_func_ptr
DATA_SOURCE 3 tname r btf_name_by_offset
PARAM_COMPARE 1 btf->nr_types > $1->start_id