Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/kvm/
Demulate.c28 unsigned long dec_nsec; in kvmppc_emulate_dec() local
57 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()
Dbook3s_hv.c3092 unsigned long dec_nsec, now; in kvmppc_set_timer() local
3101 dec_nsec = tb_to_ns(kvmppc_dec_expires_host_tb(vcpu) - now); in kvmppc_set_timer()
3102 hrtimer_start(&vcpu->arch.dec_timer, dec_nsec, HRTIMER_MODE_REL); in kvmppc_set_timer()