Lines Matching defs:when
322 cyc_time_t when;
338 clock_deadline_for_periodic_event( wrapTC->when.cyt_interval, mach_absolute_time(), &(wrapTC->deadline) );
341 /* Did timer_call_remove_cyclic request a wakeup call when this timer call was re-armed? */
342 if (wrapTC->when.cyt_interval == WAKEUP_REAPER)
347 timer_call_add_cyclic(wrap_timer_call_t *wrapTC, cyc_handler_t *handler, cyc_time_t *when)
353 wrapTC->when = *when;
355 nanoseconds_to_absolutetime( wrapTC->when.cyt_interval, (uint64_t *)&wrapTC->when.cyt_interval );
360 clock_deadline_for_periodic_event( wrapTC->when.cyt_interval, now, &(wrapTC->deadline) );
375 wrapTC->when.cyt_interval = WAKEUP_REAPER;
391 cyclic_timer_add(cyc_handler_t *handler, cyc_time_t *when)
397 return timer_call_add_cyclic( wrapTC, handler, when );
478 cyc_time_t when;
494 clock_deadline_for_periodic_event( wrapTC->when.cyt_interval, mach_absolute_time(), &(wrapTC->deadline) );
497 /* Did cyclic_remove request a wakeup call when this thread call was re-armed? */
498 if (wrapTC->when.cyt_interval == WAKEUP_REAPER)
503 cyclic_add(cyc_handler_t *handler, cyc_time_t *when)
513 wrapTC->when = *when;
515 ASSERT(when->cyt_when == 0);
516 ASSERT(when->cyt_interval < WAKEUP_REAPER);
518 nanoseconds_to_absolutetime(wrapTC->when.cyt_interval, (uint64_t *)&wrapTC->when.cyt_interval);
523 clock_deadline_for_periodic_event( wrapTC->when.cyt_interval, now, &(wrapTC->deadline) );
546 wrapTC->when.cyt_interval = WAKEUP_REAPER;
557 wrapTC->when.cyt_interval = NEARLY_FOREVER;
1225 * ENAMETOOLONG is returned when 'len' bytes have been copied in but the NUL terminator was
1227 * Note that we do *not* stuff a NUL terminator when returning ENAMETOOLONG, that's left
1258 * ENAMETOOLONG is returned when 'len' bytes have been copied out but the NUL terminator was
1260 * Note that we do *not* stuff a NUL terminator when returning ENAMETOOLONG, that's left
1605 * This exists to prevent build errors when dtrace is unconfigured.