Home
last modified time | relevance | path

Searched refs:insn_idx (Results 1 – 1 of 1) sorted by relevance

/tools/lib/bpf/
Dlibbpf.c170 int insn_idx; member
1747 unsigned int insn_idx; in bpf_program__collect_reloc() local
1773 insn_idx = rel.r_offset / sizeof(struct bpf_insn); in bpf_program__collect_reloc()
1775 insn_idx, shdr_idx); in bpf_program__collect_reloc()
1779 name, shdr_idx, insn_idx, in bpf_program__collect_reloc()
1780 insns[insn_idx].code); in bpf_program__collect_reloc()
1789 if (insns[insn_idx].code == (BPF_JMP | BPF_CALL)) { in bpf_program__collect_reloc()
1790 if (insns[insn_idx].src_reg != BPF_PSEUDO_CALL) { in bpf_program__collect_reloc()
1795 prog->reloc_desc[i].insn_idx = insn_idx; in bpf_program__collect_reloc()
1801 if (insns[insn_idx].code != (BPF_LD | BPF_IMM | BPF_DW)) { in bpf_program__collect_reloc()
[all …]