Home
last modified time | relevance | path

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

/Linux-v5.15/tools/lib/bpf/
Drelo_core.c1153 struct bpf_core_relo_res cand_res, targ_res; in bpf_core_apply_relo_insn() local
1189 targ_res.validate = true; in bpf_core_apply_relo_insn()
1190 targ_res.poison = false; in bpf_core_apply_relo_insn()
1191 targ_res.orig_val = local_spec.root_type_id; in bpf_core_apply_relo_insn()
1192 targ_res.new_val = local_spec.root_type_id; in bpf_core_apply_relo_insn()
1228 targ_res = cand_res; in bpf_core_apply_relo_insn()
1238 } else if (cand_res.poison != targ_res.poison || cand_res.new_val != targ_res.new_val) { in bpf_core_apply_relo_insn()
1246 targ_res.poison ? "failure" : "success", targ_res.new_val); in bpf_core_apply_relo_insn()
1280 err = bpf_core_calc_relo(prog_name, relo, relo_idx, &local_spec, NULL, &targ_res); in bpf_core_apply_relo_insn()
1287 err = bpf_core_patch_insn(prog_name, insn, insn_idx, relo, relo_idx, &targ_res); in bpf_core_apply_relo_insn()