Lines Matching refs:jmp_offset
218 #define jmp_offset (out_offset - (cur_offset)) in emit_bpf_tail_call() macro
231 if (emit_tailcall_jmp(ctx, BPF_JGE, a2, t1, jmp_offset) < 0) in emit_bpf_tail_call()
239 if (emit_tailcall_jmp(ctx, BPF_JSLT, REG_TCC, LOONGARCH_GPR_ZERO, jmp_offset) < 0) in emit_bpf_tail_call()
251 if (emit_tailcall_jmp(ctx, BPF_JEQ, t2, LOONGARCH_GPR_ZERO, jmp_offset) < 0) in emit_bpf_tail_call()
274 #undef jmp_offset in emit_bpf_tail_call()
396 int ret, jmp_offset; in build_insn() local
694 jmp_offset = bpf2la_offset(i, off, ctx); in build_insn()
704 if (emit_cond_jmp(ctx, cond, t1, t2, jmp_offset) < 0) in build_insn()
729 jmp_offset = bpf2la_offset(i, off, ctx); in build_insn()
745 if (emit_cond_jmp(ctx, cond, t2, tm, jmp_offset) < 0) in build_insn()
752 jmp_offset = bpf2la_offset(i, off, ctx); in build_insn()
755 if (emit_cond_jmp(ctx, cond, t1, LOONGARCH_GPR_ZERO, jmp_offset) < 0) in build_insn()
762 jmp_offset = bpf2la_offset(i, off, ctx); in build_insn()
766 if (emit_cond_jmp(ctx, cond, t1, LOONGARCH_GPR_ZERO, jmp_offset) < 0) in build_insn()
772 jmp_offset = bpf2la_offset(i, off, ctx); in build_insn()
773 if (emit_uncond_jmp(ctx, jmp_offset) < 0) in build_insn()
804 jmp_offset = epilogue_offset(ctx); in build_insn()
805 if (emit_uncond_jmp(ctx, jmp_offset) < 0) in build_insn()