Searched refs:comparecount_timer (Results 1 – 4 of 4) sorted by relevance
294 vcpu = container_of(timer, struct kvm_vcpu, arch.comparecount_timer); in kvm_mips_comparecount_wakeup()322 hrtimer_init(&vcpu->arch.comparecount_timer, CLOCK_MONOTONIC, in kvm_arch_vcpu_create()324 vcpu->arch.comparecount_timer.function = kvm_mips_comparecount_wakeup; in kvm_arch_vcpu_create()436 hrtimer_cancel(&vcpu->arch.comparecount_timer); in kvm_arch_vcpu_destroy()
408 expires = hrtimer_get_expires(&vcpu->arch.comparecount_timer); in kvm_mips_read_count_running()415 running = hrtimer_cancel(&vcpu->arch.comparecount_timer); in kvm_mips_read_count_running()427 hrtimer_start(&vcpu->arch.comparecount_timer, expires, in kvm_mips_read_count_running()476 hrtimer_cancel(&vcpu->arch.comparecount_timer); in kvm_mips_freeze_hrtimer()516 hrtimer_cancel(&vcpu->arch.comparecount_timer); in kvm_mips_resume_hrtimer()517 hrtimer_start(&vcpu->arch.comparecount_timer, expire, HRTIMER_MODE_ABS); in kvm_mips_resume_hrtimer()788 hrtimer_cancel(&vcpu->arch.comparecount_timer); in kvm_mips_count_disable()941 hrtimer_add_expires_ns(&vcpu->arch.comparecount_timer, in kvm_mips_count_timeout()
1106 if (hrtimer_cancel(&vcpu->arch.comparecount_timer)) in kvm_mips_migrate_count()1107 hrtimer_restart(&vcpu->arch.comparecount_timer); in kvm_mips_migrate_count()
382 struct hrtimer comparecount_timer; member