Searched refs:bpf_core_relo (Results 1 - 13 of 13) sorted by relevance

/linux-master/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.c227 * Turn bpf_core_relo into a low- and high-level spec representation,
264 const struct bpf_core_relo *relo,
679 const struct bpf_core_relo *relo,
803 static int bpf_core_calc_type_relo(const struct bpf_core_relo *relo,
847 static int bpf_core_calc_enumval_relo(const struct bpf_core_relo *relo,
880 const struct bpf_core_relo *relo,
1025 int insn_idx, const struct bpf_core_relo *relo,
1276 * least one bpf_core_relo associated with it. This list is shared
1281 const struct bpf_core_relo *relo,
H A Dgen_loader.c852 const struct bpf_core_relo *core_relo)
854 struct bpf_core_relo *relos;
969 attr.core_relo_rec_size = sizeof(struct bpf_core_relo);
H A Dbtf.c2948 .min_rec_size = sizeof(struct bpf_core_relo),
5155 struct bpf_core_relo *rec;
5200 struct bpf_core_relo *rec;
H A Dlibbpf.c353 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */
5691 const struct bpf_core_relo *core_relo, int insn_idx)
5708 static const struct bpf_core_relo *find_relo_core(struct bpf_program *prog, int insn_idx)
5725 const struct bpf_core_relo *relo,
5772 const struct bpf_core_relo *rec;
7552 const struct bpf_core_relo *relo;
7719 struct bpf_core_relo cr = {
H A Dlinker.c2535 struct bpf_core_relo *src_rec, *dst_rec;
/linux-master/include/uapi/linux/
H A Dbpf.h1555 __u32 core_relo_cnt; /* number of bpf_core_relo */
1558 __u32 core_relo_rec_size; /* sizeof(struct bpf_core_relo) */
7405 * "struct bpf_core_relo" is used to pass relocation data form LLVM to libbpf
7452 struct bpf_core_relo { struct
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1555 __u32 core_relo_cnt; /* number of bpf_core_relo */
1558 __u32 core_relo_rec_size; /* sizeof(struct bpf_core_relo) */
7405 * "struct bpf_core_relo" is used to pass relocation data form LLVM to libbpf
7452 struct bpf_core_relo { struct
/linux-master/tools/bpf/bpftool/
H A Dgen.c2298 const struct bpf_core_relo *relo;
/linux-master/include/linux/
H A Dbpf.h2620 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo,
/linux-master/kernel/bpf/
H A Dverifier.c16218 #define MIN_CORE_RELO_SIZE sizeof(struct bpf_core_relo)
16226 struct bpf_core_relo core_relo = {};
16239 if (nr_core_relo > INT_MAX / sizeof(struct bpf_core_relo))
16249 expected_size = sizeof(struct bpf_core_relo);
16256 /* future proofing when sizeof(bpf_core_relo) changes */
H A Dbtf.c8686 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo,

Completed in 544 milliseconds