Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dlibbpf.c169 int insn_idx; member
742 unsigned int insn_idx; in bpf_program__collect_reloc() local
765 insn_idx = rel.r_offset / sizeof(struct bpf_insn); in bpf_program__collect_reloc()
766 pr_debug("relocation: insn_idx=%u\n", insn_idx); in bpf_program__collect_reloc()
768 if (insns[insn_idx].code != (BPF_LD | BPF_IMM | BPF_DW)) { in bpf_program__collect_reloc()
770 insn_idx, insns[insn_idx].code); in bpf_program__collect_reloc()
781 prog->reloc_desc[i].insn_idx = insn_idx; in bpf_program__collect_reloc()
825 int insn_idx, map_idx; in bpf_program__relocate() local
828 insn_idx = prog->reloc_desc[i].insn_idx; in bpf_program__relocate()
831 if (insn_idx >= (int)prog->insns_cnt) { in bpf_program__relocate()
[all …]