Searched refs:this_tsc_khz (Results 1 – 2 of 2) sorted by relevance
/arch/x86/kvm/ |
D | x86.c | 1368 static int kvm_set_tsc_khz(struct kvm_vcpu *vcpu, u32 this_tsc_khz) in kvm_set_tsc_khz() argument 1374 if (this_tsc_khz == 0) { in kvm_set_tsc_khz() 1381 kvm_get_time_scale(this_tsc_khz, NSEC_PER_SEC / 1000, in kvm_set_tsc_khz() 1384 vcpu->arch.virtual_tsc_khz = this_tsc_khz; in kvm_set_tsc_khz() 1394 if (this_tsc_khz < thresh_lo || this_tsc_khz > thresh_hi) { in kvm_set_tsc_khz() 1395 …pr_debug("kvm: requested TSC rate %u falls outside tolerance [%u,%u]\n", this_tsc_khz, thresh_lo, … in kvm_set_tsc_khz() 1398 return set_tsc_khz(vcpu, this_tsc_khz, use_scaling); in kvm_set_tsc_khz() 1786 unsigned long flags, this_tsc_khz, tgt_tsc_khz; in kvm_guest_time_update() local 1812 this_tsc_khz = __this_cpu_read(cpu_tsc_khz); in kvm_guest_time_update() 1813 if (unlikely(this_tsc_khz == 0)) { in kvm_guest_time_update() [all …]
|
D | lapic.c | 1323 unsigned long this_tsc_khz = vcpu->arch.virtual_tsc_khz; in start_apic_timer() local 1326 if (unlikely(!tscdeadline || !this_tsc_khz)) in start_apic_timer() 1335 do_div(ns, this_tsc_khz); in start_apic_timer()
|