Searched refs:core_relo (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/tools/lib/bpf/ |
D | bpf_gen_internal.h | 71 void bpf_gen__record_relo_core(struct bpf_gen *gen, const struct bpf_core_relo *core_relo);
|
D | gen_loader.c | 852 const struct bpf_core_relo *core_relo) in bpf_gen__record_relo_core() argument 863 memcpy(relos, core_relo, sizeof(*relos)); in bpf_gen__record_relo_core()
|
D | libbpf.c | 378 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */ member 5776 const struct bpf_core_relo *core_relo, int insn_idx) in record_relo_core() argument 5787 relo->core_relo = core_relo; in record_relo_core() 5803 return relo->core_relo; in find_relo_core() 7818 .type_id = relo->core_relo->type_id, in bpf_program_record_relos() 7819 .access_str_off = relo->core_relo->access_str_off, in bpf_program_record_relos() 7820 .kind = relo->core_relo->kind, in bpf_program_record_relos()
|
/linux-6.12.1/Documentation/bpf/ |
D | btf.rst | 784 contains func_info, line_info and core_relo sub-sections. 824 The core_relo is organized as below.:: 827 btf_ext_info_sec for section #1 /* core_relo for section #1 */ 828 btf_ext_info_sec for section #2 /* core_relo for section #2 */
|
/linux-6.12.1/kernel/bpf/ |
D | verifier.c | 16925 struct bpf_core_relo core_relo = {}; in check_core_relo() local 16968 if (copy_from_bpfptr(&core_relo, u_core_relo, ncopy)) { in check_core_relo() 16973 if (core_relo.insn_off % 8 || core_relo.insn_off / 8 >= prog->len) { in check_core_relo() 16975 i, core_relo.insn_off, prog->len); in check_core_relo() 16980 err = bpf_core_apply(&ctx, &core_relo, i, in check_core_relo() 16981 &prog->insnsi[core_relo.insn_off / 8]); in check_core_relo()
|