Home
last modified time | relevance | path

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

/Linux-v6.6/tools/lib/bpf/
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,
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);
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()
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()
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()
Dlibbpf.c340 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */
5700 const struct bpf_core_relo *core_relo, int insn_idx) in record_relo_core()
5717 static const struct bpf_core_relo *find_relo_core(struct bpf_program *prog, int insn_idx) in find_relo_core()
5734 const struct bpf_core_relo *relo, in bpf_core_resolve_relo()
5781 const struct bpf_core_relo *rec; in bpf_object__relocate_core()
7112 const struct bpf_core_relo *relo; in fixup_log_failed_core_relo()
7279 struct bpf_core_relo cr = { in bpf_program_record_relos()
Dlinker.c2516 struct bpf_core_relo *src_rec, *dst_rec; in linker_append_btf_ext()
/Linux-v6.6/Documentation/bpf/
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
Dllvm_reloc.rst354 struct bpf_core_relo {
/Linux-v6.6/tools/bpf/bpftool/
Dgen.c2041 const struct bpf_core_relo *relo; in btfgen_record_obj()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h7292 struct bpf_core_relo { struct
/Linux-v6.6/include/uapi/linux/
Dbpf.h7292 struct bpf_core_relo { struct
/Linux-v6.6/include/linux/
Dbpf.h2440 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo,
/Linux-v6.6/kernel/bpf/
Dverifier.c15245 #define MIN_CORE_RELO_SIZE sizeof(struct bpf_core_relo)
15253 struct bpf_core_relo core_relo = {}; in check_core_relo()
15266 if (nr_core_relo > INT_MAX / sizeof(struct bpf_core_relo)) in check_core_relo()
15276 expected_size = sizeof(struct bpf_core_relo); in check_core_relo()
Dbtf.c8416 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo, in bpf_core_apply()