Searched refs:hv_clock (Results 1 – 3 of 3) sorted by relevance
43 static DEFINE_PER_CPU_SHARED_ALIGNED(struct pvclock_vcpu_time_info, hv_clock);62 vcpu_time = &get_cpu_var(hv_clock); in kvm_get_wallclock()64 put_cpu_var(hv_clock); in kvm_get_wallclock()79 src = &get_cpu_var(hv_clock); in kvm_clock_read()81 put_cpu_var(hv_clock); in kvm_clock_read()102 src = &per_cpu(hv_clock, 0); in kvm_get_tsc_khz()133 low = (int)__pa(&per_cpu(hv_clock, cpu)) | 1; in kvm_register_clock()134 high = ((u64)__pa(&per_cpu(hv_clock, cpu)) >> 32); in kvm_register_clock()
1059 vcpu->arch.hv_clock.tsc_timestamp = 0; in kvm_write_tsc()1131 if (vcpu->hv_clock.tsc_timestamp && vcpu->last_guest_tsc) { in kvm_guest_time_update()1133 vcpu->hv_clock.tsc_timestamp; in kvm_guest_time_update()1135 vcpu->hv_clock.tsc_to_system_mul, in kvm_guest_time_update()1136 vcpu->hv_clock.tsc_shift); in kvm_guest_time_update()1142 &vcpu->hv_clock.tsc_shift, in kvm_guest_time_update()1143 &vcpu->hv_clock.tsc_to_system_mul); in kvm_guest_time_update()1151 vcpu->hv_clock.tsc_timestamp = tsc_timestamp; in kvm_guest_time_update()1152 vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset; in kvm_guest_time_update()1155 vcpu->hv_clock.flags = 0; in kvm_guest_time_update()[all …]
372 struct pvclock_vcpu_time_info hv_clock; member