Searched refs:kernel_ns (Results 1 – 1 of 1) sorted by relevance
2438 static u64 compute_guest_tsc(struct kvm_vcpu *vcpu, s64 kernel_ns) in compute_guest_tsc() argument2440 u64 tsc = pvclock_scale_delta(kernel_ns-vcpu->arch.this_tsc_nsec, in compute_guest_tsc()2827 static bool kvm_get_time_and_clockread(s64 *kernel_ns, u64 *tsc_timestamp) in kvm_get_time_and_clockread() argument2833 return gtod_is_based_on_tsc(do_monotonic_raw(kernel_ns, in kvm_get_time_and_clockread()3076 s64 kernel_ns; in kvm_guest_time_update() local3081 kernel_ns = 0; in kvm_guest_time_update()3093 kernel_ns = ka->master_kernel_ns; in kvm_guest_time_update()3107 kernel_ns = get_kvmclock_base_ns(); in kvm_guest_time_update()3123 u64 tsc = compute_guest_tsc(v, kernel_ns); in kvm_guest_time_update()3146 vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset; in kvm_guest_time_update()