Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/
Dxen.c44 u64 wall_nsec; in kvm_xen_shared_info_init() local
62 wall_nsec = ktime_get_real_ns() - get_kvmclock_ns(kvm); in kvm_xen_shared_info_init()
101 wc->nsec = do_div(wall_nsec, 1000000000); in kvm_xen_shared_info_init()
102 wc->sec = (u32)wall_nsec; in kvm_xen_shared_info_init()
103 *wc_sec_hi = wall_nsec >> 32; in kvm_xen_shared_info_init()
Dx86.c2317 u64 wall_nsec; in kvm_write_wall_clock() local
2339 wall_nsec = ktime_get_real_ns() - get_kvmclock_ns(kvm); in kvm_write_wall_clock()
2341 wc.nsec = do_div(wall_nsec, 1000000000); in kvm_write_wall_clock()
2342 wc.sec = (u32)wall_nsec; /* overflow in 2106 guest time */ in kvm_write_wall_clock()
2348 wc_sec_hi = wall_nsec >> 32; in kvm_write_wall_clock()