Lines Matching refs:remainder
64 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() argument
69 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
70 *remainder = -*remainder; in div_s64_rem()
74 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
95 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() argument
103 *remainder = rem32; in div64_u64_rem()
111 *remainder = dividend - quot * divisor; in div64_u64_rem()
112 if (*remainder >= divisor) { in div64_u64_rem()
114 *remainder -= divisor; in div64_u64_rem()
181 u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in iter_div_u64_rem() argument
183 return __iter_div_u64_rem(dividend, divisor, remainder); in iter_div_u64_rem()