Searched refs:mod_64 (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/arch/x86/kvm/ |
D | i8254.c | 43 #define mod_64(x, y) ((x) - (y) * div64_u64(x, y)) macro 45 #define mod_64(x, y) ((x) % (y)) macro 69 res.l.low = div64_u64(((mod_64(rh, c) << 32) + (rl & 0xffffffff)), c); in muldiv64() 126 elapsed = mod_64(elapsed, ps->pit_timer.period); in __kpit_elapsed() 161 counter = c->count - (mod_64((2 * d), c->count)); in pit_get_count() 164 counter = c->count - mod_64(d, c->count); in pit_get_count() 191 out = ((mod_64(d, c->count) == 0) && (d != 0)); in pit_get_out() 194 out = (mod_64(d, c->count) < ((c->count + 1) >> 1)); in pit_get_out()
|
D | lapic.c | 44 #define mod_64(x, y) ((x) - (y) * div64_u64(x, y)) macro 46 #define mod_64(x, y) ((x) % (y)) macro 549 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct()
|