Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dx86.c1401 static u64 compute_guest_tsc(struct kvm_vcpu *vcpu, s64 kernel_ns) in compute_guest_tsc() argument
1403 u64 tsc = pvclock_scale_delta(kernel_ns-vcpu->arch.this_tsc_nsec, in compute_guest_tsc()
1679 static bool kvm_get_time_and_clockread(s64 *kernel_ns, cycle_t *cycle_now) in kvm_get_time_and_clockread() argument
1685 return do_monotonic_boot(kernel_ns, cycle_now) == VCLOCK_TSC; in kvm_get_time_and_clockread()
1789 s64 kernel_ns; in kvm_guest_time_update() local
1795 kernel_ns = 0; in kvm_guest_time_update()
1806 kernel_ns = ka->master_kernel_ns; in kvm_guest_time_update()
1820 kernel_ns = get_kernel_ns(); in kvm_guest_time_update()
1836 u64 tsc = compute_guest_tsc(v, kernel_ns); in kvm_guest_time_update()
1859 vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset; in kvm_guest_time_update()