Searched refs:bpf_core_relo (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/tools/lib/bpf/ |
H A D | relo_core.h | 83 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 D | bpf_gen_internal.h | 44 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 D | relo_core.c | 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() 1281 const struct bpf_core_relo *relo, in bpf_core_calc_relo_insn()
|
H A D | gen_loader.c | 852 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 D | btf.c | 2777 .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 D | libbpf.c | 341 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 D | linker.c | 2523 struct bpf_core_relo *src_rec, *dst_rec; in linker_append_btf_ext()
|
/openbmc/linux/Documentation/bpf/ |
H A D | btf.rst | 801 ``core_relo_rec_size`` specifies the size of ``bpf_core_relo`` 802 structure when .BTF.ext is generated. All ``bpf_core_relo`` structures
|
H A D | llvm_reloc.rst | 354 struct bpf_core_relo {
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | gen.c | 2044 const struct bpf_core_relo *relo; in btfgen_record_obj()
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 7322 struct bpf_core_relo { struct
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 7322 struct bpf_core_relo { struct
|
/openbmc/linux/include/linux/ |
H A D | bpf.h | 2474 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo,
|
/openbmc/linux/kernel/bpf/ |
H A D | verifier.c | 15715 #define MIN_CORE_RELO_SIZE sizeof(struct bpf_core_relo) 15723 struct bpf_core_relo core_relo = {}; in check_core_relo() 15736 if (nr_core_relo > INT_MAX / sizeof(struct bpf_core_relo)) in check_core_relo() 15746 expected_size = sizeof(struct bpf_core_relo); in check_core_relo()
|
H A D | btf.c | 8417 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo, in bpf_core_apply()
|