Searched refs:timer (Results 26 - 50 of 260) sorted by relevance

1234567891011

/freebsd-9.3-release/sys/kern/
H A Dkern_clocksource.c82 if (timer->et_flags & ET_FLAGS_PERCPU) \
90 if (timer->et_flags & ET_FLAGS_PERCPU) \
96 static struct eventtimer *timer = NULL; variable in typeref:struct:eventtimer
101 static struct bintime nexttick; /* Next global timer tick time. */
106 static char timername[32]; /* Wanted timer. */
107 TUNABLE_STR("kern.eventtimer.timer", timername, sizeof(timername));
129 struct mtx et_hw_mtx; /* Per-CPU timer mutex. */
134 struct bintime nexttick; /* Next timer tick time. */
211 if ((timer->et_flags & ET_FLAGS_PERCPU) == 0 &&
278 (timer
[all...]
/freebsd-9.3-release/contrib/libreadline/
H A Dparens.c119 struct timeval timer; local
133 timer.tv_sec = 0;
134 timer.tv_usec = _paren_blink_usec;
139 ready = select (1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &timer);
/freebsd-9.3-release/usr.sbin/ppp/
H A Dcbcp.h57 struct pppTimer timer; /* Resend last option */ member in struct:cbcp::__anon10987
H A Dradius.h45 struct pppTimer timer; /* for this long */ member in struct:radius::__anon11045
75 struct pppTimer timer; /* for this long */ member in struct:radius::__anon11048
H A Dlqr.c45 #include "timer.h"
168 timer_Stop(&p->hdlc.lqm.timer);
197 if (p->hdlc.lqm.method && p->hdlc.lqm.timer.load)
198 timer_Start(&p->hdlc.lqm.timer);
251 * Generate an LQR response if we're not running an LQR timer OR
254 if (p->hdlc.lqm.timer.load == 0 || !(p->hdlc.lqm.method & LQM_LQR) ||
282 timer_Stop(&physical->hdlc.lqm.timer);
292 physical->hdlc.lqm.timer.func = SendLqrReport;
293 physical->hdlc.lqm.timer.name = "lqm";
294 physical->hdlc.lqm.timer
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/
H A Do_time.c73 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) argument
82 gmtime_r(timer, result);
85 ts = gmtime(timer);
123 t = *timer;
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dratelimiter.c28 #include <isc/timer.h>
43 isc_timer_t * timer; member in struct:isc_ratelimiter
74 rl->timer = NULL;
84 rl, &rl->timer);
115 * If the timer is currently running, change its rate.
118 result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
152 result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
191 * No work left to do. Stop the timer so that we don't
194 result = isc_timer_reset(rl->timer,
216 (void)isc_timer_reset(rl->timer, isc_timertype_inactiv
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dratelimiter.c28 #include <isc/timer.h>
43 isc_timer_t * timer; member in struct:isc_ratelimiter
74 rl->timer = NULL;
84 rl, &rl->timer);
115 * If the timer is currently running, change its rate.
118 result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
152 result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
191 * No work left to do. Stop the timer so that we don't
194 result = isc_timer_reset(rl->timer,
216 (void)isc_timer_reset(rl->timer, isc_timertype_inactiv
[all...]
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dworkqueue.h33 #include <linux/timer.h>
50 struct callout timer; member in struct:delayed_work
80 callout_init(&(_work)->timer, CALLOUT_MPSAFE); \
117 callout_reset(&work->timer, delay, _delayed_work_fn, work);
186 callout_stop(&work->timer);
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestDrop.java52 final Timer timer = new Timer();
53 timer.schedule(new TimerTask() {
56 timer.cancel();
/freebsd-9.3-release/sys/dev/cs/
H A Dif_csvar.h68 struct callout timer; member in struct:cs_softc
/freebsd-9.3-release/sys/dev/isci/scil/
H A Dscic_sds_port_configuration_agent.h101 void *timer; member in struct:SCIC_SDS_PORT_CONFIGURATION_AGENT
H A Dsati_mode_select.c599 U32 timer = 0; local
623 // STANDBY bit is set to 0, do nothing since the standby timer can't be set;
624 // STANDBY bit is set to 1, translate the standby timer
628 timer = (current_mode_page[8]<<24) + (current_mode_page[9]<<16) + (current_mode_page[10]<<8) + current_mode_page[11];
633 if (timer == 0)
639 else if ((timer > 0) && (timer <= 12000))
642 count = (U16)((timer -1) / 50) + 1;
645 else if ((timer > 12000) && (timer <
[all...]
H A Dscic_sds_port_configuration_agent.c417 * This timer routine is used to allow the SCI User to rediscover or change
542 // to start the timer to allow the SCI User to cleanup old devices and
561 port_agent->timer,
633 * timer for the next time period. This could be caused by either a
640 * timer start operation.
641 * @param[in] phy This is the phy that has caused the timer operation to
662 scic_cb_timer_stop(controller, port_agent->timer);
667 scic_cb_timer_start(controller, port_agent->timer, timeout);
676 * @param[in] start_timer This tells the routine if it should start the timer for
713 // the timer an
[all...]
/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/
H A Den_cq.c113 init_timer(&cq->timer);
114 cq->timer.function = mlx4_en_poll_tx_cq;
115 cq->timer.data = (unsigned long) cq;
140 del_timer(&cq->timer);
/freebsd-9.3-release/usr.sbin/rtsold/
H A Ddump.c75 fprintf(fp, " probe timer: %d\n", ifi->probetimer);
78 fprintf(fp, " no probe timer\n");
89 if (ifi->timer.tv_sec == tm_max.tv_sec &&
90 ifi->timer.tv_usec == tm_max.tv_usec)
91 fprintf(fp, " no timer\n");
93 fprintf(fp, " timer: interval=%d:%d, expire=%s\n",
94 (int)ifi->timer.tv_sec,
95 (int)ifi->timer.tv_usec,
H A Drtsold.c622 warnmsg(LOG_DEBUG, __func__, "timer expiration on %s, "
667 ifi->timer.tv_sec) <= 0) {
668 /* probe timer expired */
710 "RA expiration timer: "
717 "RA expiration timer: "
736 warnmsg(LOG_DEBUG, __func__, "there is no timer");
746 warnmsg(LOG_DEBUG, __func__, "New timer is %s",
760 bzero(&ifi->timer, sizeof(ifi->timer));
767 ifi->timer
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/tests/
H A Disctest.h32 #include <isc/timer.h>
/freebsd-9.3-release/sys/mips/nlm/hal/
H A Dpic.h42 #define PIC_CTRL_STE 10 /* system timer interrupt enable */
47 #define PIC_CTRL_WTE 0 /* watchdog timer enable */
52 #define PIC_STS_STATUS 4 /* System timer interrupt status */
352 nlm_pic_read_timer(uint64_t base, int timer) argument
354 return nlm_read_pic_reg(base, PIC_TIMER_COUNT(timer));
358 nlm_pic_write_timer(uint64_t base, int timer, uint64_t value) argument
360 nlm_write_pic_reg(base, PIC_TIMER_COUNT(timer), value);
364 nlm_pic_set_timer(uint64_t base, int timer, uint64_t value, int irq, int cpu) argument
370 nlm_write_pic_reg(base, PIC_TIMER_MAXVAL(timer), value);
371 nlm_pic_write_irt_direct(base, PIC_IRT_TIMER_INDEX(timer),
[all...]
/freebsd-9.3-release/sys/net/
H A Dieee8023ad_lacp.h42 #define LACP_TIMER_ARM(port, timer, val) \
43 (port)->lp_timer[(timer)] = (val)
44 #define LACP_TIMER_DISARM(port, timer) \
45 (port)->lp_timer[(timer)] = 0
46 #define LACP_TIMER_ISARMED(port, timer) \
47 ((port)->lp_timer[(timer)] > 0)
/freebsd-9.3-release/usr.sbin/IPXrouted/
H A Dtimer.c42 static const char sccsid[] = "@(#)timer.c 8.1 (Berkeley) 6/5/93";
59 timer() function
159 tsap->timer += TIMER_RATE;
160 if (tsap->timer >= EXPIRE_TIME) {
171 sap->timer += TIMER_RATE;
172 if (sap->timer >= EXPIRE_TIME) {
176 if (sap->timer >= GARBAGE_TIME) {
/freebsd-9.3-release/sys/arm/mv/
H A Dtimer.c106 if (!ofw_bus_is_compatible(dev, "mrvl,timer"))
201 "timer",
208 DRIVER_MODULE(timer, simplebus, mv_timer_driver, mv_timer_devclass, 0, 0);
268 mv_get_timer(uint32_t timer) argument
272 timer_softc->timer_bsh, CPU_TIMER0 + timer * 0x8));
276 mv_set_timer(uint32_t timer, uint32_t val) argument
280 timer_softc->timer_bsh, CPU_TIMER0 + timer * 0x8, val);
284 mv_set_timer_rel(uint32_t timer, uint32_t val) argument
288 timer_softc->timer_bsh, CPU_TIMER0_REL + timer * 0x8, val);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devutil_time.c185 evutil_monotonic_timer_free(struct evutil_monotonic_timer *timer) argument
187 if (timer) {
188 mm_free(timer);
196 evutil_configure_monotonic_time(struct evutil_monotonic_timer *timer, argument
199 return evutil_configure_monotonic_time_(timer, flags);
206 evutil_gettime_monotonic(struct evutil_monotonic_timer *timer, argument
209 return evutil_gettime_monotonic_(timer, tp);
377 Parts of our logic in the win32 timer code here are closely based on
476 * our high-resolution timer, but use GetTickCount*() to keep
516 ratchet it forward so that it acts like a monotonic timer, whethe
[all...]
/freebsd-9.3-release/sys/dev/hpt27xx/
H A Dldm.h178 #define ldm_init_timer(timer) do { (timer)->next=0; (timer)->pprev=0; } while (0)
180 #define INIT_TIMER_CALL(timer, _interval, _proc, _arg) \
182 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\
183 (timer)->interval = _interval;\
184 (timer)->proc = _proc;\
185 (timer)->arg = _arg;\
/freebsd-9.3-release/sys/dev/hptnr/
H A Dldm.h177 #define ldm_init_timer(timer) do { (timer)->next=0; (timer)->pprev=0; } while (0)
179 #define INIT_TIMER_CALL(timer, _interval, _proc, _arg) \
181 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\
182 (timer)->interval = _interval;\
183 (timer)->proc = _proc;\
184 (timer)->arg = _arg;\

Completed in 302 milliseconds

1234567891011