Lines Matching refs:rhs
180 unsigned long rhs, char op) in handle_overflow() argument
194 val_to_string(rhs_val_str, sizeof(rhs_val_str), type, rhs); in handle_overflow()
208 unsigned long rhs) in __ubsan_handle_add_overflow() argument
211 handle_overflow(data, lhs, rhs, '+'); in __ubsan_handle_add_overflow()
217 unsigned long rhs) in __ubsan_handle_sub_overflow() argument
219 handle_overflow(data, lhs, rhs, '-'); in __ubsan_handle_sub_overflow()
225 unsigned long rhs) in __ubsan_handle_mul_overflow() argument
227 handle_overflow(data, lhs, rhs, '*'); in __ubsan_handle_mul_overflow()
254 unsigned long rhs) in __ubsan_handle_divrem_overflow() argument
264 val_to_string(rhs_val_str, sizeof(rhs_val_str), data->type, rhs); in __ubsan_handle_divrem_overflow()
266 if (type_is_signed(data->type) && get_signed_val(data->type, rhs) == -1) in __ubsan_handle_divrem_overflow()
434 unsigned long lhs, unsigned long rhs) in __ubsan_handle_shift_out_of_bounds() argument
447 val_to_string(rhs_str, sizeof(rhs_str), rhs_type, rhs); in __ubsan_handle_shift_out_of_bounds()
450 if (val_is_negative(rhs_type, rhs)) in __ubsan_handle_shift_out_of_bounds()
453 else if (get_unsigned_val(rhs_type, rhs) >= in __ubsan_handle_shift_out_of_bounds()