Searched refs:count_period (Results 1 – 2 of 2) sorted by relevance
336 if (delta >= vcpu->arch.count_period) { in kvm_mips_ktime_to_count()338 periods = div64_s64(now_ns, vcpu->arch.count_period); in kvm_mips_ktime_to_count()339 vcpu->arch.count_dyn_bias = -periods * vcpu->arch.count_period; in kvm_mips_ktime_to_count()410 threshold = ktime_add_ns(now, vcpu->arch.count_period / 4); in kvm_mips_read_count_running()427 vcpu->arch.count_period); in kvm_mips_read_count_running()632 vcpu->arch.count_period = div_u64((u64)NSEC_PER_SEC << 32, count_hz); in kvm_mips_init_count()675 vcpu->arch.count_period = div_u64((u64)NSEC_PER_SEC << 32, count_hz); in kvm_mips_set_count_hz()941 vcpu->arch.count_period); in kvm_mips_count_timeout()
339 u64 count_period; member