Searched refs:targ_res (Results 1 - 3 of 3) sorted by relevance
/third_party/libbpf/src/ |
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 | 6147 struct bpf_core_relo_res *targ_res) 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); 6142 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) global() argument
|
Completed in 19 milliseconds