Searched refs:time2tod (Results 1 – 5 of 5) sorted by relevance
26 tod->low += time2tod(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in qemu_s390_tod_get()39 td->base.low -= time2tod(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in qemu_s390_tod_set()70 td->base.low = TOD_UNIX_EPOCH + (time2tod(mktimegm(&tm)) * 1000000000ULL); in qemu_s390_tod_init()
1116 pbdev->fmb.last_update = time2tod(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in fmb_update()
18 static inline uint64_t time2tod(uint64_t ns) in time2tod() function
76 return time2tod(env->cputm - qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in HELPER()90 return TOD_UNIX_EPOCH + time2tod(ns); in HELPER()
187 Fixes: 14055ce53c2d ("s390x/tcg: avoid overflows in time2tod/tod2time")