Searched refs:u64_to_u128 (Results 1 – 2 of 2) sorted by relevance
/linux/fs/bcachefs/ |
H A D | mean_and_variance.h | 26 static inline u128_u u64_to_u128(u64 a) in u64_to_u128() function 61 u128_u b = u64_to_u128(a); in u128_square() 75 static inline u128_u u64_to_u128(u64 a) in u64_to_u128() function 129 r = u128_shl(u64_to_u128(h*h), 64); in u128_square() 130 r = u128_add(r, u128_shl(u64_to_u128(h*l), 32)); in u128_square() 131 r = u128_add(r, u128_shl(u64_to_u128(l*h), 32)); in u128_square() 132 r = u128_add(r, u64_to_u128(l*l)); in u128_square() 140 u128_u c = u64_to_u128(hi); in u64s_to_u128() 143 c = u128_add(c, u64_to_u128(lo)); in u64s_to_u128()
|
H A D | mean_and_variance.c | 56 r = u128_shl(u64_to_u128(div64_u64_rem(h, d, &rem)), 64); in u128_div() 57 r = u128_add(r, u128_shl(u64_to_u128(div64_u64_rem(l + (rem << 32), d, &rem)), 32)); in u128_div() 58 r = u128_add(r, u64_to_u128(div64_u64_rem(lo + (rem << 32), d, &rem))); in u128_div()
|