Home
last modified time | relevance | path

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

/linux/drivers/char/
H A Dhangcheck-timer.c122 unsigned long long cur_tsc, tsc_diff; in hangcheck_fire() local
124 cur_tsc = ktime_get_ns(); in hangcheck_fire()
126 if (cur_tsc > hangcheck_tsc) in hangcheck_fire()
127 tsc_diff = cur_tsc - hangcheck_tsc; in hangcheck_fire()
129 tsc_diff = (cur_tsc + (~0ULL - hangcheck_tsc)); /* or something */ in hangcheck_fire()
/linux/include/clocksource/
H A Dhyperv_timer.h45 u64 *cur_tsc, u64 *time) in hv_read_tsc_page_tsc() argument
78 *cur_tsc = hv_get_raw_timer(); in hv_read_tsc_page_tsc()
88 *time = mul_u64_u64_shr(*cur_tsc, scale, 64) + offset; in hv_read_tsc_page_tsc()
104 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, u64 *cur_tsc, u64 *time) in hv_read_tsc_page_tsc() argument