Searched refs:rvoff (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/arch/riscv/net/ |
| D | bpf_jit_comp.c | 690 static int rv_offset_check(int *rvoff, s16 off, int insn, in rv_offset_check() argument 693 *rvoff = rv_offset(insn + off, insn, ctx); in rv_offset_check() 694 return is_13b_check(*rvoff, insn); in rv_offset_check() 735 int rvoff, i = insn - ctx->prog->insnsi; in emit_insn() local 1003 rvoff = rv_offset(i + off, i, ctx); in emit_insn() 1004 if (!is_21b_int(rvoff)) { in emit_insn() 1006 i, rvoff); in emit_insn() 1010 emit(rv_jal(RV_REG_ZERO, rvoff >> 1), ctx); in emit_insn() 1016 if (rv_offset_check(&rvoff, off, i, ctx)) in emit_insn() 1020 emit(rv_beq(rd, rs, rvoff >> 1), ctx); in emit_insn() [all …]
|