Searched refs:virtual_tsc_khz (Results 1 – 5 of 5) sorted by relevance
1481 do_div(delay_ns, vcpu->arch.virtual_tsc_khz); in __wait_lapic_expire()1501 do_div(ns, vcpu->arch.virtual_tsc_khz); in adjust_lapic_timer_advance()1506 do_div(ns, vcpu->arch.virtual_tsc_khz); in adjust_lapic_timer_advance()1584 unsigned long this_tsc_khz = vcpu->arch.virtual_tsc_khz; in start_sw_tscdeadline()
1830 vcpu->arch.virtual_tsc_khz = user_tsc_khz; in kvm_set_tsc_khz()1972 if (vcpu->arch.virtual_tsc_khz) { in kvm_write_tsc()1983 u64 tsc_hz = vcpu->arch.virtual_tsc_khz * 1000LL; in kvm_write_tsc()2001 vcpu->arch.virtual_tsc_khz == kvm->arch.last_tsc_khz) { in kvm_write_tsc()2034 kvm->arch.last_tsc_khz = vcpu->arch.virtual_tsc_khz; in kvm_write_tsc()4499 r = vcpu->arch.virtual_tsc_khz; in kvm_arch_vcpu_ioctl()
1304 data = (u64)vcpu->arch.virtual_tsc_khz * 1000; in kvm_hv_get_msr()
687 u32 virtual_tsc_khz; member
1956 if (vcpu->arch.virtual_tsc_khz == 0) in vmx_start_preemption_timer()1961 do_div(preemption_timeout, vcpu->arch.virtual_tsc_khz); in vmx_start_preemption_timer()3528 value = ktime_to_ns(remaining) * vcpu->arch.virtual_tsc_khz; in vmx_get_preemption_timer_value()