Lines Matching defs:b_off

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