Home
last modified time | relevance | path

Searched refs:targ_res (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/tools/lib/bpf/
H A Drelo_core.c1302 struct bpf_core_relo_res *targ_res) in bpf_core_calc_relo_insn() argument
1338 memset(targ_res, 0, sizeof(*targ_res)); in bpf_core_calc_relo_insn()
1339 targ_res->validate = false; in bpf_core_calc_relo_insn()
1340 targ_res->poison = false; in bpf_core_calc_relo_insn()
1341 targ_res->orig_val = local_spec->root_type_id; in bpf_core_calc_relo_insn()
1342 targ_res->new_val = local_spec->root_type_id; in bpf_core_calc_relo_insn()
1375 *targ_res = cand_res; in bpf_core_calc_relo_insn()
1385 } else if (cand_res.poison != targ_res->poison || in bpf_core_calc_relo_insn()
1386 cand_res.new_val != targ_res->new_val) { in bpf_core_calc_relo_insn()
1395 targ_res->poison ? "failure" : "success", in bpf_core_calc_relo_insn()
[all …]
H A Drelo_core.h87 struct bpf_core_relo_res *targ_res);
H A Dlibbpf.c5877 struct bpf_core_relo_res *targ_res) in bpf_core_resolve_relo() argument
5912 targ_res); in bpf_core_resolve_relo()
5919 struct bpf_core_relo_res targ_res; in bpf_object__relocate_core() local
6004 err = bpf_core_resolve_relo(prog, rec, i, obj->btf, cand_cache, &targ_res); in bpf_object__relocate_core()
6011 err = bpf_core_patch_insn(prog->name, insn, insn_idx, rec, i, &targ_res); in bpf_object__relocate_core()
/linux-6.15/tools/bpf/bpftool/
H A Dgen.c2386 struct bpf_core_relo_res targ_res = {}; in btfgen_record_obj() local
2405 specs_scratch, &targ_res); in btfgen_record_obj()
/linux-6.15/kernel/bpf/
H A Dbtf.c9225 struct bpf_core_relo_res targ_res; in bpf_core_apply() local
9280 &targ_res); in bpf_core_apply()
9285 &targ_res); in bpf_core_apply()