Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c412 size_t sub_insn_off; member
6105 off_adj = prog->sub_insn_off - prog->sec_insn_off; in adjust_prog_btf_ext_info()
6230 relos[i].insn_idx += subprog->sub_insn_off; in append_subprog_relos()
6254 insn = &main_prog->insns[prog->sub_insn_off + insn_idx]; in bpf_object__reloc_code()
6320 if (subprog->sub_insn_off == 0) { in bpf_object__reloc_code()
6321 subprog->sub_insn_off = main_prog->insns_cnt; in bpf_object__reloc_code()
6332 memcpy(main_prog->insns + subprog->sub_insn_off, subprog->insns, in bpf_object__reloc_code()
6350 insn = &main_prog->insns[prog->sub_insn_off + insn_idx]; in bpf_object__reloc_code()
6357 insn->imm = subprog->sub_insn_off - (prog->sub_insn_off + insn_idx) - 1; in bpf_object__reloc_code()
6360 prog->name, insn_idx, insn->imm, subprog->name, subprog->sub_insn_off); in bpf_object__reloc_code()
[all …]