Home
last modified time | relevance | path

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

/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.h46 struct bpf_core_relo *core_relos;
74 void bpf_gen__record_relo_core(struct bpf_gen *gen, const struct bpf_core_relo *core_relo);
H A Drelo_core.c263 const struct bpf_core_relo *relo, in bpf_core_parse_spec()
680 const struct bpf_core_relo *relo, in bpf_core_calc_field_relo()
820 static int bpf_core_calc_type_relo(const struct bpf_core_relo *relo, in bpf_core_calc_type_relo()
864 static int bpf_core_calc_enumval_relo(const struct bpf_core_relo *relo, in bpf_core_calc_enumval_relo()
897 const struct bpf_core_relo *relo, in bpf_core_calc_relo()
1042 int insn_idx, const struct bpf_core_relo *relo, in bpf_core_patch_insn()
1298 const struct bpf_core_relo *relo, in bpf_core_calc_relo_insn()
H A Dgen_loader.c902 const struct bpf_core_relo *core_relo) in bpf_gen__record_relo_core()
904 struct bpf_core_relo *relos; in bpf_gen__record_relo_core()
990 struct bpf_core_relo *cr = gen->data_start + core_relos; in info_blob_bswap()
1013 sizeof(struct bpf_core_relo); in bpf_gen__prog_load()
1057 attr.core_relo_rec_size = tgt_endian((__u32)sizeof(struct bpf_core_relo)); in bpf_gen__prog_load()
1062 sizeof(struct bpf_core_relo)); in bpf_gen__prog_load()
H A Dlibbpf_internal.h564 static inline void bpf_core_relo_bswap(struct bpf_core_relo *i) in bpf_core_relo_bswap()
H A Dbtf.c3475 .min_rec_size = sizeof(struct bpf_core_relo), in btf_ext_parse_info()
5860 struct bpf_core_relo *rec; in btf_ext_visit_type_ids()
5905 struct bpf_core_relo *rec; in btf_ext_visit_str_offs()
H A Dlibbpf.c386 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */
6054 const struct bpf_core_relo *core_relo, int insn_idx) in record_relo_core()
6071 static const struct bpf_core_relo *find_relo_core(struct bpf_program *prog, int insn_idx) in find_relo_core()
6088 const struct bpf_core_relo *relo, in bpf_core_resolve_relo()
6135 const struct bpf_core_relo *rec; in bpf_object__relocate_core()
8206 const struct bpf_core_relo *relo; in fixup_log_failed_core_relo()
8373 struct bpf_core_relo cr = { in bpf_program_record_relos()
H A Dlinker.c2714 struct bpf_core_relo *src_rec, *dst_rec; in linker_append_btf_ext()
/linux/kernel/bpf/
H A Dcheck_btf.c338 #define MIN_CORE_RELO_SIZE sizeof(struct bpf_core_relo)
346 struct bpf_core_relo core_relo = {}; in check_core_relo()
359 if (nr_core_relo > INT_MAX / sizeof(struct bpf_core_relo)) in check_core_relo()
369 expected_size = sizeof(struct bpf_core_relo); in check_core_relo()
H A Dbtf.c9708 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo, in bpf_core_apply()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc_raw.c62 struct bpf_core_relo relos[] = { in test_bad_local_id()
/linux/Documentation/bpf/
H A Dllvm_reloc.rst354 struct bpf_core_relo {
/linux/tools/include/uapi/linux/
H A Dbpf.h7773 struct bpf_core_relo { struct
/linux/include/uapi/linux/
H A Dbpf.h7773 struct bpf_core_relo { struct
/linux/tools/bpf/bpftool/
H A Dgen.c2440 const struct bpf_core_relo *relo; in btfgen_record_obj()
/linux/include/linux/
H A Dbpf.h3197 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo,