Lines Matching refs:tscdeadline
1594 apic->lapic_timer.tscdeadline = 0; in apic_update_lvtt()
1714 ktimer->tscdeadline = 0; in kvm_apic_inject_pending_timer_irqs()
1716 ktimer->tscdeadline = 0; in kvm_apic_inject_pending_timer_irqs()
1730 ktimer->expired_tscdeadline = ktimer->tscdeadline; in apic_timer_expired()
1762 u64 guest_tsc, tscdeadline = ktimer->tscdeadline; in start_sw_tscdeadline() local
1770 if (unlikely(!tscdeadline || !this_tsc_khz)) in start_sw_tscdeadline()
1778 ns = (tscdeadline - guest_tsc) * 1000000ULL; in start_sw_tscdeadline()
1781 if (likely(tscdeadline > guest_tsc) && in start_sw_tscdeadline()
1815 apic->lapic_timer.tscdeadline += in update_target_expiration()
1832 apic->lapic_timer.tscdeadline = 0; in set_target_expiration()
1860 apic->lapic_timer.tscdeadline = kvm_read_l1_tsc(apic->vcpu, tscl) + in set_target_expiration()
1884 apic->lapic_timer.tscdeadline = kvm_read_l1_tsc(apic->vcpu, tscl) + in advance_periodic_target_expiration()
1935 if (!ktimer->tscdeadline) in start_hv_timer()
1938 if (static_call(kvm_x86_set_hv_timer)(vcpu, ktimer->tscdeadline, &expired)) in start_hv_timer()
2342 return apic->lapic_timer.tscdeadline; in kvm_get_lapic_tscdeadline_msr()
2353 apic->lapic_timer.tscdeadline = data; in kvm_set_lapic_tscdeadline_msr()