| /Linux-v5.10/tools/objtool/ |
| D | orc_gen.c | 91 unsigned long insn_off, struct orc_entry *o) in create_orc_entry() argument 110 reloc->addend = insn_off; in create_orc_entry() 116 reloc->sym = find_symbol_containing(insn_sec, insn_off); in create_orc_entry() 123 insn_off - 1); in create_orc_entry() 127 insn_off); in create_orc_entry() 131 reloc->addend = insn_off - reloc->sym->offset; in create_orc_entry()
|
| /Linux-v5.10/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 | 238 __u32 insn_off; member 244 __u32 insn_off; member 315 __u32 insn_off; member
|
| D | libbpf.c | 5087 prog->name, relo->kind, relo->insn_off / 8); in bpf_core_calc_field_relo() 5109 prog->name, relo->kind, relo->insn_off / 8); in bpf_core_calc_field_relo() 5339 relo->kind, relo->insn_off / 8); in bpf_core_calc_relo() 5419 if (relo->insn_off % BPF_INSN_SZ) in bpf_core_patch_insn() 5421 insn_idx = relo->insn_off / BPF_INSN_SZ; in bpf_core_patch_insn() 5824 prog->name, relo_idx, relo->insn_off, err); in bpf_core_apply_relo() 5891 insn_idx = rec->insn_off / BPF_INSN_SZ; in bpf_object__relocate_core() 6006 __u32 insn_off = *(__u32 *)rec / BPF_INSN_SZ; in adjust_prog_btf_ext_info() local 6008 if (insn_off < prog->sec_insn_off) in adjust_prog_btf_ext_info() 6010 if (insn_off >= prog->sec_insn_off + prog->sec_insn_cnt) in adjust_prog_btf_ext_info() [all …]
|
| D | libbpf.h | 621 __u32 insn_off, __u32 nr_skip);
|
| D | btf.c | 2595 __u32 *insn_off; in btf_ext_reloc_info() local 2597 insn_off = data + existing_len + (i * record_size); in btf_ext_reloc_info() 2598 *insn_off = *insn_off / sizeof(struct bpf_insn) + in btf_ext_reloc_info()
|
| /Linux-v5.10/tools/bpf/bpftool/ |
| D | xlated_dumper.c | 235 if (record->insn_off == i) { in dump_xlated_json() 316 if (record->insn_off == i) { in dump_xlated_plain()
|
| /Linux-v5.10/Documentation/bpf/ |
| D | btf.rst | 553 __u32 insn_off; /* [0, insn_cnt - 1] */ 557 __u32 insn_off; /* [0, insn_cnt - 1] */ 568 * func_info[0].insn_off must be 0. 569 * the func_info insn_off is in strictly increasing order and matches 574 * the line_info insn_off is in strictly increasing order. 688 The interpretation of ``bpf_func_info->insn_off`` and 689 ``bpf_line_info->insn_off`` is different between kernel API and ELF API. For 690 kernel API, the ``insn_off`` is the instruction offset in the unit of ``struct 691 bpf_insn``. For ELF API, the ``insn_off`` is the byte offset from the
|
| /Linux-v5.10/kernel/bpf/ |
| D | verifier.c | 250 find_linfo(const struct bpf_verifier_env *env, u32 insn_off) in find_linfo() argument 259 if (!nr_linfo || insn_off >= prog->len) in find_linfo() 264 if (insn_off < linfo[i].insn_off) in find_linfo() 358 u32 insn_off, in verbose_linfo() argument 366 linfo = find_linfo(env, insn_off); in verbose_linfo() 8234 if (krecord[i].insn_off) { in check_btf_func() 8237 krecord[i].insn_off); in check_btf_func() 8240 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func() 8243 krecord[i].insn_off, prev_offset); in check_btf_func() 8247 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func() [all …]
|
| D | core.c | 197 insn_start = linfo[0].insn_off; in bpf_prog_fill_jited_linfo() 205 for (i = 1; i < nr_linfo && linfo[i].insn_off < insn_end; i++) in bpf_prog_fill_jited_linfo() 210 insn_to_jit_off[linfo[i].insn_off - insn_start - 1]; in bpf_prog_fill_jited_linfo() 428 if (off < linfo[i].insn_off) in bpf_adj_linfo() 433 linfo[i].insn_off += delta; in bpf_adj_linfo()
|
| /Linux-v5.10/tools/include/uapi/linux/ |
| D | bpf.h | 4964 __u32 insn_off; member 4972 __u32 insn_off; member
|
| /Linux-v5.10/include/uapi/linux/ |
| D | bpf.h | 4964 __u32 insn_off; member 4972 __u32 insn_off; member
|
| /Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | btf.c | 4926 #define BPF_LINE_INFO_ENC(insn_off, file_off, line_off, line_num, line_col) \ argument 4927 (insn_off), (file_off), (line_off), ((line_num) << 10 | ((line_col) & 0x3ff)) 5997 CHECK(linfo[0].insn_off, "linfo[0].insn_off:%u", in test_get_linfo() 5998 linfo[0].insn_off); in test_get_linfo() 6007 if (CHECK(linfo[i].insn_off <= linfo[i - 1].insn_off, in test_get_linfo() 6009 i, linfo[i].insn_off, in test_get_linfo() 6010 i - 1, linfo[i - 1].insn_off)) { in test_get_linfo()
|
| /Linux-v5.10/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()
|