Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Drelo_core.c1303 struct bpf_core_relo_res *targ_res) in bpf_core_calc_relo_insn() argument
1339 memset(targ_res, 0, sizeof(*targ_res)); in bpf_core_calc_relo_insn()
1340 targ_res->validate = false; in bpf_core_calc_relo_insn()
1341 targ_res->poison = false; in bpf_core_calc_relo_insn()
1342 targ_res->orig_val = local_spec->root_type_id; in bpf_core_calc_relo_insn()
1343 targ_res->new_val = local_spec->root_type_id; in bpf_core_calc_relo_insn()
1376 *targ_res = cand_res; in bpf_core_calc_relo_insn()
1386 } else if (cand_res.poison != targ_res->poison || in bpf_core_calc_relo_insn()
1387 cand_res.new_val != targ_res->new_val) { in bpf_core_calc_relo_insn()
1396 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.c6092 struct bpf_core_relo_res *targ_res) in bpf_core_resolve_relo() argument
6127 targ_res); in bpf_core_resolve_relo()
6134 struct bpf_core_relo_res targ_res; in bpf_object__relocate_core() local
6219 err = bpf_core_resolve_relo(prog, rec, i, obj->btf, cand_cache, &targ_res); in bpf_object__relocate_core()
6226 err = bpf_core_patch_insn(prog->name, insn, insn_idx, rec, i, &targ_res); in bpf_object__relocate_core()
/linux/tools/bpf/bpftool/
H A Dgen.c2479 struct bpf_core_relo_res targ_res = {}; in btfgen_record_obj() local
2498 specs_scratch, &targ_res); in btfgen_record_obj()
/linux/kernel/bpf/
H A Dbtf.c9713 struct bpf_core_relo_res targ_res; in bpf_core_apply() local
9769 &targ_res); in bpf_core_apply()
9774 &targ_res); in bpf_core_apply()