Searched refs:f_n (Results 1 – 2 of 2) sorted by relevance
124 u64 v = 0, b, f_n = 0, f_d = 1; in __bch2_strtou64_h() local131 ret = parse_u64(cp, &f_n); in __bch2_strtou64_h()147 if (f_n > div64_u64(U64_MAX, b)) in __bch2_strtou64_h()150 f_n = div64_u64(f_n * b, f_d); in __bch2_strtou64_h()151 if (v + f_n < v) in __bch2_strtou64_h()153 v += f_n; in __bch2_strtou64_h()
598 static bool scaled_within(u64 x, u64 y, u32 f_n, u32 f_d) in scaled_within() argument600 return f_d * x > f_n * y && f_n * x < f_d * y; in scaled_within()
Completed in 7 milliseconds