Searched refs:host_tsc (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/arch/x86/include/asm/
H A Dkvm_host.h859 u64 (*read_l1_tsc)(struct kvm_vcpu *vcpu, u64 host_tsc);
1229 u64 kvm_read_l1_tsc(struct kvm_vcpu *vcpu, u64 host_tsc);
/linux-4.4.14/arch/x86/kvm/
H A Dx86.c1404 u64 kvm_read_l1_tsc(struct kvm_vcpu *vcpu, u64 host_tsc) kvm_read_l1_tsc() argument
1406 return kvm_x86_ops->read_l1_tsc(vcpu, kvm_scale_tsc(vcpu, host_tsc)); kvm_read_l1_tsc()
1714 u64 tsc_timestamp, host_tsc; kvm_guest_time_update() local
1720 host_tsc = 0; kvm_guest_time_update()
1729 host_tsc = ka->master_cycle_now; kvm_guest_time_update()
1743 host_tsc = rdtsc(); kvm_guest_time_update()
1747 tsc_timestamp = kvm_read_l1_tsc(v, host_tsc); kvm_guest_time_update()
H A Dvmx.c2395 * guest_tsc = (host_tsc * tsc multiplier) >> 48 + tsc_offset
2400 u64 host_tsc, tsc_offset; guest_read_tsc() local
2402 host_tsc = rdtsc(); guest_read_tsc()
2404 return kvm_scale_tsc(vcpu, host_tsc) + tsc_offset; guest_read_tsc()
2411 static u64 vmx_read_l1_tsc(struct kvm_vcpu *vcpu, u64 host_tsc) vmx_read_l1_tsc() argument
2418 return host_tsc + tsc_offset; vmx_read_l1_tsc()
H A Dsvm.c2984 static u64 svm_read_l1_tsc(struct kvm_vcpu *vcpu, u64 host_tsc) svm_read_l1_tsc() argument
2987 return vmcb->control.tsc_offset + host_tsc; svm_read_l1_tsc()

Completed in 243 milliseconds