Home
last modified time | relevance | path

Searched refs:get_kvmclock_ns (Results 1 – 4 of 4) sorted by relevance

/linux/arch/x86/kvm/
H A Dxen.c237 * Don't fall back to get_kvmclock_ns() because it's in kvm_xen_start_timer()
246 * to get_kvmclock_ns(). in kvm_xen_start_timer()
259 * Without CONSTANT_TSC, get_kvmclock_ns() is the only option. in kvm_xen_start_timer()
265 * point in doing so. The get_kvmclock_ns() drift accumulates in kvm_xen_start_timer()
272 guest_now = get_kvmclock_ns(vcpu->kvm); in kvm_xen_start_timer()
590 u64 now = get_kvmclock_ns(v->kvm); in kvm_xen_update_runstate()
1039 if (get_kvmclock_ns(vcpu->kvm) < in kvm_xen_vcpu_set_attr()
1080 if (get_kvmclock_ns(vcpu->kvm) < in kvm_xen_vcpu_set_attr()
H A Dx86.h414 u64 get_kvmclock_ns(struct kvm *kvm);
H A Dhyperv.c579 * Fall back to get_kvmclock_ns() when TSC page hasn't been set up, in get_time_ref_counter()
583 return div_u64(get_kvmclock_ns(kvm), 100); in get_time_ref_counter()
H A Dx86.c3144 u64 get_kvmclock_ns(struct kvm *kvm) in get_kvmclock_ns() function
3343 * calling ktime_get_real_ns() and get_kvmclock_ns() separately.
3399 return ktime_get_real_ns() - get_kvmclock_ns(kvm); in kvm_get_wall_clock_epoch()
6897 * unsigned 'system_time' so if we use get_kvmclock_ns() (which in kvm_vm_ioctl_set_clock()