Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/char/
Dhangcheck-timer.c131 unsigned long long cur_tsc, tsc_diff; in hangcheck_fire() local
133 cur_tsc = ktime_get_ns(); in hangcheck_fire()
135 if (cur_tsc > hangcheck_tsc) in hangcheck_fire()
136 tsc_diff = cur_tsc - hangcheck_tsc; in hangcheck_fire()
138 tsc_diff = (cur_tsc + (~0ULL - hangcheck_tsc)); /* or something */ in hangcheck_fire()
/Linux-v4.19/arch/x86/include/asm/
Dmshyperv.h376 u64 *cur_tsc) in hv_read_tsc_page_tsc() argument
409 *cur_tsc = rdtsc_ordered(); in hv_read_tsc_page_tsc()
419 return mul_u64_u64_shr(*cur_tsc, scale, 64) + offset; in hv_read_tsc_page_tsc()
424 u64 cur_tsc; in hv_read_tsc_page() local
426 return hv_read_tsc_page_tsc(tsc_pg, &cur_tsc); in hv_read_tsc_page()
436 u64 *cur_tsc) in hv_read_tsc_page_tsc() argument