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

/linux-master/fs/bcachefs/
H A Dutil.c124 u64 v = 0, b, f_n = 0, f_d = 1; local
131 ret = parse_u64(cp, &f_n);
147 if (f_n > div_u64(U64_MAX, b))
150 f_n = div_u64(f_n * b, f_d);
151 if (v + f_n < v)
153 v += f_n;
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_rps.c598 static bool scaled_within(u64 x, u64 y, u32 f_n, u32 f_d) argument
600 return f_d * x > f_n * y && f_n * x < f_d * y;

Completed in 125 milliseconds