/linux-master/tools/objtool/include/objtool/ |
H A D | orc.h | 11 struct section *insn_sec, unsigned long insn_off,
|
H A D | elf.h | 122 unsigned long insn_off);
|
/linux-master/tools/objtool/ |
H A D | orc_gen.c | 21 unsigned long insn_off; member in struct:orc_list_entry 36 entry->insn_off = offset; 141 entry->insn_sec, entry->insn_off,
|
H A D | elf.c | 888 unsigned long insn_off) 891 int addend = insn_off; 884 elf_init_reloc_text_sym(struct elf *elf, struct section *sec, unsigned long offset, unsigned int reloc_idx, struct section *insn_sec, unsigned long insn_off) argument
|
/linux-master/tools/lib/bpf/ |
H A D | bpf_prog_linfo.c | 220 __u32 insn_off, __u32 nr_skip) 233 if (insn_off < linfo->insn_off) 238 if (insn_off < linfo->insn_off) 219 bpf_prog_linfo__lfind(const struct bpf_prog_linfo *prog_linfo, __u32 insn_off, __u32 nr_skip) argument
|
H A D | libbpf_internal.h | 499 __u32 insn_off; member in struct:bpf_func_info_min 505 __u32 insn_off; member in struct:bpf_line_info_min
|
H A D | relo_core.c | 722 prog_name, relo->kind, relo->insn_off / 8); 744 prog_name, relo->kind, relo->insn_off / 8); 959 relo->kind, relo->insn_off / 8);
|
H A D | linker.c | 2486 dst_rec->insn_off += src_sec->dst_off; 2515 dst_rec->insn_off += src_sec->dst_off; 2557 dst_rec->insn_off += src_sec->dst_off;
|
H A D | libbpf.h | 1572 __u32 insn_off, __u32 nr_skip);
|
H A D | libbpf.c | 5810 if (rec->insn_off % BPF_INSN_SZ) 5812 insn_idx = rec->insn_off / BPF_INSN_SZ; 6057 __u32 insn_off = *(__u32 *)rec / BPF_INSN_SZ; local 6059 if (insn_off < prog->sec_insn_off) 6061 if (insn_off >= prog->sec_insn_off + prog->sec_insn_cnt) 6094 __u32 *insn_off = rec; local 6096 *insn_off = *insn_off / BPF_INSN_SZ + off_adj; 7716 .insn_off = relo->insn_idx * 8,
|
/linux-master/tools/bpf/bpftool/ |
H A D | xlated_dumper.c | 248 if (record->insn_off == i) { 329 if (record->insn_off == i) { 388 unsigned int insn_off; local 396 insn_off = (unsigned int)(cur - insn_start + start_idx); 398 if (record->insn_off == insn_off) { 411 linfo = bpf_prog_linfo__lfind(prog_linfo, insn_off, 0); 418 printf("%d: ", insn_off);
|
/linux-master/tools/objtool/arch/loongarch/ |
H A D | orc.c | 103 struct section *insn_sec, unsigned long insn_off, 114 insn_sec, insn_off)) 101 write_orc_entry(struct elf *elf, struct section *orc_sec, struct section *ip_sec, unsigned int idx, struct section *insn_sec, unsigned long insn_off, struct orc_entry *o) argument
|
/linux-master/tools/objtool/arch/x86/ |
H A D | orc.c | 102 struct section *insn_sec, unsigned long insn_off, 115 insn_sec, insn_off)) 100 write_orc_entry(struct elf *elf, struct section *orc_sec, struct section *ip_sec, unsigned int idx, struct section *insn_sec, unsigned long insn_off, struct orc_entry *o) argument
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_global_funcs.c | 96 if (rec->insn_off == 0)
|
H A D | btf.c | 5626 #define BPF_LINE_INFO_ENC(insn_off, file_off, line_off, line_num, line_col) \ 5627 (insn_off), (file_off), (line_off), ((line_num) << 10 | ((line_col) & 0x3ff)) 5745 .descr = "func_type (Incorrect bpf_func_info.insn_off)", 5803 .descr = "line_info (No subprog. insn_off >= prog->len)", 5827 .err_str = "line_info[4].insn_off", 6070 .err_str = "Invalid line_info[2].insn_off", 6697 CHECK(linfo[0].insn_off, "linfo[0].insn_off:%u", 6698 linfo[0].insn_off); 6707 if (CHECK(linfo[i].insn_off < [all...] |
/linux-master/kernel/bpf/ |
H A D | log.c | 333 find_linfo(const struct bpf_verifier_env *env, u32 insn_off) argument 343 if (!nr_linfo || insn_off >= prog->len) 347 /* Loop invariant: linfo[l].insn_off <= insns_off. 348 * linfo[0].insn_off == 0 which always satisfies above condition. 357 * l=1, r=2, linfo[l].insn_off <= insn_off, linfo[r].insn_off > insn_off, 358 * then m=2, we see that linfo[m].insn_off > insn_off, an 381 verbose_linfo(struct bpf_verifier_env *env, u32 insn_off, const char *prefix_fmt, ...) argument [all...] |
H A D | core.c | 193 * for insn_off to the jited_off mapping (insn_to_jit_off). 195 * The idx to this array is the insn_off. Hence, the insn_off 214 * insn_to_jit_off[linfo[i].insn_off - insn_start - 1] 229 insn_start = linfo[0].insn_off; 237 for (i = 1; i < nr_linfo && linfo[i].insn_off < insn_end; i++) 238 /* The verifier ensures that linfo[i].insn_off is 242 insn_to_jit_off[linfo[i].insn_off - insn_start - 1]; 469 if (off < linfo[i].insn_off) 472 /* Push all off < linfo[i].insn_off b [all...] |
H A D | verifier.c | 2543 ret = aux->func_info[i].insn_off; 2545 * later, so assume this is the right insn_off for now. 2548 verbose(env, "invalid exception callback insn_off in func_info: 0\n"); 15940 /* check insn_off */ 15943 if (krecord[i].insn_off) { 15945 "nonzero insn_off %u for the first func info record", 15946 krecord[i].insn_off); 15949 } else if (krecord[i].insn_off <= prev_offset) { 15952 krecord[i].insn_off, prev_offset); 15969 prev_offset = krecord[i].insn_off; [all...] |
H A D | btf.c | 8741 err = bpf_core_patch_insn((void *)ctx->log, insn, relo->insn_off / 8, relo, relo_idx,
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 7264 __u32 insn_off; member in struct:bpf_func_info 7272 __u32 insn_off; member in struct:bpf_line_info 7409 * - insn_off - instruction offset (in bytes) within a BPF program that needs 7453 __u32 insn_off; member in struct:bpf_core_relo
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 7264 __u32 insn_off; member in struct:bpf_func_info 7272 __u32 insn_off; member in struct:bpf_line_info 7409 * - insn_off - instruction offset (in bytes) within a BPF program that needs 7453 __u32 insn_off; member in struct:bpf_core_relo
|
/linux-master/include/linux/ |
H A D | bpf_verifier.h | 768 u32 insn_off,
|
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp.c | 1330 s16 insn_off; local 1805 insn_off = insn->off; 1821 insn_off = 0; 1853 emit_ldsx(&prog, BPF_SIZE(insn->code), dst_reg, src_reg, insn_off); 1855 emit_ldx(&prog, BPF_SIZE(insn->code), dst_reg, src_reg, insn_off);
|
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | jit.c | 2761 s16 insn_off = meta->insn.off - range_start; local 2765 u8 idx = insn_off / REG_WIDTH; 2766 u8 off = insn_off % REG_WIDTH;
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 460 self->func_info[1].insn_off = callback_idx;
|