Lines Matching refs:jmp_offset
223 #define jmp_offset (out_offset - (cur_offset)) in emit_bpf_tail_call() macro
236 if (emit_tailcall_jmp(ctx, BPF_JGE, a2, t1, jmp_offset) < 0) in emit_bpf_tail_call()
244 if (emit_tailcall_jmp(ctx, BPF_JSLT, REG_TCC, LOONGARCH_GPR_ZERO, jmp_offset) < 0) in emit_bpf_tail_call()
256 if (emit_tailcall_jmp(ctx, BPF_JEQ, t2, LOONGARCH_GPR_ZERO, jmp_offset) < 0) in emit_bpf_tail_call()
279 #undef jmp_offset in emit_bpf_tail_call()
464 int ret, jmp_offset; in build_insn() local
811 jmp_offset = bpf2la_offset(i, off, ctx); in build_insn()
821 if (emit_cond_jmp(ctx, cond, t1, t2, jmp_offset) < 0) in build_insn()
846 jmp_offset = bpf2la_offset(i, off, ctx); in build_insn()
862 if (emit_cond_jmp(ctx, cond, t2, tm, jmp_offset) < 0) in build_insn()
869 jmp_offset = bpf2la_offset(i, off, ctx); in build_insn()
872 if (emit_cond_jmp(ctx, cond, t1, LOONGARCH_GPR_ZERO, jmp_offset) < 0) in build_insn()
879 jmp_offset = bpf2la_offset(i, off, ctx); in build_insn()
883 if (emit_cond_jmp(ctx, cond, t1, LOONGARCH_GPR_ZERO, jmp_offset) < 0) in build_insn()
891 jmp_offset = bpf2la_offset(i, off, ctx); in build_insn()
893 jmp_offset = bpf2la_offset(i, imm, ctx); in build_insn()
894 if (emit_uncond_jmp(ctx, jmp_offset) < 0) in build_insn()
923 jmp_offset = epilogue_offset(ctx); in build_insn()
924 if (emit_uncond_jmp(ctx, jmp_offset) < 0) in build_insn()