Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Drelo_core.c1286 struct bpf_core_relo_res *targ_res) in bpf_core_calc_relo_insn() argument
1322 memset(targ_res, 0, sizeof(*targ_res)); in bpf_core_calc_relo_insn()
1323 targ_res->validate = false; in bpf_core_calc_relo_insn()
1324 targ_res->poison = false; in bpf_core_calc_relo_insn()
1325 targ_res->orig_val = local_spec->root_type_id; in bpf_core_calc_relo_insn()
1326 targ_res->new_val = local_spec->root_type_id; in bpf_core_calc_relo_insn()
1359 *targ_res = cand_res; in bpf_core_calc_relo_insn()
1369 } else if (cand_res.poison != targ_res->poison || in bpf_core_calc_relo_insn()
1370 cand_res.new_val != targ_res->new_val) { in bpf_core_calc_relo_insn()
1379 targ_res->poison ? "failure" : "success", in bpf_core_calc_relo_insn()
[all …]
Drelo_core.h87 struct bpf_core_relo_res *targ_res);
Dlibbpf.c6147 struct bpf_core_relo_res *targ_res) argument
6182 targ_res);
6189 struct bpf_core_relo_res targ_res; local
6276 err = bpf_core_resolve_relo(prog, rec, i, obj->btf, cand_cache, &targ_res);
6283 err = bpf_core_patch_insn(prog->name, insn, insn_idx, rec, i, &targ_res);