Lines Matching refs:b_off
665 static bool is_bad_offset(int b_off) in is_bad_offset() argument
667 return b_off > 0x1ffff || b_off < -0x20000; in is_bad_offset()
675 u32 k, b_off __maybe_unused; in build_body()
736 b_off = b_imm(prog->len, ctx); in build_body()
737 if (is_bad_offset(b_off)) in build_body()
739 emit_b(b_off, ctx); in build_body()
786 b_off = b_imm(prog->len, ctx); in build_body()
787 if (is_bad_offset(b_off)) in build_body()
789 emit_bcond(MIPS_COND_NE, r_ret, 0, b_off, ctx); in build_body()
868 b_off = b_imm(prog->len, ctx); in build_body()
869 if (is_bad_offset(b_off)) in build_body()
871 emit_bcond(MIPS_COND_EQ, r_X, r_zero, b_off, ctx); in build_body()
879 b_off = b_imm(prog->len, ctx); in build_body()
880 if (is_bad_offset(b_off)) in build_body()
882 emit_bcond(MIPS_COND_EQ, r_X, r_zero, b_off, ctx); in build_body()
943 b_off = b_imm(i + k + 1, ctx); in build_body()
944 if (is_bad_offset(b_off)) in build_body()
946 emit_b(b_off, ctx); in build_body()
988 b_off = b_imm(i + inst->jf + 1, ctx); in build_body()
989 emit_bcond(MIPS_COND_NE, r_s0, r_zero, b_off, in build_body()
1001 b_off = b_imm(i + inst->jf + 1, ctx); in build_body()
1003 b_off, ctx); in build_body()
1006 b_off = b_imm(i + inst->jt + 1, ctx); in build_body()
1007 emit_b(b_off, ctx); in build_body()
1011 b_off = b_imm(i + inst->jt + 1, ctx); in build_body()
1012 emit_b(b_off, ctx); in build_body()
1021 b_off = b_imm(i + inst->jt + 1, ctx); in build_body()
1023 b_off, ctx); in build_body()
1026 b_off = b_imm(i + inst->jf + 1, in build_body()
1029 b_off, ctx); in build_body()
1034 b_off = b_imm(i + inst->jt + 1, in build_body()
1037 b_off, ctx); in build_body()
1040 b_off = b_imm(i + inst->jf + 1, ctx); in build_body()
1042 b_off, ctx); in build_body()
1053 b_off = b_imm(i + inst->jt + 1, ctx); in build_body()
1054 emit_bcond(MIPS_COND_NE, r_s0, r_zero, b_off, ctx); in build_body()
1057 b_off = b_imm(i + inst->jf + 1, ctx); in build_body()
1058 emit_b(b_off, ctx); in build_body()
1066 b_off = b_imm(i + inst->jt + 1, ctx); in build_body()
1067 emit_bcond(MIPS_COND_NE, r_s0, r_zero, b_off, ctx); in build_body()
1070 b_off = b_imm(i + inst->jf + 1, ctx); in build_body()
1071 emit_b(b_off, ctx); in build_body()
1081 b_off = b_imm(prog->len, ctx); in build_body()
1082 if (is_bad_offset(b_off)) in build_body()
1084 emit_b(b_off, ctx); in build_body()
1099 b_off = b_imm(prog->len, ctx); in build_body()
1100 if (is_bad_offset(b_off)) in build_body()
1102 emit_b(b_off, ctx); in build_body()
1160 b_off = b_imm(prog->len, ctx); in build_body()
1161 if (is_bad_offset(b_off)) in build_body()
1163 emit_bcond(MIPS_COND_EQ, r_s0, r_zero, b_off, ctx); in build_body()