Searched refs:wrap_max (Results 1 – 1 of 1) sorted by relevance
252 static __always_inline u64 wrap_max(u64 x, u64 y) in wrap_max() function284 min_clock = wrap_max(gtod, old_clock); in sched_clock_local()285 max_clock = wrap_max(old_clock, gtod + TICK_NSEC); in sched_clock_local()287 clock = wrap_max(clock, min_clock); in sched_clock_local()