Searched defs:timer (Results 1 - 14 of 14) sorted by relevance

/bind-9.11.3/lib/dns/
H A Dtimer.c9 /* $Id: timer.c,v 1.7 2007/06/19 23:47:16 tbox Exp $ */
17 #include <isc/timer.h>
20 #include <dns/timer.h>
28 dns_timer_setidle(isc_timer_t *timer, unsigned int maxtime, argument
41 * work around the silly limitation of the ISC timer interface
46 CHECK(isc_timer_reset(timer, isc_timertype_once,
H A Dnta.c21 #include <isc/timer.h>
40 isc_timer_t *timer; member in struct:dns_nta
72 if (nta->timer != NULL) {
73 (void) isc_timer_reset(nta->timer,
76 isc_timer_detach(&nta->timer);
239 * as well stop the timer now.
241 if (nta->timer != NULL && nta->expiry - now < view->nta_recheck)
242 (void) isc_timer_reset(nta->timer, isc_timertype_inactive,
297 checkbogus, nta, &nta->timer);
318 nta->timer
[all...]
H A Drequest.c18 #include <isc/timer.h>
75 isc_timer_t *timer; member in struct:dns_request
477 request->timer = NULL;
670 set_timer(isc_timer_t *timer, unsigned int timeout, unsigned int udpresend) { argument
682 result = isc_timer_reset(timer, timertype, &expires,
785 * Create timer now. We will set it below once.
789 &request->timer);
872 result = set_timer(request->timer, timeout, tcp ? 0 : udptimeout);
1020 * Create timer now. We will set it below once.
1024 &request->timer);
[all...]
H A Dxfrin.c20 #include <isc/timer.h>
37 #include <dns/timer.h>
96 isc_timer_t *timer; member in struct:dns_xfrin_ctx
834 xfr->timer = NULL;
896 task, xfrin_timeout, xfr, &xfr->timer));
897 CHECK(dns_timer_setidle(xfr->timer,
919 if (xfr->timer != NULL)
920 isc_timer_detach(&xfr->timer);
1255 CHECK(isc_timer_touch(xfr->timer));
1516 if (xfr->timer !
[all...]
H A Dresolver.c23 #include <isc/timer.h>
278 isc_timer_t * timer; member in struct:fetchctx
813 * Start the lifetime timer for fctx.
815 * This is also used for stopping the idle timer; in that
819 return (isc_timer_reset(fctx->timer, isc_timertype_once,
828 * We don't return a result if resetting the timer to inactive fails
833 result = isc_timer_reset(fctx->timer, isc_timertype_inactive,
845 * Start the idle timer for fctx. The lifetime timer continues
848 return (isc_timer_reset(fctx->timer, isc_timertype_onc
[all...]
H A Dzone.c30 #include <isc/timer.h>
205 isc_timer_t *timer; member in struct:dns_zone
472 #define DNS_ZONEFLG_HAVETIMERS 0x00004000U /*%< timer values have been set
475 * default timer values) */
999 zone->timer = NULL;
1113 REQUIRE(zone->timer == NULL);
3458 * timer so that zone_nsec3chain() is called as soon as
3727 * Set the timer for refreshing the key zone to the soonest future time
3728 * of the set (current timer, keydata->refresh, keydata->addhd,
3948 * valid (i.e., the add holddown timer ha
9664 isc_stdtime_t timer = 0xffffffff; local
[all...]
/bind-9.11.3/unit/atf-src/tools/
H A Dtimers.hpp45 // The "timer" class.
48 class timer { class in namespace:tools::timers
50 timer(const timer&);
51 timer& operator=(const timer&);
57 timer(const unsigned int);
58 virtual ~timer(void);
69 class child_timer : public timer {
H A Dtimers.cpp52 static impl::timer* compat_handle;
65 impl::timer* timer = static_cast< impl::timer* >(si->si_value.sival_ptr); local
66 timer->set_fired();
67 timer->timeout_callback();
82 // The "timer" class.
85 struct impl::timer::impl {
101 impl::timer::timer(cons function in class:impl::timer
[all...]
/bind-9.11.3/bin/tests/
H A Dshutdown_test.c22 #include <isc/timer.h>
28 isc_timer_t * timer; member in struct:__anon41
72 isc_timer_detach(&info->timer);
103 isc_timer_detach(&info->timer);
114 isc_timer_detach(&info->timer);
136 ti->timer = NULL;
153 tick, ti, &ti->timer) ==
/bind-9.11.3/lib/isc/
H A Dratelimiter.c17 #include <isc/timer.h>
32 isc_timer_t * timer; member in struct:isc_ratelimiter
64 rl->timer = NULL;
76 rl, &rl->timer);
111 * If the timer is currently running, change its rate.
114 result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
162 result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
218 * No work left to do. Stop the timer so that we don't
221 result = isc_timer_reset(rl->timer,
246 (void)isc_timer_reset(rl->timer, isc_timertype_inactiv
[all...]
H A Dtimer.c28 #include <isc/timer.h>
74 /*! Locked by timer lock. */
124 isc__timer_reset(isc_timer_t *timer, isc_timertype_t type,
128 isc_timer_gettype(isc_timer_t *timer);
130 isc__timer_touch(isc_timer_t *timer);
178 schedule(isc__timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
191 REQUIRE(timer->type != isc_timertype_inactive);
197 manager = timer->manager;
211 if (timer->type != isc_timertype_once) {
212 result = isc_time_add(now, &timer
312 deschedule(isc__timer_t *timer) argument
344 destroy(isc__timer_t *timer) argument
377 isc__timer_t *timer; local
497 isc__timer_t *timer = (isc__timer_t *)timer0; local
570 isc__timer_t *timer = (isc__timer_t *)timer0; local
584 isc__timer_t *timer = (isc__timer_t *)timer0; local
615 isc__timer_t *timer = (isc__timer_t *)timer0; local
633 isc__timer_t *timer; local
662 isc__timer_t *timer; local
839 isc__timer_t *timer; local
1141 isc_timer_attach(isc_timer_t *timer, isc_timer_t **timerp) argument
1166 isc_timer_reset(isc_timer_t *timer, isc_timertype_t type, const isc_time_t *expires, const isc_interval_t *interval, isc_boolean_t purge) argument
1180 isc_timer_touch(isc_timer_t *timer) argument
[all...]
/bind-9.11.3/bin/named/include/named/
H A Dclient.h108 isc_timer_t * timer; member in struct:ns_client
276 * Set a timer in the client to go off in the specified amount of time.
/bind-9.11.3/bin/dig/include/dig/
H A Ddig.h233 isc_timer_t *timer; member in struct:dig_query
/bind-9.11.3/bin/named/
H A Dcontrolconf.c24 #include <isc/timer.h>
74 isc_timer_t * timer; member in struct:controlconnection
162 if (conn->timer != NULL)
163 isc_timer_detach(&conn->timer);
547 isc_timer_detach(&conn->timer);
572 conn->timer = NULL;
576 control_timeout, conn, &conn->timer);
596 if (conn->timer != NULL)
597 isc_timer_detach(&conn->timer);

Completed in 73 milliseconds