Lines Matching refs:hrtimer
80 static void soft_timer_start(struct hrtimer *hrt, u64 ns) in soft_timer_start()
86 static void soft_timer_cancel(struct hrtimer *hrt) in soft_timer_cancel()
175 static enum hrtimer_restart kvm_bg_timer_expire(struct hrtimer *hrt) in kvm_bg_timer_expire()
199 static enum hrtimer_restart kvm_hrtimer_expire(struct hrtimer *hrt) in kvm_hrtimer_expire()
205 ctx = container_of(hrt, struct arch_timer_context, hrtimer); in kvm_hrtimer_expire()
330 soft_timer_cancel(&ctx->hrtimer); in timer_emulate()
334 soft_timer_start(&ctx->hrtimer, kvm_timer_compute_delta(ctx)); in timer_emulate()
594 soft_timer_cancel(&map.emul_ptimer->hrtimer); in kvm_timer_vcpu_put()
666 soft_timer_cancel(&map.emul_ptimer->hrtimer); in kvm_timer_vcpu_reset()
703 hrtimer_init(&vtimer->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in kvm_timer_vcpu_init()
704 hrtimer_init(&ptimer->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in kvm_timer_vcpu_init()
705 vtimer->hrtimer.function = kvm_hrtimer_expire; in kvm_timer_vcpu_init()
706 ptimer->hrtimer.function = kvm_hrtimer_expire; in kvm_timer_vcpu_init()