Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/relo_core.c bpf_core_calc_relo_insn() -> bpf_core_calc_relo()

Type Parameter Key Value
PARAM_VALUE 0 prog_name 4096-ptr_max
PARAM_VALUE 0 prog_name->level 0-4294967295
PARAM_VALUE 1 relo 1120792129295384576
PARAM_VALUE 1 relo->kind 0-5,7-12
PARAM_VALUE 2 relo_idx 0-134217726
PARAM_VALUE 3 local_spec 4096-ptr_max
PARAM_VALUE 3 local_spec->btf 4096-ptr_max
PARAM_VALUE 3 local_spec->len 0-s32max
PARAM_VALUE 3 local_spec->raw_len 0-s32max
PARAM_VALUE 3 local_spec->relo_kind 0
PARAM_VALUE 3 *local_spec->raw_spec s32min-s32max
PARAM_VALUE 4 targ_spec 4096-ptr_max
PARAM_VALUE 4 targ_spec->len 0
PARAM_VALUE 4 targ_spec->raw_len 0
PARAM_VALUE 4 targ_spec->relo_kind 0
PARAM_VALUE 4 *targ_spec->raw_spec s32min-s32max
PARAM_VALUE 5 res 8611842100044165120
BUF_SIZE 3 local_spec 3936
BUF_SIZE 3 local_spec 3936
BUF_SIZE 4 targ_spec 2624
BUF_SIZE 4 targ_spec 2624
CAPPED_DATA 1 relo->access_str_off 1
CAPPED_DATA 1 relo->type_id 1
CAPPED_DATA 2 relo_idx 1
CAPPED_DATA 3 local_spec->btf->start_id 1
CAPPED_DATA 3 local_spec->len 1
CAPPED_DATA 3 local_spec->root_type_id 1
CAPPED_DATA 4 targ_spec->btf->start_id 1
DATA_SOURCE 0 prog_name $0
DATA_SOURCE 1 relo $1
DATA_SOURCE 2 relo_idx $2
PARAM_COMPARE 3 local_spec->btf->start_id <= $3->root_type_id
PARAM_COMPARE 4 targ_spec->btf->start_id <= $4->root_type_id
MEM_ZERO 3 local_spec
MEM_ZERO 4 targ_spec
USER_DATA 1 relo->access_str_off 0-u32max[c]
USER_DATA 1 relo->insn_off 0-u32max
USER_DATA 1 relo->type_id 0-u32max[c]
USER_DATA 3 local_spec->root_type_id 0-u32max[c]
USER_DATA 5 res->new_val 0[c]
USER_DATA 5 res->orig_val 0[c]
NO_OVERFLOW_SIMPLE 0 prog_name->kbuf
NO_OVERFLOW_SIMPLE 2 relo_idx
HALF_LOCKED2 global &cand_cache_mutex

kernel/bpf/relo_core.c bpf_core_calc_relo_insn() -> bpf_core_calc_relo()

Type Parameter Key Value
PARAM_VALUE 0 prog_name 4096-ptr_max
PARAM_VALUE 0 prog_name->level 0-4294967295
PARAM_VALUE 1 relo 1120792129295384576
PARAM_VALUE 1 relo->kind 0-5,7-12
PARAM_VALUE 2 relo_idx 0-134217726
PARAM_VALUE 3 local_spec 4096-ptr_max
PARAM_VALUE 3 local_spec->btf 4096-ptr_max
PARAM_VALUE 3 local_spec->len 0-s32max
PARAM_VALUE 3 local_spec->raw_len 0-s32max
PARAM_VALUE 3 local_spec->relo_kind 0
PARAM_VALUE 3 *local_spec->raw_spec s32min-s32max
PARAM_VALUE 4 targ_spec 0
PARAM_VALUE 5 res 896896266436231168
BUF_SIZE 3 local_spec 3936
BUF_SIZE 3 local_spec 3936
CAPPED_DATA 1 relo->access_str_off 1
CAPPED_DATA 1 relo->type_id 1
CAPPED_DATA 2 relo_idx 1
CAPPED_DATA 3 local_spec->btf->start_id 1
CAPPED_DATA 3 local_spec->len 1
CAPPED_DATA 3 local_spec->root_type_id 1
DATA_SOURCE 0 prog_name $0
DATA_SOURCE 1 relo $1
DATA_SOURCE 2 relo_idx $2
DATA_SOURCE 5 res $6
PARAM_COMPARE 3 local_spec->btf->start_id <= $3->root_type_id
MEM_ZERO 3 local_spec
USER_DATA 1 relo->access_str_off 0-u32max[c]
USER_DATA 1 relo->insn_off 0-u32max
USER_DATA 1 relo->type_id 0-u32max[c]
USER_DATA 3 local_spec->root_type_id 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 prog_name->kbuf
NO_OVERFLOW_SIMPLE 2 relo_idx
HALF_LOCKED2 global &cand_cache_mutex