Home
last modified time | relevance | path

Searched refs:hangcheck_tsc (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/char/
H A Dhangcheck-timer.c110 static unsigned long long hangcheck_tsc, hangcheck_tsc_margin; variable
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()
149 hangcheck_tsc = ktime_get_ns(); in hangcheck_fire()
161 hangcheck_tsc = ktime_get_ns(); in hangcheck_init()
/kernel/linux/linux-6.6/drivers/char/
H A Dhangcheck-timer.c110 static unsigned long long hangcheck_tsc, hangcheck_tsc_margin; variable
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()
149 hangcheck_tsc = ktime_get_ns(); in hangcheck_fire()
161 hangcheck_tsc = ktime_get_ns(); in hangcheck_init()

Completed in 1 milliseconds