Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf.c5731 struct bpf_core_relo_res cand_res, targ_res; in bpf_core_apply_relo() local
5768 targ_res.validate = true; in bpf_core_apply_relo()
5769 targ_res.poison = false; in bpf_core_apply_relo()
5770 targ_res.orig_val = local_spec.root_type_id; in bpf_core_apply_relo()
5771 targ_res.new_val = local_spec.root_type_id; in bpf_core_apply_relo()
5821 targ_res = cand_res; in bpf_core_apply_relo()
5831 } else if (cand_res.poison != targ_res.poison || cand_res.new_val != targ_res.new_val) { in bpf_core_apply_relo()
5839 targ_res.poison ? "failure" : "success", targ_res.new_val); in bpf_core_apply_relo()
5873 err = bpf_core_calc_relo(prog, relo, relo_idx, &local_spec, NULL, &targ_res); in bpf_core_apply_relo()
5880 err = bpf_core_patch_insn(prog, relo, relo_idx, &targ_res); in bpf_core_apply_relo()