Searched refs:old_clock (Results 1 – 2 of 2) sorted by relevance
267 u64 now, clock, old_clock, min_clock, max_clock, gtod; in sched_clock_local() local276 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()
291 struct clocksource *old_clock; in tk_setup_internals() local294 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()