Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/hv/
Dhv_util.c289 } host_ts; variable
312 spin_lock_irqsave(&host_ts.lock, flags); in hv_get_adj_host_time()
321 timediff_adj = reftime - host_ts.ref_time; in hv_get_adj_host_time()
328 newtime = host_ts.host_time + timediff_adj; in hv_get_adj_host_time()
330 spin_unlock_irqrestore(&host_ts.lock, flags); in hv_get_adj_host_time()
389 spin_lock_irqsave(&host_ts.lock, flags); in adj_guesttime()
392 host_ts.host_time = hosttime; in adj_guesttime()
393 host_ts.ref_time = cur_reftime; in adj_guesttime()
402 host_ts.host_time += (cur_reftime - reftime); in adj_guesttime()
404 spin_unlock_irqrestore(&host_ts.lock, flags); in adj_guesttime()
[all …]