Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Drelo_core.h83 const struct bpf_core_relo *relo, int relo_idx,
91 int relo_idx, const struct bpf_core_relo_res *res);
H A Dlibbpf.c6040 int relo_idx, in bpf_object__relocate_core()
6066 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_object__relocate_core()
6077 return bpf_core_calc_relo_insn(prog_name, relo, relo_idx, local_btf, cands, specs_scratch, in bpf_object__relocate_core()
6204 static void poison_map_ldimm64(struct bpf_program *prog, int relo_idx, in find_jt_map()
6211 prog->name, relo_idx, insn_idx, map_idx, map->name); in find_jt_map()
6234 static void poison_kfunc_call(struct bpf_program *prog, int relo_idx, in add_jt_map()
6239 prog->name, relo_idx, insn_idx, ext->name); in find_subprog_idx()
5985 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
6149 poison_map_ldimm64(struct bpf_program * prog,int relo_idx,int insn_idx,struct bpf_insn * insn,int map_idx,const struct bpf_map * map) poison_map_ldimm64() argument
6179 poison_kfunc_call(struct bpf_program * prog,int relo_idx,int insn_idx,struct bpf_insn * insn,int ext_idx,const struct extern_desc * ext) poison_kfunc_call() argument
/linux/kernel/bpf/
H A Dbtf.c9496 int relo_idx, void *insn) in bpf_core_apply() argument
9515 relo_idx, relo->type_id); in bpf_core_apply()
9555 err = bpf_core_calc_relo_insn((void *)ctx->log, relo, relo_idx, ctx->btf, &cands, specs, in bpf_core_apply()
9560 err = bpf_core_patch_insn((void *)ctx->log, insn, relo->insn_off / 8, relo, relo_idx, in bpf_core_apply()
/linux/include/linux/
H A Dbpf.h3057 int relo_idx, void *insn);