Home
last modified time | relevance | path

Searched refs:relo_idx (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/tools/lib/bpf/
H A Drelo_core.c881 int relo_idx, in bpf_core_calc_relo()
958 prog_name, relo_idx, core_relo_kind_str(relo->kind), in bpf_core_calc_relo()
969 static void bpf_core_poison_insn(const char *prog_name, int relo_idx, in bpf_core_poison_insn() argument
973 prog_name, relo_idx, insn_idx); in bpf_core_poison_insn()
1026 int relo_idx, const struct bpf_core_relo_res *res) in bpf_core_patch_insn()
1039 bpf_core_poison_insn(prog_name, relo_idx, insn_idx + 1, insn + 1); in bpf_core_patch_insn()
1040 bpf_core_poison_insn(prog_name, relo_idx, insn_idx, insn); in bpf_core_patch_insn()
1054 prog_name, relo_idx, in bpf_core_patch_insn()
1062 prog_name, relo_idx, insn_idx, in bpf_core_patch_insn()
1070 prog_name, relo_idx, insn_id in bpf_core_patch_insn()
879 bpf_core_calc_relo(const char *prog_name, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_spec *local_spec, const struct bpf_core_spec *targ_spec, struct bpf_core_relo_res *res) bpf_core_calc_relo() argument
1024 bpf_core_patch_insn(const char *prog_name, struct bpf_insn *insn, int insn_idx, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_relo_res *res) bpf_core_patch_insn() argument
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 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.c5741 int relo_idx, in bpf_core_resolve_relo()
5767 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_resolve_relo()
5778 return bpf_core_calc_relo_insn(prog_name, relo, relo_idx, local_btf, cands, specs_scratch, in bpf_core_resolve_relo()
5905 static void poison_map_ldimm64(struct bpf_program *prog, int relo_idx, in poison_map_ldimm64() argument
5912 prog->name, relo_idx, insn_idx, map_idx, map->name); in poison_map_ldimm64()
5935 static void poison_kfunc_call(struct bpf_program *prog, int relo_idx, in poison_kfunc_call() argument
5940 prog->name, relo_idx, insn_idx, ext->name); in poison_kfunc_call()
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-5.10/tools/lib/bpf/
H A Dlibbpf.c5323 int relo_idx, in bpf_core_calc_relo()
5400 prog->name, relo_idx, core_relo_kind_str(relo->kind), in bpf_core_calc_relo()
5411 static void bpf_core_poison_insn(struct bpf_program *prog, int relo_idx, in bpf_core_poison_insn() argument
5415 prog->name, relo_idx, insn_idx); in bpf_core_poison_insn()
5473 int relo_idx, in bpf_core_patch_insn()
5498 bpf_core_poison_insn(prog, relo_idx, insn_idx + 1, insn + 1); in bpf_core_patch_insn()
5499 bpf_core_poison_insn(prog, relo_idx, insn_idx, insn); in bpf_core_patch_insn()
5513 prog->name, relo_idx, in bpf_core_patch_insn()
5520 prog->name, relo_idx, insn_idx, in bpf_core_patch_insn()
5528 prog->name, relo_idx, insn_id in bpf_core_patch_insn()
5321 bpf_core_calc_relo(const struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_spec *local_spec, const struct bpf_core_spec *targ_spec, struct bpf_core_relo_res *res) bpf_core_calc_relo() argument
5471 bpf_core_patch_insn(struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_relo_res *res) bpf_core_patch_insn() argument
5725 bpf_core_apply_relo(struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct btf *local_btf, const struct btf *targ_btf, struct hashmap *cand_cache) bpf_core_apply_relo() argument
[all...]
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dgen.c2049 unsigned int relo_idx; in btfgen_record_obj() local
2081 for_each_btf_ext_rec(seg, sec, relo_idx, relo) { in btfgen_record_obj()
2101 err = bpf_core_calc_relo_insn(sec_name, relo, relo_idx, btf, cands, in btfgen_record_obj()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dbtf.c8418 int relo_idx, void *insn) in bpf_core_apply()
8467 err = bpf_core_calc_relo_insn((void *)ctx->log, relo, relo_idx, ctx->btf, &cands, specs, in bpf_core_apply()
8472 err = bpf_core_patch_insn((void *)ctx->log, insn, relo->insn_off / 8, relo, relo_idx, in bpf_core_apply()
8417 bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo, int relo_idx, void *insn) bpf_core_apply() argument
/kernel/linux/linux-6.6/include/linux/
H A Dbpf.h2459 int relo_idx, void *insn);

Completed in 46 milliseconds