/linux-6.1.9/tools/objtool/ |
D | orc_gen.c | 92 struct section *insn_sec, unsigned long insn_off, in write_orc_entry() argument 105 insn_sec, insn_off)) in write_orc_entry() 115 unsigned long insn_off; member 130 entry->insn_off = offset; in orc_list_add() 239 entry->insn_sec, entry->insn_off, in orc_create()
|
D | elf.c | 803 struct section *insn_sec, unsigned long insn_off) in elf_add_reloc_to_insn() argument 806 int addend = insn_off; in elf_add_reloc_to_insn()
|
/linux-6.1.9/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 | 460 __u32 insn_off; member 466 __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 | libbpf.h | 1241 __u32 insn_off, __u32 nr_skip);
|
D | linker.c | 2462 dst_rec->insn_off += src_sec->dst_off; in linker_append_btf_ext() 2491 dst_rec->insn_off += src_sec->dst_off; in linker_append_btf_ext() 2533 dst_rec->insn_off += src_sec->dst_off; in linker_append_btf_ext()
|
D | libbpf.c | 5696 if (rec->insn_off % BPF_INSN_SZ) in bpf_object__relocate_core() 5698 insn_idx = rec->insn_off / BPF_INSN_SZ; in bpf_object__relocate_core() 5919 __u32 insn_off = *(__u32 *)rec / BPF_INSN_SZ; in adjust_prog_btf_ext_info() local 5921 if (insn_off < prog->sec_insn_off) in adjust_prog_btf_ext_info() 5923 if (insn_off >= prog->sec_insn_off + prog->sec_insn_cnt) in adjust_prog_btf_ext_info() 5956 __u32 *insn_off = rec; in adjust_prog_btf_ext_info() local 5958 *insn_off = *insn_off / BPF_INSN_SZ + off_adj; in adjust_prog_btf_ext_info() 7072 .insn_off = relo->insn_idx * 8, in bpf_program_record_relos()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | xlated_dumper.c | 242 if (record->insn_off == i) { in dump_xlated_json() 323 if (record->insn_off == i) { in dump_xlated_plain()
|
/linux-6.1.9/Documentation/bpf/ |
D | btf.rst | 649 __u32 insn_off; /* [0, insn_cnt - 1] */ 653 __u32 insn_off; /* [0, insn_cnt - 1] */ 664 * func_info[0].insn_off must be 0. 665 * the func_info insn_off is in strictly increasing order and matches 670 * the line_info insn_off is in strictly increasing order. 784 The interpretation of ``bpf_func_info->insn_off`` and 785 ``bpf_line_info->insn_off`` is different between kernel API and ELF API. For 786 kernel API, the ``insn_off`` is the instruction offset in the unit of ``struct 787 bpf_insn``. For ELF API, the ``insn_off`` is the byte offset from the
|
/linux-6.1.9/tools/objtool/include/objtool/ |
D | elf.h | 152 struct section *insn_sec, unsigned long insn_off);
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | bpf.h | 6808 __u32 insn_off; member 6816 __u32 insn_off; member 6979 __u32 insn_off; member
|
/linux-6.1.9/include/uapi/linux/ |
D | bpf.h | 6808 __u32 insn_off; member 6816 __u32 insn_off; member 6979 __u32 insn_off; member
|
/linux-6.1.9/kernel/bpf/ |
D | verifier.c | 274 find_linfo(const struct bpf_verifier_env *env, u32 insn_off) in find_linfo() argument 283 if (!nr_linfo || insn_off >= prog->len) in find_linfo() 288 if (insn_off < linfo[i].insn_off) in find_linfo() 385 u32 insn_off, in verbose_linfo() argument 393 linfo = find_linfo(env, insn_off); in verbose_linfo() 11072 if (krecord[i].insn_off) { in check_btf_func() 11075 krecord[i].insn_off); in check_btf_func() 11078 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func() 11081 krecord[i].insn_off, prev_offset); in check_btf_func() 11085 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func() [all …]
|
D | core.c | 214 insn_start = linfo[0].insn_off; in bpf_prog_fill_jited_linfo() 222 for (i = 1; i < nr_linfo && linfo[i].insn_off < insn_end; i++) in bpf_prog_fill_jited_linfo() 227 insn_to_jit_off[linfo[i].insn_off - insn_start - 1]; in bpf_prog_fill_jited_linfo() 441 if (off < linfo[i].insn_off) in bpf_adj_linfo() 446 linfo[i].insn_off += delta; in bpf_adj_linfo()
|
D | btf.c | 8025 err = bpf_core_patch_insn((void *)ctx->log, insn, relo->insn_off / 8, relo, relo_idx, in bpf_core_apply()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 5519 #define BPF_LINE_INFO_ENC(insn_off, file_off, line_off, line_num, line_col) \ argument 5520 (insn_off), (file_off), (line_off), ((line_num) << 10 | ((line_col) & 0x3ff)) 6590 CHECK(linfo[0].insn_off, "linfo[0].insn_off:%u", in test_get_linfo() 6591 linfo[0].insn_off); in test_get_linfo() 6600 if (CHECK(linfo[i].insn_off <= linfo[i - 1].insn_off, in test_get_linfo() 6602 i, linfo[i].insn_off, in test_get_linfo() 6603 i - 1, linfo[i - 1].insn_off)) { in test_get_linfo()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_verifier.c | 462 self->func_info[1].insn_off = callback_idx; in bpf_fill_big_prog_with_loop_1()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/bpf/ |
D | jit.c | 2761 s16 insn_off = meta->insn.off - range_start; in mem_ldx_data_from_pktcache_unaligned() local 2765 u8 idx = insn_off / REG_WIDTH; in mem_ldx_data_from_pktcache_unaligned() 2766 u8 off = insn_off % REG_WIDTH; in mem_ldx_data_from_pktcache_unaligned()
|