Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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, 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()
1276 * least one bpf_core_relo associated with it. This list is shared
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.c2516 struct bpf_core_relo *src_rec, *dst_rec; in linker_append_btf_ext()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf_internal.h268 /* The minimum bpf_core_relo checked by the loader
314 struct bpf_core_relo { struct
H A Dlibbpf.c4477 * Turn bpf_core_relo into a low- and high-level spec representation,
5106 const struct bpf_core_relo *relo, in bpf_core_calc_field_relo()
5231 static int bpf_core_calc_type_relo(const struct bpf_core_relo *relo, in bpf_core_calc_type_relo()
5265 static int bpf_core_calc_enumval_relo(const struct bpf_core_relo *relo, in bpf_core_calc_enumval_relo()
5322 const struct bpf_core_relo *relo, in bpf_core_calc_relo()
5472 const struct bpf_core_relo *relo, in bpf_core_patch_insn()
5721 * least one bpf_core_relo associated with it. This list is shared
5726 const struct bpf_core_relo *relo, in bpf_core_apply_relo()
5897 const struct bpf_core_relo *rec; in bpf_object__relocate_core()
H A Dbtf.c2466 .min_rec_size = sizeof(struct bpf_core_relo), in btf_ext_setup_core_relos()
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dbpf.h1446 __u32 core_relo_cnt; /* number of bpf_core_relo */
1449 __u32 core_relo_rec_size; /* sizeof(struct bpf_core_relo) */
7258 * "struct bpf_core_relo" is used to pass relocation data form LLVM to libbpf
7305 struct bpf_core_relo { struct
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dgen.c2044 const struct bpf_core_relo *relo; in btfgen_record_obj()
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dbpf.h1446 __u32 core_relo_cnt; /* number of bpf_core_relo */
1449 __u32 core_relo_rec_size; /* sizeof(struct bpf_core_relo) */
7258 * "struct bpf_core_relo" is used to pass relocation data form LLVM to libbpf
7305 struct bpf_core_relo { struct
/kernel/linux/linux-6.6/include/linux/
H A Dbpf.h2458 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo,
/kernel/linux/linux-6.6/kernel/bpf/
H A Dverifier.c15689 #define MIN_CORE_RELO_SIZE sizeof(struct bpf_core_relo)
15697 struct bpf_core_relo core_relo = {}; in check_core_relo()
15710 if (nr_core_relo > INT_MAX / sizeof(struct bpf_core_relo)) in check_core_relo()
15720 expected_size = sizeof(struct bpf_core_relo); in check_core_relo()
15727 /* future proofing when sizeof(bpf_core_relo) changes */ 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()

Completed in 122 milliseconds