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

/linux-4.4.14/arch/mips/kvm/
H A Demulate.c248 s64 now_ns, periods; kvm_mips_ktime_to_count() local
251 now_ns = ktime_to_ns(now); kvm_mips_ktime_to_count()
252 delta = now_ns + vcpu->arch.count_dyn_bias; kvm_mips_ktime_to_count()
256 periods = div64_s64(now_ns, vcpu->arch.count_period); kvm_mips_ktime_to_count()
259 delta = now_ns + vcpu->arch.count_dyn_bias; kvm_mips_ktime_to_count()
/linux-4.4.14/arch/x86/kvm/
H A Dx86.c3950 u64 now_ns; kvm_arch_vm_ioctl() local
3963 now_ns = get_kernel_ns(); kvm_arch_vm_ioctl()
3964 delta = user_ns.clock - now_ns; kvm_arch_vm_ioctl()
3972 u64 now_ns; kvm_arch_vm_ioctl() local
3975 now_ns = get_kernel_ns(); kvm_arch_vm_ioctl()
3976 user_ns.clock = kvm->arch.kvmclock_offset + now_ns; kvm_arch_vm_ioctl()

Completed in 170 milliseconds