Lines Matching defs:delta
437 callout_queue_process(callout_table_t *ct, hrtime_t delta, int timechange)
484 if (delta && !(cl->cl_flags & CALLOUT_LIST_FLAG_ABSOLUTE)) {
485 expiration = cl->cl_expiration + delta;
859 callout_heap_process(callout_table_t *ct, hrtime_t delta, int timechange)
931 if (delta && !(cl->cl_flags & CALLOUT_LIST_FLAG_ABSOLUTE)) {
934 expiration = cl->cl_expiration + delta;
1194 timeout(void (*func)(void *), void *arg, clock_t delta)
1201 if (delta <= 0)
1202 delta = 1;
1203 else if (delta > callout_max_ticks)
1204 delta = callout_max_ticks;
1207 TICK_TO_NSEC(delta), nsec_per_tick, CALLOUT_LEGACY);
1217 timeout_default(void (*func)(void *), void *arg, clock_t delta)
1224 if (delta <= 0)
1225 delta = 1;
1226 else if (delta > callout_max_ticks)
1227 delta = callout_max_ticks;
1229 id = timeout_generic(CALLOUT_NORMAL, func, arg, TICK_TO_NSEC(delta),
1236 realtime_timeout(void (*func)(void *), void *arg, clock_t delta)
1243 if (delta <= 0)
1244 delta = 1;
1245 else if (delta > callout_max_ticks)
1246 delta = callout_max_ticks;
1249 TICK_TO_NSEC(delta), nsec_per_tick, CALLOUT_LEGACY);
1259 realtime_timeout_default(void (*func)(void *), void *arg, clock_t delta)
1266 if (delta <= 0)
1267 delta = 1;
1268 else if (delta > callout_max_ticks)
1269 delta = callout_max_ticks;
1271 id = timeout_generic(CALLOUT_REALTIME, func, arg, TICK_TO_NSEC(delta),
1664 callout_resume(hrtime_t delta, int timechange)
1687 * If a delta is specified, adjust the expirations in
1688 * the heap by delta. Also, if the caller indicates
1693 hexp = callout_heap_process(ct, delta, timechange);
1694 qexp = callout_queue_process(ct, delta, timechange);
1710 * That is why callout_resume() is called with a 0 delta.
1734 hrtime_t delta;
1745 delta = gethrtime() - callout_debug_hrtime;
1746 callout_resume(delta, 0);