Home
last modified time | relevance | path

Searched refs:core_relo (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/bpf/
H A Dbtf.rst784 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/tools/lib/bpf/
H A Dlibbpf.c379 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */ member
5821 const struct bpf_core_relo *core_relo, int insn_idx) in record_relo_core() argument
5832 relo->core_relo = core_relo; in record_relo_core()
5848 return relo->core_relo; in find_relo_core()
7864 .type_id = relo->core_relo->type_id, in bpf_program_record_relos()
7865 .access_str_off = relo->core_relo->access_str_off, in bpf_program_record_relos()
7866 .kind = relo->core_relo->kind, in bpf_program_record_relos()
H A Dbtf.c3016 struct btf_ext_sec_info_param core_relo = { in btf_ext_parse_info() local
3036 err = btf_ext_parse_sec_info(btf_ext, &core_relo, is_native); in btf_ext_parse_info()
/linux/kernel/bpf/
H A Dverifier.c17167 struct bpf_core_relo core_relo = {}; in check_core_relo() local
17210 if (copy_from_bpfptr(&core_relo, u_core_relo, ncopy)) { in check_core_relo()
17215 if (core_relo.insn_off % 8 || core_relo.insn_off / 8 >= prog->len) { in check_core_relo()
17217 i, core_relo.insn_off, prog->len); in check_core_relo()
17222 err = bpf_core_apply(&ctx, &core_relo, i, in check_core_relo()
17223 &prog->insnsi[core_relo.insn_off / 8]); in check_core_relo()