Home
last modified time | relevance | path

Searched refs:f_n (Results 1 – 2 of 2) sorted by relevance

/linux/fs/bcachefs/
A Dutil.c124 u64 v = 0, b, f_n = 0, f_d = 1; in __bch2_strtou64_h() local
131 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()
/linux/drivers/gpu/drm/i915/gt/
A Dselftest_rps.c598 static bool scaled_within(u64 x, u64 y, u32 f_n, u32 f_d) in scaled_within() argument
600 return f_d * x > f_n * y && f_n * x < f_d * y; in scaled_within()

Completed in 7 milliseconds