Home
last modified time | relevance | path

Searched refs:now_ns (Results 1 – 2 of 2) sorted by relevance

/arch/mips/kvm/
Demulate.c287 s64 now_ns, periods; in kvm_mips_ktime_to_count() local
290 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()
/arch/x86/kvm/
Dx86.c4145 u64 now_ns; in kvm_arch_vm_ioctl() local
4157 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() local
4168 now_ns = __get_kvmclock_ns(kvm); in kvm_arch_vm_ioctl()
4169 user_ns.clock = now_ns; in kvm_arch_vm_ioctl()