Lines Matching defs:timer
616 [LVT_TIMER] = LVT_MASK, /* timer mode mask added at runtime */
1473 * one example is when Kernel check timer on setup_IO_APIC
1735 "lapic timer period limited to %lld ns\n",
1747 hrtimer_cancel(&apic->lapic_timer.timer);
1858 * If the timer fired early, reread the TSC to account for the
1912 * Ensure the guest's timer has truly expired before posting an
1957 hrtimer_start(&ktimer->timer, expire, HRTIMER_MODE_ABS_HARD);
2023 "vcpu %i: requested lapic timer restore with "
2025 "Using initial count to start timer.\n",
2079 hrtimer_start(&apic->lapic_timer.timer,
2117 hrtimer_cancel(&ktimer->timer);
2120 * To simplify handling the periodic timer, leave the hv timer running
2121 * even if the deadline timer has expired, i.e. rely on the resulting
2122 * VM-Exit to recompute the periodic timer's target expiration.
2126 * Cancel the hv timer if the sw timer fired while the hv timer
2127 * was being programmed, or if the hv timer itself expired.
2203 /* Possibly the TSC deadline timer is not enabled yet */
2371 hrtimer_cancel(&apic->lapic_timer.timer);
2476 hrtimer_cancel(&apic->lapic_timer.timer);
2512 hrtimer_cancel(&apic->lapic_timer.timer);
2688 /* Stop the timer in case it's a reset to an active apic */
2689 hrtimer_cancel(&apic->lapic_timer.timer);
2744 * timer interface
2797 struct kvm_timer *ktimer = container_of(data, struct kvm_timer, timer);
2804 hrtimer_add_expires_ns(&ktimer->timer, ktimer->period);
2832 hrtimer_init(&apic->lapic_timer.timer, CLOCK_MONOTONIC,
2834 apic->lapic_timer.timer.function = apic_timer_fn;
2975 * Get calculated timer current count for remaining timer period (if
3031 struct hrtimer *timer;
3037 timer = &vcpu->arch.apic->lapic_timer.timer;
3038 if (hrtimer_cancel(timer))
3039 hrtimer_start_expires(timer, HRTIMER_MODE_ABS_HARD);