Searched refs:core_relo (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/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 | 340 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */ member 5702 const struct bpf_core_relo *core_relo, int insn_idx) in record_relo_core() argument 5713 relo->core_relo = core_relo; in record_relo_core() 5729 return relo->core_relo; in find_relo_core() 7283 .type_id = relo->core_relo->type_id, in bpf_program_record_relos() 7284 .access_str_off = relo->core_relo->access_str_off, in bpf_program_record_relos() 7285 .kind = relo->core_relo->kind, in bpf_program_record_relos()
|
/linux-6.6.21/Documentation/bpf/ |
D | btf.rst | 755 contains func_info, line_info and core_relo sub-sections. 795 The core_relo is organized as below.:: 798 btf_ext_info_sec for section #1 /* core_relo for section #1 */ 799 btf_ext_info_sec for section #2 /* core_relo for section #2 */
|
/linux-6.6.21/kernel/bpf/ |
D | verifier.c | 15697 struct bpf_core_relo core_relo = {}; in check_core_relo() local 15740 if (copy_from_bpfptr(&core_relo, u_core_relo, ncopy)) { in check_core_relo() 15745 if (core_relo.insn_off % 8 || core_relo.insn_off / 8 >= prog->len) { in check_core_relo() 15747 i, core_relo.insn_off, prog->len); in check_core_relo() 15752 err = bpf_core_apply(&ctx, &core_relo, i, in check_core_relo() 15753 &prog->insnsi[core_relo.insn_off / 8]); in check_core_relo()
|