Searched refs:wall_nsec (Results 1 – 2 of 2) sorted by relevance
44 u64 wall_nsec; in kvm_xen_shared_info_init() local62 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()
2320 u64 wall_nsec; in kvm_write_wall_clock() local2342 wall_nsec = ktime_get_real_ns() - get_kvmclock_ns(kvm); in kvm_write_wall_clock()2344 wc.nsec = do_div(wall_nsec, 1000000000); in kvm_write_wall_clock()2345 wc.sec = (u32)wall_nsec; /* overflow in 2106 guest time */ in kvm_write_wall_clock()2351 wc_sec_hi = wall_nsec >> 32; in kvm_write_wall_clock()