Searched refs:dec_nsec (Results 1 – 2 of 2) sorted by relevance
28 unsigned long dec_nsec; in kvmppc_emulate_dec() local57 dec_nsec = do_div(dec_time, NSEC_PER_SEC); in kvmppc_emulate_dec()59 ktime_set(dec_time, dec_nsec), HRTIMER_MODE_REL); in kvmppc_emulate_dec()
3183 unsigned long dec_nsec, now; in kvmppc_set_timer() local3192 dec_nsec = tb_to_ns(kvmppc_dec_expires_host_tb(vcpu) - now); in kvmppc_set_timer()3193 hrtimer_start(&vcpu->arch.dec_timer, dec_nsec, HRTIMER_MODE_REL); in kvmppc_set_timer()