Searched refs:host_ts (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/hv/ |
H A D | hv_util.c | 299 } host_ts; variable 317 spin_lock_irqsave(&host_ts.lock, flags); in hv_get_adj_host_time() 326 timediff_adj = reftime - host_ts.ref_time; in hv_get_adj_host_time() 333 newtime = host_ts.host_time + timediff_adj; in hv_get_adj_host_time() 335 spin_unlock_irqrestore(&host_ts.lock, flags); in hv_get_adj_host_time() 371 spin_lock_irqsave(&host_ts.lock, flags); in adj_guesttime() 374 host_ts.host_time = hosttime; in adj_guesttime() 375 host_ts.ref_time = cur_reftime; in adj_guesttime() 384 host_ts.host_time += (cur_reftime - reftime); in adj_guesttime() 386 spin_unlock_irqrestore(&host_ts.lock, flags); in adj_guesttime() [all …]
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 1171 static inline abi_long target_to_host_timespec(struct timespec *host_ts, in target_to_host_timespec() argument 1179 __get_user(host_ts->tv_sec, &target_ts->tv_sec); in target_to_host_timespec() 1180 __get_user(host_ts->tv_nsec, &target_ts->tv_nsec); in target_to_host_timespec() 1197 static inline abi_long target_to_host_timespec64(struct timespec *host_ts, in target_to_host_timespec64() argument 1205 __get_user(host_ts->tv_sec, &target_ts->tv_sec); in target_to_host_timespec64() 1206 __get_user(host_ts->tv_nsec, &target_ts->tv_nsec); in target_to_host_timespec64() 1208 host_ts->tv_nsec = (long)(abi_long)host_ts->tv_nsec; in target_to_host_timespec64() 1215 struct timespec *host_ts) in host_to_target_timespec() argument 1222 __put_user(host_ts in host_to_target_timespec() 1229 host_to_target_timespec64(abi_ulong target_addr,struct timespec * host_ts) host_to_target_timespec64() argument [all...] |