Searched refs:now_ns (Results 1 – 2 of 2) sorted by relevance
287 s64 now_ns, periods; in kvm_mips_ktime_to_count() local290 now_ns = ktime_to_ns(now); in kvm_mips_ktime_to_count()291 delta = now_ns + vcpu->arch.count_dyn_bias; in kvm_mips_ktime_to_count()295 periods = div64_s64(now_ns, vcpu->arch.count_period); in kvm_mips_ktime_to_count()298 delta = now_ns + vcpu->arch.count_dyn_bias; in kvm_mips_ktime_to_count()
4145 u64 now_ns; in kvm_arch_vm_ioctl() local4157 now_ns = __get_kvmclock_ns(kvm); in kvm_arch_vm_ioctl()4158 kvm->arch.kvmclock_offset += user_ns.clock - now_ns; in kvm_arch_vm_ioctl()4165 u64 now_ns; in kvm_arch_vm_ioctl() local4168 now_ns = __get_kvmclock_ns(kvm); in kvm_arch_vm_ioctl()4169 user_ns.clock = now_ns; in kvm_arch_vm_ioctl()