Lines Matching defs:max_cycles
204 u64 max_cycles = tk->tkr_mono.clock->max_cycles;
207 if (offset > max_cycles) {
208 printk_deferred("WARNING: timekeeping: Cycle offset (%lld) is larger than allowed by the '%s' clock's max_cycles value (%lld): time overflow danger\n",
209 offset, name, max_cycles);
212 if (offset > (max_cycles >> 1)) {
214 offset, name, max_cycles >> 1);
258 max = tkr->clock->max_cycles;
272 /* Cap delta value to the max_cycles values to avoid mult overflows */
275 delta = tkr->clock->max_cycles;