Searched refs:virtual_tsc_khz (Results 1 – 5 of 5) sorted by relevance
1822 do_div(delay_ns, vcpu->arch.virtual_tsc_khz); in __wait_lapic_expire()1842 do_div(ns, vcpu->arch.virtual_tsc_khz); in adjust_lapic_timer_advance()1847 do_div(ns, vcpu->arch.virtual_tsc_khz); in adjust_lapic_timer_advance()1947 u32 this_tsc_khz = vcpu->arch.virtual_tsc_khz; in start_sw_tscdeadline()
2480 vcpu->arch.virtual_tsc_khz = user_tsc_khz; in kvm_set_tsc_khz()2682 kvm->arch.last_tsc_khz = vcpu->arch.virtual_tsc_khz; in __kvm_synchronize_tsc()2730 if (vcpu->arch.virtual_tsc_khz) { in kvm_synchronize_tsc()2740 u64 tsc_hz = vcpu->arch.virtual_tsc_khz * 1000LL; in kvm_synchronize_tsc()2771 vcpu->arch.virtual_tsc_khz == kvm->arch.last_tsc_khz) { in kvm_synchronize_tsc()5751 matched = (vcpu->arch.virtual_tsc_khz && in kvm_arch_tsc_set_attr()5752 kvm->arch.last_tsc_khz == vcpu->arch.virtual_tsc_khz && in kvm_arch_tsc_set_attr()6167 r = vcpu->arch.virtual_tsc_khz; in kvm_arch_vcpu_ioctl()
1737 data = (u64)vcpu->arch.virtual_tsc_khz * 1000; in kvm_hv_get_msr()
914 u32 virtual_tsc_khz; member
2225 if (vcpu->arch.virtual_tsc_khz == 0) in vmx_start_preemption_timer()2230 do_div(preemption_timeout, vcpu->arch.virtual_tsc_khz); in vmx_start_preemption_timer()4376 value = ktime_to_ns(remaining) * vcpu->arch.virtual_tsc_khz; in vmx_get_preemption_timer_value()