Searched refs:core_relo (Results 1 – 5 of 5) sorted by relevance
/linux/tools/lib/bpf/ |
H A D | bpf_gen_internal.h | 71 void bpf_gen__record_relo_core(struct bpf_gen *gen, const struct bpf_core_relo *core_relo);
|
H A 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()
|
H A D | libbpf.c | 378 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */ member 5777 const struct bpf_core_relo *core_relo, int insn_idx) in record_relo_core() argument 5788 relo->core_relo = core_relo; in record_relo_core() 5804 return relo->core_relo; in find_relo_core() 7819 .type_id = relo->core_relo->type_id, in bpf_program_record_relos() 7820 .access_str_off = relo->core_relo->access_str_off, in bpf_program_record_relos() 7821 .kind = relo->core_relo->kind, in bpf_program_record_relos()
|
/linux/Documentation/bpf/ |
H A D | btf.rst | 753 contains func_info, line_info and core_relo sub-sections. 793 The core_relo is organized as below.:: 796 btf_ext_info_sec for section #1 /* core_relo for section #1 */ 797 btf_ext_info_sec for section #2 /* core_relo for section #2 */
|
/linux/kernel/bpf/ |
H A D | verifier.c | 16416 struct bpf_core_relo core_relo = {}; in check_core_relo() local 16459 if (copy_from_bpfptr(&core_relo, u_core_relo, ncopy)) { in check_core_relo() 16464 if (core_relo.insn_off % 8 || core_relo.insn_off / 8 >= prog->len) { in check_core_relo() 16466 i, core_relo.insn_off, prog->len); in check_core_relo() 16471 err = bpf_core_apply(&ctx, &core_relo, i, in check_core_relo() 16472 &prog->insnsi[core_relo.insn_off / 8]); in check_core_relo()
|