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.c118 unsigned long long cur_tsc, tsc_diff; in hangcheck_fire() local
120 cur_tsc = ktime_get_ns(); in hangcheck_fire()
122 if (cur_tsc > hangcheck_tsc) in hangcheck_fire()
123 tsc_diff = cur_tsc - hangcheck_tsc; in hangcheck_fire()
125 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
/linux/drivers/clocksource/
H A Dhyperv_timer.c427 u64 cur_tsc, time; in read_hv_clock_tsc() local
435 if (!hv_read_tsc_page_tsc(tsc_page, &cur_tsc, &time)) in read_hv_clock_tsc()