Home
last modified time | relevance | path

Searched refs:cur_tsc (Results 1 – 3 of 3) 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.h42 u64 *cur_tsc, u64 *time) in hv_read_tsc_page_tsc() argument
75 *cur_tsc = hv_get_raw_timer(); in hv_read_tsc_page_tsc()
85 *time = mul_u64_u64_shr(*cur_tsc, scale, 64) + offset; in hv_read_tsc_page_tsc()
101 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
/linux/drivers/clocksource/
H A Dhyperv_timer.c318 u64 cur_tsc, time; in read_hv_clock_tsc() local
326 if (!hv_read_tsc_page_tsc(tsc_page, &cur_tsc, &time)) in read_hv_clock_tsc()