rvoff 696 arch/riscv/net/bpf_jit_comp.c static int rv_offset_check(int *rvoff, s16 off, int insn, rvoff 699 arch/riscv/net/bpf_jit_comp.c *rvoff = rv_offset(insn + off, insn, ctx); rvoff 700 arch/riscv/net/bpf_jit_comp.c return is_13b_check(*rvoff, insn); rvoff 741 arch/riscv/net/bpf_jit_comp.c int rvoff, i = insn - ctx->prog->insnsi; rvoff 1009 arch/riscv/net/bpf_jit_comp.c rvoff = rv_offset(i + off, i, ctx); rvoff 1010 arch/riscv/net/bpf_jit_comp.c if (!is_21b_int(rvoff)) { rvoff 1012 arch/riscv/net/bpf_jit_comp.c i, rvoff); rvoff 1016 arch/riscv/net/bpf_jit_comp.c emit(rv_jal(RV_REG_ZERO, rvoff >> 1), ctx); rvoff 1022 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1026 arch/riscv/net/bpf_jit_comp.c emit(rv_beq(rd, rs, rvoff >> 1), ctx); rvoff 1030 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1034 arch/riscv/net/bpf_jit_comp.c emit(rv_bltu(rs, rd, rvoff >> 1), ctx); rvoff 1038 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1042 arch/riscv/net/bpf_jit_comp.c emit(rv_bltu(rd, rs, rvoff >> 1), ctx); rvoff 1046 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1050 arch/riscv/net/bpf_jit_comp.c emit(rv_bgeu(rd, rs, rvoff >> 1), ctx); rvoff 1054 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1058 arch/riscv/net/bpf_jit_comp.c emit(rv_bgeu(rs, rd, rvoff >> 1), ctx); rvoff 1062 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1066 arch/riscv/net/bpf_jit_comp.c emit(rv_bne(rd, rs, rvoff >> 1), ctx); rvoff 1070 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1074 arch/riscv/net/bpf_jit_comp.c emit(rv_blt(rs, rd, rvoff >> 1), ctx); rvoff 1078 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1082 arch/riscv/net/bpf_jit_comp.c emit(rv_blt(rd, rs, rvoff >> 1), ctx); rvoff 1086 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1090 arch/riscv/net/bpf_jit_comp.c emit(rv_bge(rd, rs, rvoff >> 1), ctx); rvoff 1094 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1098 arch/riscv/net/bpf_jit_comp.c emit(rv_bge(rs, rd, rvoff >> 1), ctx); rvoff 1102 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1107 arch/riscv/net/bpf_jit_comp.c emit(rv_bne(RV_REG_T1, RV_REG_ZERO, rvoff >> 1), ctx); rvoff 1113 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1118 arch/riscv/net/bpf_jit_comp.c emit(rv_beq(rd, RV_REG_T1, rvoff >> 1), ctx); rvoff 1122 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1127 arch/riscv/net/bpf_jit_comp.c emit(rv_bltu(RV_REG_T1, rd, rvoff >> 1), ctx); rvoff 1131 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1136 arch/riscv/net/bpf_jit_comp.c emit(rv_bltu(rd, RV_REG_T1, rvoff >> 1), ctx); rvoff 1140 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1145 arch/riscv/net/bpf_jit_comp.c emit(rv_bgeu(rd, RV_REG_T1, rvoff >> 1), ctx); rvoff 1149 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1154 arch/riscv/net/bpf_jit_comp.c emit(rv_bgeu(RV_REG_T1, rd, rvoff >> 1), ctx); rvoff 1158 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1163 arch/riscv/net/bpf_jit_comp.c emit(rv_bne(rd, RV_REG_T1, rvoff >> 1), ctx); rvoff 1167 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1172 arch/riscv/net/bpf_jit_comp.c emit(rv_blt(RV_REG_T1, rd, rvoff >> 1), ctx); rvoff 1176 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1181 arch/riscv/net/bpf_jit_comp.c emit(rv_blt(rd, RV_REG_T1, rvoff >> 1), ctx); rvoff 1185 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1190 arch/riscv/net/bpf_jit_comp.c emit(rv_bge(rd, RV_REG_T1, rvoff >> 1), ctx); rvoff 1194 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1199 arch/riscv/net/bpf_jit_comp.c emit(rv_bge(RV_REG_T1, rd, rvoff >> 1), ctx); rvoff 1203 arch/riscv/net/bpf_jit_comp.c if (rv_offset_check(&rvoff, off, i, ctx)) rvoff 1209 arch/riscv/net/bpf_jit_comp.c emit(rv_bne(RV_REG_T1, RV_REG_ZERO, rvoff >> 1), ctx); rvoff 1251 arch/riscv/net/bpf_jit_comp.c rvoff = epilogue_offset(ctx); rvoff 1252 arch/riscv/net/bpf_jit_comp.c if (is_21b_check(rvoff, i)) rvoff 1254 arch/riscv/net/bpf_jit_comp.c emit(rv_jal(RV_REG_ZERO, rvoff >> 1), ctx);