Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/
Dx86.c2448 static u64 compute_guest_tsc(struct kvm_vcpu *vcpu, s64 kernel_ns) in compute_guest_tsc() argument
2450 u64 tsc = pvclock_scale_delta(kernel_ns-vcpu->arch.this_tsc_nsec, in compute_guest_tsc()
2837 static bool kvm_get_time_and_clockread(s64 *kernel_ns, u64 *tsc_timestamp) in kvm_get_time_and_clockread() argument
2843 return gtod_is_based_on_tsc(do_monotonic_raw(kernel_ns, in kvm_get_time_and_clockread()
3086 s64 kernel_ns; in kvm_guest_time_update() local
3091 kernel_ns = 0; in kvm_guest_time_update()
3103 kernel_ns = ka->master_kernel_ns; in kvm_guest_time_update()
3117 kernel_ns = get_kvmclock_base_ns(); in kvm_guest_time_update()
3133 u64 tsc = compute_guest_tsc(v, kernel_ns); in kvm_guest_time_update()
3156 vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset; in kvm_guest_time_update()