Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/bpf/
H A Drelo_core.h83 const struct bpf_core_relo *relo, int relo_idx,
90 int insn_idx, const struct bpf_core_relo *relo,
94 const struct bpf_core_relo *relo,
H A Dbpf_gen_internal.h44 struct bpf_core_relo *core_relos;
71 void bpf_gen__record_relo_core(struct bpf_gen *gen, const struct bpf_core_relo *core_relo);
H A Drelo_core.c264 const struct bpf_core_relo *relo, in bpf_core_parse_spec()
679 const struct bpf_core_relo *relo, in bpf_core_calc_field_relo()
803 static int bpf_core_calc_type_relo(const struct bpf_core_relo *relo, in bpf_core_calc_type_relo()
847 static int bpf_core_calc_enumval_relo(const struct bpf_core_relo *relo, in bpf_core_calc_enumval_relo()
880 const struct bpf_core_relo *relo, in bpf_core_calc_relo()
1025 int insn_idx, const struct bpf_core_relo *relo, in bpf_core_patch_insn()
1281 const struct bpf_core_relo *relo, in bpf_core_calc_relo_insn()
H A Dgen_loader.c852 const struct bpf_core_relo *core_relo) in bpf_gen__record_relo_core()
854 struct bpf_core_relo *relos; in bpf_gen__record_relo_core()
969 attr.core_relo_rec_size = sizeof(struct bpf_core_relo); in bpf_gen__prog_load()
H A Dbtf.c2777 .min_rec_size = sizeof(struct bpf_core_relo), in btf_ext_setup_core_relos()
4966 struct bpf_core_relo *rec; in btf_ext_visit_type_ids()
5011 struct bpf_core_relo *rec; in btf_ext_visit_str_offs()
H A Dlibbpf.c341 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */
5706 const struct bpf_core_relo *core_relo, int insn_idx) in record_relo_core()
5723 static const struct bpf_core_relo *find_relo_core(struct bpf_program *prog, int insn_idx) in find_relo_core()
5740 const struct bpf_core_relo *relo, in bpf_core_resolve_relo()
5787 const struct bpf_core_relo *rec; in bpf_object__relocate_core()
7118 const struct bpf_core_relo *relo; in fixup_log_failed_core_relo()
7285 struct bpf_core_relo cr = { in bpf_program_record_relos()
H A Dlinker.c2523 struct bpf_core_relo *src_rec, *dst_rec; in linker_append_btf_ext()
/openbmc/linux/Documentation/bpf/
H A Dbtf.rst801 ``core_relo_rec_size`` specifies the size of ``bpf_core_relo``
802 structure when .BTF.ext is generated. All ``bpf_core_relo`` structures
H A Dllvm_reloc.rst354 struct bpf_core_relo {
/openbmc/linux/tools/bpf/bpftool/
H A Dgen.c2044 const struct bpf_core_relo *relo; in btfgen_record_obj()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h7329 struct bpf_core_relo { struct
/openbmc/linux/include/uapi/linux/
H A Dbpf.h7326 struct bpf_core_relo { struct
/openbmc/linux/include/linux/
H A Dbpf.h2486 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo,
/openbmc/linux/kernel/bpf/
H A Dverifier.c15711 #define MIN_CORE_RELO_SIZE sizeof(struct bpf_core_relo)
15719 struct bpf_core_relo core_relo = {}; in check_core_relo()
15732 if (nr_core_relo > INT_MAX / sizeof(struct bpf_core_relo)) in check_core_relo()
15742 expected_size = sizeof(struct bpf_core_relo); in check_core_relo()
H A Dbtf.c8417 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo, in bpf_core_apply()