Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Drelo_core.c881 int relo_idx, in bpf_core_calc_relo() argument
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() argument
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_idx, insn->off, (unsigned long long)orig_val, in bpf_core_patch_insn()
[all …]
Drelo_core.h83 const struct bpf_core_relo *relo, int relo_idx,
91 int relo_idx, const struct bpf_core_relo_res *res);
Dlibbpf.c5607 int relo_idx, in bpf_core_resolve_relo() argument
5634 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_resolve_relo()
5645 return bpf_core_calc_relo_insn(prog_name, relo, relo_idx, local_btf, cands, specs_scratch, in bpf_core_resolve_relo()
5772 static void poison_map_ldimm64(struct bpf_program *prog, int relo_idx, in poison_map_ldimm64() argument
5779 prog->name, relo_idx, insn_idx, map_idx, map->name); in poison_map_ldimm64()
/linux-6.1.9/tools/bpf/bpftool/
Dgen.c2053 unsigned int relo_idx; in btfgen_record_obj() local
2085 for_each_btf_ext_rec(seg, sec, relo_idx, relo) { in btfgen_record_obj()
2105 err = bpf_core_calc_relo_insn(sec_name, relo, relo_idx, btf, cands, in btfgen_record_obj()
/linux-6.1.9/kernel/bpf/
Dbtf.c7971 int relo_idx, void *insn) in bpf_core_apply() argument
8020 err = bpf_core_calc_relo_insn((void *)ctx->log, relo, relo_idx, ctx->btf, &cands, specs, in bpf_core_apply()
8025 err = bpf_core_patch_insn((void *)ctx->log, insn, relo->insn_off / 8, relo, relo_idx, in bpf_core_apply()
/linux-6.1.9/include/linux/
Dbpf.h2088 int relo_idx, void *insn);