Lines Matching refs:hrtimer
167 static void soft_timer_start(struct hrtimer *hrt, u64 ns) in soft_timer_start()
173 static void soft_timer_cancel(struct hrtimer *hrt) in soft_timer_cancel()
262 static enum hrtimer_restart kvm_bg_timer_expire(struct hrtimer *hrt) in kvm_bg_timer_expire()
286 static enum hrtimer_restart kvm_hrtimer_expire(struct hrtimer *hrt) in kvm_hrtimer_expire()
292 ctx = container_of(hrt, struct arch_timer_context, hrtimer); in kvm_hrtimer_expire()
417 soft_timer_cancel(&ctx->hrtimer); in timer_emulate()
421 soft_timer_start(&ctx->hrtimer, kvm_timer_compute_delta(ctx)); in timer_emulate()
672 soft_timer_cancel(&map.emul_ptimer->hrtimer); in kvm_timer_vcpu_put()
744 soft_timer_cancel(&map.emul_ptimer->hrtimer); in kvm_timer_vcpu_reset()
784 hrtimer_init(&vtimer->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_HARD); in kvm_timer_vcpu_init()
785 hrtimer_init(&ptimer->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_HARD); in kvm_timer_vcpu_init()
786 vtimer->hrtimer.function = kvm_hrtimer_expire; in kvm_timer_vcpu_init()
787 ptimer->hrtimer.function = kvm_hrtimer_expire; in kvm_timer_vcpu_init()