Searched refs:targ_res (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | relo_core.c | 1286 struct bpf_core_relo_res *targ_res) in bpf_core_calc_relo_insn() 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 in bpf_core_calc_relo_insn() 1280 bpf_core_calc_relo_insn(const char *prog_name, const struct bpf_core_relo *relo, int relo_idx, const struct btf *local_btf, struct bpf_core_cand_list *cands, struct bpf_core_spec *specs_scratch, struct bpf_core_relo_res *targ_res) bpf_core_calc_relo_insn() argument [all...] |
H A D | relo_core.h | 87 struct bpf_core_relo_res *targ_res);
|
H A D | libbpf.c | 5744 struct bpf_core_relo_res *targ_res) in bpf_core_resolve_relo() 5779 targ_res); in bpf_core_resolve_relo() 5786 struct bpf_core_relo_res targ_res; in bpf_object__relocate_core() local 5871 err = bpf_core_resolve_relo(prog, rec, i, obj->btf, cand_cache, &targ_res); in bpf_object__relocate_core() 5878 err = bpf_core_patch_insn(prog->name, insn, insn_idx, rec, i, &targ_res); in bpf_object__relocate_core() 5739 bpf_core_resolve_relo(struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct btf *local_btf, struct hashmap *cand_cache, struct bpf_core_relo_res *targ_res) bpf_core_resolve_relo() argument
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | gen.c | 2083 struct bpf_core_relo_res targ_res = {}; in btfgen_record_obj() local 2102 specs_scratch, &targ_res); in btfgen_record_obj()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | libbpf.c | 5734 struct bpf_core_relo_res cand_res, targ_res; in bpf_core_apply_relo() local 5771 targ_res.validate = true; in bpf_core_apply_relo() 5772 targ_res.poison = false; in bpf_core_apply_relo() 5773 targ_res.orig_val = local_spec.root_type_id; in bpf_core_apply_relo() 5774 targ_res.new_val = local_spec.root_type_id; in bpf_core_apply_relo() 5824 targ_res = cand_res; in bpf_core_apply_relo() 5834 } else if (cand_res.poison != targ_res.poison || cand_res.new_val != targ_res.new_val) { in bpf_core_apply_relo() 5842 targ_res.poison ? "failure" : "success", targ_res in bpf_core_apply_relo() [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | btf.c | 8422 struct bpf_core_relo_res targ_res; in bpf_core_apply() local 8468 &targ_res); in bpf_core_apply() 8473 &targ_res); in bpf_core_apply()
|
Completed in 49 milliseconds