Home
last modified time | relevance | path

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

/kernel/sched/
Dclock.c267 u64 now, clock, old_clock, min_clock, max_clock, gtod; in sched_clock_local() local
276 old_clock = scd->clock; in sched_clock_local()
286 min_clock = wrap_max(gtod, old_clock); in sched_clock_local()
287 max_clock = wrap_max(old_clock, gtod + TICK_NSEC); in sched_clock_local()
292 if (cmpxchg64(&scd->clock, old_clock, clock) != old_clock) in sched_clock_local()
/kernel/time/
Dtimekeeping.c291 struct clocksource *old_clock; in tk_setup_internals() local
294 old_clock = tk->tkr_mono.clock; in tk_setup_internals()
321 if (old_clock) { in tk_setup_internals()
322 int shift_change = clock->shift - old_clock->shift; in tk_setup_internals()