Searched refs:cur_tsc (Results 1 – 2 of 2) sorted by relevance
38 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, u64 *cur_tsc) in hv_read_tsc_page_tsc() argument71 *cur_tsc = hv_get_raw_timer(); in hv_read_tsc_page_tsc()81 return mul_u64_u64_shr(*cur_tsc, scale, 64) + offset; in hv_read_tsc_page_tsc()87 u64 cur_tsc; in hv_read_tsc_page() local89 return hv_read_tsc_page_tsc(tsc_pg, &cur_tsc); in hv_read_tsc_page()99 u64 *cur_tsc) in hv_read_tsc_page_tsc() argument
118 unsigned long long cur_tsc, tsc_diff; in hangcheck_fire() local120 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()