Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/bpf/btf.c bpf_core_find_cands() -> bpf_core_add_cands()

Type Parameter Key Value
PARAM_VALUE 0 cands 3806886490385420288
PARAM_VALUE 0 cands->cnt 0
PARAM_VALUE 0 cands->kind 0-127
PARAM_VALUE 0 cands->name 4096-ptr_max
PARAM_VALUE 0 cands->name_len 0-1010101
PARAM_VALUE 1 targ_btf 1-ptr_max
PARAM_VALUE 2 targ_start_id s32min-(-1),1-s32max
BUF_SIZE 0 cands 16
BUF_SIZE 1 targ_btf 0
CAPPED_DATA 0 cands->name_len 1
DATA_SOURCE 1 targ_btf r bpf_get_btf_vmlinux
BIT_INFO 1 targ_btf 0x0,0x0
LOCK2 global &cand_cache_mutex

kernel/bpf/btf.c bpf_core_find_cands() -> bpf_core_add_cands()

Type Parameter Key Value
PARAM_VALUE 0 cands 4096-ptr_max
PARAM_VALUE 1 targ_btf 4096-ptr_max
PARAM_VALUE 2 targ_start_id s32min-(-1),1-s32max
BUF_SIZE 0 cands s32min-s32max
DATA_SOURCE 1 targ_btf r idr_get_next
LOCK2 global &cand_cache_mutex