Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hv/
H A Dhv_util.c297 } host_ts; variable
315 spin_lock_irqsave(&host_ts.lock, flags); in hv_get_adj_host_time()
324 timediff_adj = reftime - host_ts.ref_time; in hv_get_adj_host_time()
331 newtime = host_ts.host_time + timediff_adj; in hv_get_adj_host_time()
333 spin_unlock_irqrestore(&host_ts.lock, flags); in hv_get_adj_host_time()
369 spin_lock_irqsave(&host_ts.lock, flags); in adj_guesttime()
372 host_ts.host_time = hosttime; in adj_guesttime()
373 host_ts.ref_time = cur_reftime; in adj_guesttime()
382 host_ts.host_time += (cur_reftime - reftime); in adj_guesttime()
384 spin_unlock_irqrestore(&host_ts.lock, flags); in adj_guesttime()
[all …]
/openbmc/qemu/linux-user/
H A Dsyscall.c1140 static inline abi_long target_to_host_timespec(struct timespec *host_ts, in target_to_host_timespec() argument
1148 __get_user(host_ts->tv_sec, &target_ts->tv_sec); in target_to_host_timespec()
1149 __get_user(host_ts->tv_nsec, &target_ts->tv_nsec); in target_to_host_timespec()
1174 __get_user(host_ts->tv_sec, &target_ts->tv_sec); in target_to_host_timespec64()
1175 __get_user(host_ts->tv_nsec, &target_ts->tv_nsec); in target_to_host_timespec64()
1177 host_ts->tv_nsec = (long)(abi_long)host_ts->tv_nsec; in target_to_host_timespec64()
1184 struct timespec *host_ts) in host_to_target_timespec() argument
1191 __put_user(host_ts->tv_sec, &target_ts->tv_sec); in host_to_target_timespec()
1192 __put_user(host_ts->tv_nsec, &target_ts->tv_nsec); in host_to_target_timespec()
1205 __put_user(host_ts->tv_sec, &target_ts->tv_sec); in host_to_target_timespec64()
[all …]