Lines Matching refs:dividend
67 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() argument
71 if (dividend < 0) { in div_s64_rem()
72 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
77 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
98 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() argument
105 quot = div_u64_rem(dividend, divisor, &rem32); in div64_u64_rem()
109 quot = div_u64(dividend >> n, divisor >> n); in div64_u64_rem()
114 *remainder = dividend - quot * divisor; in div64_u64_rem()
138 u64 div64_u64(u64 dividend, u64 divisor) in div64_u64() argument
144 quot = div_u64(dividend, divisor); in div64_u64()
147 quot = div_u64(dividend >> n, divisor >> n); in div64_u64()
151 if ((dividend - quot * divisor) >= divisor) in div64_u64()
161 s64 div64_s64(s64 dividend, s64 divisor) in div64_s64() argument
165 quot = div64_u64(abs(dividend), abs(divisor)); in div64_s64()
166 t = (dividend ^ divisor) >> 63; in div64_s64()
179 u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in iter_div_u64_rem() argument
181 return __iter_div_u64_rem(dividend, divisor, remainder); in iter_div_u64_rem()