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;
85 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()
1049 int insn_idx, const struct bpf_core_relo *relo, in bpf_core_patch_insn()
1302 const struct bpf_core_relo *relo, in bpf_core_calc_relo_insn()
H A Dgen_loader.c915 const struct bpf_core_relo *core_relo) in bpf_gen__record_relo_core()
917 struct bpf_core_relo *relos; in emit_relo()
1003 struct bpf_core_relo *cr = gen->data_start + core_relos; in bpf_gen__prog_load()
1026 sizeof(struct bpf_core_relo); in bpf_gen__prog_load()
1070 attr.core_relo_rec_size = tgt_endian((__u32)sizeof(struct bpf_core_relo)); in bpf_gen__prog_load()
1075 sizeof(struct bpf_core_relo)); in bpf_gen__prog_load()
H A Dlibbpf_internal.h569 static inline void bpf_core_relo_bswap(struct bpf_core_relo *i) in bpf_core_relo_bswap()
H A Dbtf.c3772 .min_rec_size = sizeof(struct bpf_core_relo),
6257 struct bpf_core_relo *rec; in btf_permute_remap_type_id()
6302 struct bpf_core_relo *rec; in btf__permute()
H A Dlibbpf.c386 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */
6358 const struct bpf_core_relo *core_relo, int insn_idx)
6375 static const struct bpf_core_relo *find_relo_core(struct bpf_program *prog, int insn_idx) in create_jt_map()
6392 const struct bpf_core_relo *relo, in create_jt_map()
6439 const struct bpf_core_relo *rec; in create_jt_map()
9108 const struct bpf_core_relo *relo; in bpf_object_prepare()
9275 struct bpf_core_relo cr = { in bpf_program__unpin()
H A Dlinker.c2741 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 bpf_check_core_relo()
359 if (nr_core_relo > INT_MAX / sizeof(struct bpf_core_relo)) in bpf_check_core_relo()
369 expected_size = sizeof(struct bpf_core_relo); in bpf_check_core_relo()
H A Dbtf.c10642 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo,
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc_raw.c22 struct bpf_core_relo relo = { in load_core_relo_insns()
253 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.h1691 __u32 core_relo_cnt; /* number of bpf_core_relo */
1694 __u32 core_relo_rec_size; /* sizeof(struct bpf_core_relo) */
7824 * "struct bpf_core_relo" is used to pass relocation data form LLVM to libbpf
7871 struct bpf_core_relo {
7773 struct bpf_core_relo { global() struct
7777 kindbpf_core_relo global() argument
/linux/include/uapi/linux/
H A Dbpf.h1691 __u32 core_relo_cnt; /* number of bpf_core_relo */
1694 __u32 core_relo_rec_size; /* sizeof(struct bpf_core_relo) */
7824 * "struct bpf_core_relo" is used to pass relocation data form LLVM to libbpf
7871 struct bpf_core_relo {
7773 struct bpf_core_relo { global() struct
7777 kindbpf_core_relo global() argument
/linux/tools/bpf/bpftool/
H A Dgen.c2430 const struct bpf_core_relo *relo; in btfgen_find_cands()
/linux/include/linux/
H A Dbpf.h3391 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo, in bpf_link_put()