/linux-6.12.1/tools/bpf/bpftool/ |
D | xlated_dumper.c | 248 if (record->insn_off == i) { in dump_xlated_json() 329 if (record->insn_off == i) { in dump_xlated_plain() 388 unsigned int insn_off; in dump_xlated_for_graph() local 396 insn_off = (unsigned int)(cur - insn_start + start_idx); in dump_xlated_for_graph() 398 if (record->insn_off == insn_off) { in dump_xlated_for_graph() 411 linfo = bpf_prog_linfo__lfind(prog_linfo, insn_off, 0); in dump_xlated_for_graph() 418 printf("%u: ", insn_off); in dump_xlated_for_graph()
|
/linux-6.12.1/tools/lib/bpf/ |
D | bpf_prog_linfo.c | 220 __u32 insn_off, __u32 nr_skip) in bpf_prog_linfo__lfind() argument 233 if (insn_off < linfo->insn_off) in bpf_prog_linfo__lfind() 238 if (insn_off < linfo->insn_off) in bpf_prog_linfo__lfind()
|
D | libbpf_internal.h | 502 __u32 insn_off; member 508 __u32 insn_off; member
|
D | relo_core.c | 722 prog_name, relo->kind, relo->insn_off / 8); in bpf_core_calc_field_relo() 744 prog_name, relo->kind, relo->insn_off / 8); in bpf_core_calc_field_relo() 959 relo->kind, relo->insn_off / 8); in bpf_core_calc_relo()
|
D | linker.c | 2507 dst_rec->insn_off += src_sec->dst_off; in linker_append_btf_ext() 2536 dst_rec->insn_off += src_sec->dst_off; in linker_append_btf_ext() 2578 dst_rec->insn_off += src_sec->dst_off; in linker_append_btf_ext()
|
D | libbpf.h | 1627 __u32 insn_off, __u32 nr_skip);
|
D | libbpf.c | 5899 if (rec->insn_off % BPF_INSN_SZ) in bpf_object__relocate_core() 5901 insn_idx = rec->insn_off / BPF_INSN_SZ; in bpf_object__relocate_core() 6146 __u32 insn_off = *(__u32 *)rec / BPF_INSN_SZ; in adjust_prog_btf_ext_info() local 6148 if (insn_off < prog->sec_insn_off) in adjust_prog_btf_ext_info() 6150 if (insn_off >= prog->sec_insn_off + prog->sec_insn_cnt) in adjust_prog_btf_ext_info() 6183 __u32 *insn_off = rec; in adjust_prog_btf_ext_info() local 6185 *insn_off = *insn_off / BPF_INSN_SZ + off_adj; in adjust_prog_btf_ext_info() 7817 .insn_off = relo->insn_idx * 8, in bpf_program_record_relos()
|
/linux-6.12.1/tools/objtool/ |
D | orc_gen.c | 21 unsigned long insn_off; member 36 entry->insn_off = offset; in orc_list_add() 141 entry->insn_sec, entry->insn_off, in orc_create()
|
D | elf.c | 888 unsigned long insn_off) in elf_init_reloc_text_sym() argument 891 int addend = insn_off; in elf_init_reloc_text_sym()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | core_reloc_raw.c | 58 .insn_off = 0, in test_bad_local_id() 64 .insn_off = 0, /* patch first instruction (r0 = 0) */ in test_bad_local_id()
|
D | test_global_funcs.c | 96 if (rec->insn_off == 0) in subtest_ctx_arg_rewrite()
|
D | btf.c | 5660 #define BPF_LINE_INFO_ENC(insn_off, file_off, line_off, line_num, line_col) \ argument 5661 (insn_off), (file_off), (line_off), ((line_num) << 10 | ((line_col) & 0x3ff)) 6731 CHECK(linfo[0].insn_off, "linfo[0].insn_off:%u", in test_get_linfo() 6732 linfo[0].insn_off); in test_get_linfo() 6741 if (CHECK(linfo[i].insn_off <= linfo[i - 1].insn_off, in test_get_linfo() 6743 i, linfo[i].insn_off, in test_get_linfo() 6744 i - 1, linfo[i - 1].insn_off)) { in test_get_linfo()
|
/linux-6.12.1/tools/objtool/arch/loongarch/ |
D | orc.c | 103 struct section *insn_sec, unsigned long insn_off, in write_orc_entry() argument 114 insn_sec, insn_off)) in write_orc_entry()
|
/linux-6.12.1/tools/objtool/arch/x86/ |
D | orc.c | 102 struct section *insn_sec, unsigned long insn_off, in write_orc_entry() argument 115 insn_sec, insn_off)) in write_orc_entry()
|
/linux-6.12.1/kernel/bpf/ |
D | log.c | 333 find_linfo(const struct bpf_verifier_env *env, u32 insn_off) in find_linfo() argument 343 if (!nr_linfo || insn_off >= prog->len) in find_linfo() 364 if (linfo[m].insn_off <= insn_off) in find_linfo() 382 u32 insn_off, in verbose_linfo() argument 393 linfo = find_linfo(env, insn_off); in verbose_linfo()
|
D | core.c | 230 insn_start = linfo[0].insn_off; in bpf_prog_fill_jited_linfo() 238 for (i = 1; i < nr_linfo && linfo[i].insn_off < insn_end; i++) in bpf_prog_fill_jited_linfo() 243 insn_to_jit_off[linfo[i].insn_off - insn_start - 1]; in bpf_prog_fill_jited_linfo() 470 if (off < linfo[i].insn_off) in bpf_adj_linfo() 475 linfo[i].insn_off += delta; in bpf_adj_linfo()
|
D | verifier.c | 2609 ret = aux->func_info[i].insn_off; in bpf_find_exception_callback_insn_off() 16662 if (krecord[i].insn_off) { in check_btf_func_early() 16665 krecord[i].insn_off); in check_btf_func_early() 16668 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func_early() 16671 krecord[i].insn_off, prev_offset); in check_btf_func_early() 16688 prev_offset = krecord[i].insn_off; in check_btf_func_early() 16742 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func() 16786 aux->func_info[i].insn_off = env->subprog_info[i].start; in adjust_btf_func() 16861 if ((i && linfo[i].insn_off <= prev_offset) || in check_btf_line() 16862 linfo[i].insn_off >= prog->len) { in check_btf_line() [all …]
|
/linux-6.12.1/tools/objtool/include/objtool/ |
D | orc.h | 11 struct section *insn_sec, unsigned long insn_off,
|
D | elf.h | 123 unsigned long insn_off);
|
/linux-6.12.1/Documentation/bpf/ |
D | btf.rst | 678 __u32 insn_off; /* [0, insn_cnt - 1] */ 682 __u32 insn_off; /* [0, insn_cnt - 1] */ 693 * func_info[0].insn_off must be 0. 694 * the func_info insn_off is in strictly increasing order and matches 699 * the line_info insn_off is in strictly increasing order. 818 The interpretation of ``bpf_func_info->insn_off`` and 819 ``bpf_line_info->insn_off`` is different between kernel API and ELF API. For 820 kernel API, the ``insn_off`` is the instruction offset in the unit of ``struct 821 bpf_insn``. For ELF API, the ``insn_off`` is the byte offset from the
|
D | llvm_reloc.rst | 355 __u32 insn_off; 361 * ``insn_off`` - instruction offset (in bytes) within a code section
|
/linux-6.12.1/include/uapi/linux/ |
D | bpf.h | 7299 __u32 insn_off; member 7307 __u32 insn_off; member 7492 __u32 insn_off; member
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | bpf.h | 7299 __u32 insn_off; member 7307 __u32 insn_off; member 7492 __u32 insn_off; member
|
/linux-6.12.1/include/linux/ |
D | bpf_verifier.h | 811 u32 insn_off,
|
/linux-6.12.1/arch/x86/net/ |
D | bpf_jit_comp.c | 1471 s16 insn_off; in do_jit() local 1955 insn_off = insn->off; in do_jit() 2008 emit_ldsx(&prog, BPF_SIZE(insn->code), dst_reg, src_reg, insn_off); in do_jit() 2010 emit_ldx(&prog, BPF_SIZE(insn->code), dst_reg, src_reg, insn_off); in do_jit()
|