Lines Matching refs:cs_nsec
366 int64_t cs_nsec, cs_nsec_max = 0, cs_nsec_min = LLONG_MAX; in clocksource_verify_percpu() local
398 cs_nsec = cycles_to_nsec_safe(cs, csnow_begin, csnow_end); in clocksource_verify_percpu()
399 if (cs_nsec > cs_nsec_max) in clocksource_verify_percpu()
400 cs_nsec_max = cs_nsec; in clocksource_verify_percpu()
401 if (cs_nsec < cs_nsec_min) in clocksource_verify_percpu()
402 cs_nsec_min = cs_nsec; in clocksource_verify_percpu()
429 int64_t wd_nsec, cs_nsec, interval; in clocksource_watchdog() local
488 cs_nsec = cycles_to_nsec_safe(cs, cs->cs_last, csnow); in clocksource_watchdog()
506 interval = max(cs_nsec, wd_nsec); in clocksource_watchdog()
512 cs_nsec, wd_nsec); in clocksource_watchdog()
520 if (abs(cs_nsec - wd_nsec) > md) { in clocksource_watchdog()
530 cs->name, cs_nsec, csnow, cslast, cs->mask); in clocksource_watchdog()
531 cs_wd_msec = div_s64_rem(cs_nsec - wd_nsec, 1000 * 1000, &wd_rem); in clocksource_watchdog()
534 cs->name, cs_nsec - wd_nsec, cs_wd_msec, watchdog->name, wd_nsec, wd_msec); in clocksource_watchdog()