Lines Matching refs:sltime
1279 u64 cputm, sltime = 0; in __calculate_sltime() local
1284 sltime = tod_to_ns((s64)ckc - (s64)now); in __calculate_sltime()
1286 sltime = tod_to_ns(ckc - now); in __calculate_sltime()
1289 if (!sltime) in __calculate_sltime()
1296 return min_t(u64, sltime, tod_to_ns(cputm)); in __calculate_sltime()
1299 sltime = kvm_s390_get_cpu_timer(vcpu); in __calculate_sltime()
1301 if (sltime >> 63) in __calculate_sltime()
1304 return sltime; in __calculate_sltime()
1310 u64 sltime; in kvm_s390_handle_wait() local
1335 sltime = __calculate_sltime(vcpu); in kvm_s390_handle_wait()
1336 if (!sltime) in kvm_s390_handle_wait()
1340 hrtimer_start(&vcpu->arch.ckc_timer, sltime, HRTIMER_MODE_REL); in kvm_s390_handle_wait()
1341 VCPU_EVENT(vcpu, 4, "enabled wait: %llu ns", sltime); in kvm_s390_handle_wait()
1368 u64 sltime; in kvm_s390_idle_wakeup() local
1371 sltime = __calculate_sltime(vcpu); in kvm_s390_idle_wakeup()
1377 if (sltime && hrtimer_forward_now(timer, ns_to_ktime(sltime))) in kvm_s390_idle_wakeup()