| /Linux-v5.4/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 | 110 __u32 insn_off; member 116 __u32 insn_off; member 165 __u32 insn_off; member
|
| D | libbpf.h | 449 __u32 insn_off, __u32 nr_skip);
|
| D | btf.c | 1033 __u32 *insn_off; in btf_ext_reloc_info() local 1035 insn_off = data + existing_len + (i * record_size); in btf_ext_reloc_info() 1036 *insn_off = *insn_off / sizeof(struct bpf_insn) + in btf_ext_reloc_info()
|
| D | libbpf.c | 2783 static int bpf_core_reloc_insn(struct bpf_program *prog, int insn_off, in bpf_core_reloc_insn() argument 2790 if (insn_off % sizeof(struct bpf_insn)) in bpf_core_reloc_insn() 2792 insn_idx = insn_off / sizeof(struct bpf_insn); in bpf_core_reloc_insn() 3096 err = bpf_core_reloc_insn(prog, relo->insn_off, in bpf_core_reloc_offset() 3100 prog_name, relo_idx, relo->insn_off, err); in bpf_core_reloc_offset()
|
| /Linux-v5.4/tools/objtool/ |
| D | orc_gen.c | 86 unsigned long insn_off, struct orc_entry *o) in create_orc_entry() argument 109 rela->addend = insn_off; in create_orc_entry()
|
| /Linux-v5.4/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.4/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.4/kernel/bpf/ |
| D | verifier.c | 213 find_linfo(const struct bpf_verifier_env *env, u32 insn_off) in find_linfo() argument 222 if (!nr_linfo || insn_off >= prog->len) in find_linfo() 227 if (insn_off < linfo[i].insn_off) in find_linfo() 292 u32 insn_off, in verbose_linfo() argument 300 linfo = find_linfo(env, insn_off); in verbose_linfo() 6464 if (krecord[i].insn_off) { in check_btf_func() 6467 krecord[i].insn_off); in check_btf_func() 6471 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func() 6474 krecord[i].insn_off, prev_offset); in check_btf_func() 6479 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func() [all …]
|
| D | core.c | 194 insn_start = linfo[0].insn_off; in bpf_prog_fill_jited_linfo() 202 for (i = 1; i < nr_linfo && linfo[i].insn_off < insn_end; i++) in bpf_prog_fill_jited_linfo() 207 insn_to_jit_off[linfo[i].insn_off - insn_start - 1]; in bpf_prog_fill_jited_linfo() 424 if (off < linfo[i].insn_off) in bpf_adj_linfo() 429 linfo[i].insn_off += delta; in bpf_adj_linfo()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | bpf.h | 3578 __u32 insn_off; member 3586 __u32 insn_off; member
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | bpf.h | 3578 __u32 insn_off; member 3586 __u32 insn_off; member
|
| /Linux-v5.4/tools/testing/selftests/bpf/ |
| D | test_btf.c | 4981 #define BPF_LINE_INFO_ENC(insn_off, file_off, line_off, line_num, line_col) \ argument 4982 (insn_off), (file_off), (line_off), ((line_num) << 10 | ((line_col) & 0x3ff)) 6052 CHECK(linfo[0].insn_off, "linfo[0].insn_off:%u", in test_get_linfo() 6053 linfo[0].insn_off); in test_get_linfo() 6062 if (CHECK(linfo[i].insn_off <= linfo[i - 1].insn_off, in test_get_linfo() 6064 i, linfo[i].insn_off, in test_get_linfo() 6065 i - 1, linfo[i - 1].insn_off)) { in test_get_linfo()
|
| /Linux-v5.4/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()
|