Lines Matching refs:cs_nsec
358 int64_t cs_nsec, cs_nsec_max = 0, cs_nsec_min = LLONG_MAX; in clocksource_verify_percpu() local
390 cs_nsec = cycles_to_nsec_safe(cs, csnow_begin, csnow_end); in clocksource_verify_percpu()
391 if (cs_nsec > cs_nsec_max) in clocksource_verify_percpu()
392 cs_nsec_max = cs_nsec; in clocksource_verify_percpu()
393 if (cs_nsec < cs_nsec_min) in clocksource_verify_percpu()
394 cs_nsec_min = cs_nsec; in clocksource_verify_percpu()
421 int64_t wd_nsec, cs_nsec, interval; in clocksource_watchdog() local
480 cs_nsec = cycles_to_nsec_safe(cs, cs->cs_last, csnow); in clocksource_watchdog()
498 interval = max(cs_nsec, wd_nsec); in clocksource_watchdog()
504 cs_nsec, wd_nsec); in clocksource_watchdog()
512 if (abs(cs_nsec - wd_nsec) > md) { in clocksource_watchdog()
522 cs->name, cs_nsec, csnow, cslast, cs->mask); in clocksource_watchdog()
523 cs_wd_msec = div_s64_rem(cs_nsec - wd_nsec, 1000 * 1000, &wd_rem); in clocksource_watchdog()
526 cs->name, cs_nsec - wd_nsec, cs_wd_msec, watchdog->name, wd_nsec, wd_msec); in clocksource_watchdog()