Searched refs:leeway (Results 1 - 25 of 25) sorted by relevance

/macosx-10.9.5/libdispatch-339.92.1/tools/
H A Ddispatch_timers.d34 int64_t deadline, interval, leeway;
58 printf("%8dus %-15s: 0x%0?p deadline: %11dns interval: %11dns leeway: %11dns",
61 this->p ? this->p->leeway : 0);
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/
H A Dtelemetry.h52 extern int telemetry_timer_event(uint64_t deadline, uint64_t interval, uint64_t leeway);
H A Dthread_call.h159 * Indicate that a specific leeway value is being provided (otherwise
160 * the leeway parameter is ignored). The supplied value can currently
161 * only be used to extend the leeway calculated internally from the
178 @param leeway Time delta, in absolute time units, which sets range of time allowing kernel
186 uint64_t leeway,
328 uint64_t leeway,
H A Dtimer_call.h95 * Indicate that a specific leeway value is being provided (otherwise
96 * the leeway parameter is ignored). This supplied value can currently
97 * only be used to extend the leeway calculated internally from the
122 uint64_t leeway,
H A Dthread_call.c119 uint64_t leeway, unsigned int flags);
517 uint64_t leeway; local
521 leeway = call->tc_call.deadline - call->tc_soft_deadline;
523 call->tc_soft_deadline, leeway,
637 * leeway/flags threaded through.
645 uint64_t leeway,
648 (void)thread_call_enter_delayed_internal(NULL, func, param, 0, deadline, leeway, flags);
862 uint64_t leeway,
866 return thread_call_enter_delayed_internal(call, NULL, 0, param1, deadline, leeway, flags);
879 * leeway
641 thread_call_func_delayed_with_leeway( thread_call_func_t func, thread_call_param_t param, uint64_t deadline, uint64_t leeway, uint32_t flags) argument
858 thread_call_enter_delayed_with_leeway( thread_call_t call, thread_call_param_t param1, uint64_t deadline, uint64_t leeway, unsigned int flags) argument
884 thread_call_enter_delayed_internal( thread_call_t call, thread_call_func_t alt_func, thread_call_param_t alt_param0, thread_call_param_t param1, uint64_t deadline, uint64_t leeway, unsigned int flags) argument
[all...]
H A Dwait_queue.h231 uint64_t leeway,
400 uint64_t leeway);
440 uint64_t leeway);
H A Dsched_prim.h386 /* Assert that the thread intends to wait with an urgency, timeout and leeway */
392 uint32_t leeway,
400 /* Assert that the thread intends to wait with an urgency, deadline, and leeway */
406 uint64_t leeway);
H A Dtimer_call.c157 static boolean_t timer_call_enter_internal(timer_call_t call, timer_call_param_t param1, uint64_t deadline, uint64_t leeway, uint32_t flags, boolean_t ratelimited);
475 uint64_t leeway,
502 if ((flags & TIMER_CALL_LEEWAY) != 0 && leeway > slop)
503 slop = leeway;
599 uint64_t leeway,
603 return timer_call_enter_internal(call, param1, deadline, leeway, flags, ratelimited);
471 timer_call_enter_internal( timer_call_t call, timer_call_param_t param1, uint64_t deadline, uint64_t leeway, uint32_t flags, boolean_t ratelimited) argument
595 timer_call_enter_with_leeway( timer_call_t call, timer_call_param_t param1, uint64_t deadline, uint64_t leeway, uint32_t flags, boolean_t ratelimited) argument
H A Dwait_queue.c1186 uint64_t leeway,
1233 deadline, leeway, urgency, FALSE))
1288 * Deadline values are specified with urgency and leeway.
1300 uint64_t leeway)
1315 urgency, deadline, leeway,
1364 * Deadline values are specified with urgency and leeway.
1375 uint64_t leeway)
1389 urgency, deadline, leeway,
1180 wait_queue_assert_wait64_locked( wait_queue_t wq, event64_t event, wait_interrupt_t interruptible, wait_timeout_urgency_t urgency, uint64_t deadline, uint64_t leeway, thread_t thread) argument
1294 wait_queue_assert_wait_with_leeway( wait_queue_t wq, event_t event, wait_interrupt_t interruptible, wait_timeout_urgency_t urgency, uint64_t deadline, uint64_t leeway) argument
1369 wait_queue_assert_wait64_with_leeway( wait_queue_t wq, event64_t event, wait_interrupt_t interruptible, wait_timeout_urgency_t urgency, uint64_t deadline, uint64_t leeway) argument
H A Dtelemetry.c75 #define TELEMETRY_DEFAULT_NOTIFY_LEEWAY (4*1024) // Userland gets 4k of leeway to collect data after notification
251 int telemetry_timer_event(__unused uint64_t deadline, __unused uint64_t interval, __unused uint64_t leeway) argument
H A Dsched_prim.c1182 uint32_t leeway,
1198 clock_interval_to_absolutetime_interval(leeway, scale_factor, &slop);
1263 uint64_t leeway)
1283 urgency, deadline, leeway,
1177 assert_wait_timeout_with_leeway( event_t event, wait_interrupt_t interruptible, wait_timeout_urgency_t urgency, uint32_t interval, uint32_t leeway, uint32_t scale_factor) argument
1258 assert_wait_deadline_with_leeway( event_t event, wait_interrupt_t interruptible, wait_timeout_urgency_t urgency, uint64_t deadline, uint64_t leeway) argument
/macosx-10.9.5/Security-55471.14.18/sec/SOSCircle/Regressions/
H A Dsc-103-syncupdate.c47 static const uint64_t leeway = 1ull * NSEC_PER_SEC; variable
83 dispatch_source_set_timer(exitTimerSource, exitFireTime, 0ull, leeway);
/macosx-10.9.5/libdispatch-339.92.1/src/
H A Dprovider.d34 int64_t deadline, interval, leeway;
H A Dtrace.h33 int64_t deadline, interval, leeway; member in struct:dispatch_trace_timer_params_s
225 params->leeway = _dispatch_trace_time2nano(values->leeway);
H A Dsource.c1185 uint64_t interval, uint64_t leeway)
1199 if ((int64_t)leeway < 0) {
1200 leeway = INT64_MAX;
1222 leeway = _dispatch_time_nano2mach(leeway);
1227 params->values.deadline = (start < UINT64_MAX - leeway) ?
1228 start + leeway : UINT64_MAX;
1230 params->values.leeway = (interval == INT64_MAX || leeway < interval / 2) ?
1231 leeway
1184 _dispatch_source_timer_params(dispatch_source_t ds, dispatch_time_t start, uint64_t interval, uint64_t leeway) argument
1237 _dispatch_source_set_timer(dispatch_source_t ds, dispatch_time_t start, uint64_t interval, uint64_t leeway, bool source_sync) argument
1261 dispatch_source_set_timer(dispatch_source_t ds, dispatch_time_t start, uint64_t interval, uint64_t leeway) argument
1268 _dispatch_source_set_runloop_timer_4CF(dispatch_source_t ds, dispatch_time_t start, uint64_t interval, uint64_t leeway) argument
1290 const uint64_t leeway = animation ? local
1605 _dispatch_timers_get_delay(uint64_t nows[], struct dispatch_timer_s timer[], uint64_t *delay, uint64_t *leeway, int qos) argument
1665 uint64_t delay, leeway; local
1820 uint64_t delay, leeway; member in struct:dispatch_timer_delay_s
[all...]
H A Dsource_internal.h121 uint64_t leeway; member in struct:dispatch_timer_source_s
H A Dqueue.c2070 uint64_t delta, leeway; local
2085 leeway = delta / 10; // <rdar://problem/13447496>
2086 if (leeway < NSEC_PER_MSEC) leeway = NSEC_PER_MSEC;
2087 if (leeway > 60 * NSEC_PER_SEC) leeway = 60 * NSEC_PER_SEC;
2101 dispatch_source_set_timer(ds, when, DISPATCH_TIME_FOREVER, leeway);
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dkern_clock.c144 * Set a timeout with leeway.
149 * leeway_interval: leeway interval, in hz.
159 uint64_t leeway; local
163 clock_interval_to_absolutetime_interval(leeway_interval, NSEC_PER_SEC / hz, &leeway);
165 thread_call_func_delayed_with_leeway((thread_call_func_t)fcn, param, deadline, leeway, THREAD_CALL_DELAY_LEEWAY);
H A Dsys_generic.c2942 error = telemetry_timer_event(args->deadline, args->interval, args->leeway);
/macosx-10.9.5/libdispatch-339.92.1/private/
H A Dprivate.h189 dispatch_time_t start, uint64_t interval, uint64_t leeway);
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/
H A Din_pcb.c132 int inpcb_timeout_lazy = 10; /* 10 seconds leeway for lazy timers */
293 struct timeval leeway; local
357 bzero(&leeway, sizeof(leeway));
358 leeway.tv_sec = inpcb_timeout_lazy;
363 inpcb_sched_timeout(&leeway);
371 inpcb_sched_timeout(struct timeval *leeway) argument
379 if (leeway == NULL) {
385 tvtohz(leeway));
388 leeway
404 struct timeval leeway; local
429 struct timeval leeway; local
[all...]
/macosx-10.9.5/libdispatch-339.92.1/dispatch/
H A Dsource.h308 * leeway value specified for the timer via dispatch_source_set_timer(), even
309 * if that value is smaller than the default leeway value that would be applied
310 * to the timer otherwise. A minimal amount of leeway will be applied to the
637 * Sets a start time, interval, and leeway value for a timer source.
647 * may be configured with the 'leeway' argument, the lower limit is under the
651 * delay is set to 'leeway' nanoseconds. For the subsequent timer fires at
652 * 'start' + N * 'interval', the upper limit is MIN('leeway','interval'/2).
657 * strictly observe the provided 'leeway' value even if it is smaller than the
677 * @param leeway
678 * The nanosecond leeway fo
[all...]
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/tests/
H A Dbuiltins.sh490 typeset reps=50 leeway=5
491 #sleep $(( 2 * leeway * reps * delay )) |
496 #if (( total_t > leeway * reps * delay ))
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet6/
H A Dnd6.c1129 * most "2 * nd6_prune_lazy - 1" leeway. We consider the worst
1286 struct timeval atv, ltv, *leeway; local
1292 leeway = NULL;
1299 leeway = &ltv;
1301 nd6_sched_timeout(&atv, leeway);
1318 ltv = NULL; /* ignore leeway */
1331 "T+%llus.%lluu with %llus.%lluu leeway "
1360 "with %llus.%lluu leeway\n", __func__,
/macosx-10.9.5/CF-855.17/
H A DCFRunLoop.c799 // Set timer to far out there. The unique leeway makes this timer easy to spot in debug output.
1937 uint64_t leeway = __CFTSRToNanoseconds(nextHardDeadline - nextSoftDeadline); local
1940 if (leeway > 0) {
1941 // Only use the dispatch timer if we have any leeway
1952 _dispatch_source_set_runloop_timer_4CF(rlm->_timerSource, deadline, DISPATCH_TIME_FOREVER, leeway);
1969 _dispatch_source_set_runloop_timer_4CF(rlm->_timerSource, deadline, DISPATCH_TIME_FOREVER, leeway);
3897 * delay is set to 'leeway' nanoseconds. For the subsequent timer fires at
3898 * 'start' + N * 'interval', the upper limit is MIN('leeway','interval'/2).

Completed in 217 milliseconds