Searched refs:timer (Results 51 - 75 of 272) sorted by relevance

1234567891011

/freebsd-11-stable/usr.sbin/ppp/
H A Dbundle.h134 struct pppTimer timer; /* timeout after cfg.idle_timeout */ member in struct:bundle::__anon8829
140 struct pppTimer timer; member in struct:bundle::__anon8830
150 struct pppTimer timer; /* choked output queue timer */ member in struct:bundle::__anon8832
H A Dhdlc.h75 struct pppTimer timer; /* When to send */ member in struct:hdlc::__anon8858
H A Dcbcp.c44 #include "timer.h"
72 memset(&cbcp->fsm.timer, '\0', sizeof cbcp->fsm.timer);
85 timer_Stop(&cbcp->fsm.timer);
136 timer_Stop(&cbcp->fsm.timer);
137 cbcp->fsm.timer.func = cbcp_Timeout;
138 cbcp->fsm.timer.name = "cbcp";
139 cbcp->fsm.timer.load = timeout * SECTICKS;
140 cbcp->fsm.timer.arg = cbcp;
141 timer_Start(&cbcp->fsm.timer);
[all...]
H A Dbundle.c64 #include "timer.h"
204 timer_Stop(&bundle->choked.timer);
235 != bundle->phys_type.open && bundle->session.timer.state == TIMER_STOPPED)
241 != bundle->phys_type.open && bundle->idle.timer.state == TIMER_STOPPED)
242 /* We may need to start our idle timer */
274 * autoload timer.
277 * If it's the first NCP, start the idle timer.
279 * If it's the first NCP, start the autoload timer
309 * If it's our last NCP, stop the idle timer.
311 * If it's our last NCP, stop the autoload timer
[all...]
/freebsd-11-stable/sys/dev/xen/timer/
H A Dtimer.c30 * \file dev/xen/timer/timer.c
31 * \brief A timer driver for the Xen hypervisor's PV clock.
35 __FBSDID("$FreeBSD: stable/11/sys/dev/xen/timer/timer.c 323472 2017-09-11 22:39:59Z ian $");
65 #include <dev/xen/timer/timer.h>
88 uint64_t timer; member in struct:xentimer_pcpu_data
119 KASSERT((xen_domain()), ("Trying to use Xen timer on bare metal"));
123 * timer interrupt
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_tx.c50 /* If we don't have a pending timer, set one up to catch our recent
52 if (!callout_pending(&ssk->tx_ring.timer))
53 callout_reset(&ssk->tx_ring.timer, SDP_TX_POLL_TIMEOUT,
334 /* If there are still packets in flight and the timer has not already
338 callout_reset(&ssk->tx_ring.timer, SDP_TX_POLL_TIMEOUT,
355 if (!callout_active(&ssk->tx_ring.timer))
357 callout_deactivate(&ssk->tx_ring.timer);
430 callout_init_rw(&ssk->tx_ring.timer, &ssk->lock, 0);
463 callout_stop(&ssk->tx_ring.timer);
466 callout_drain(&ssk->tx_ring.timer);
[all...]
/freebsd-11-stable/usr.bin/at/
H A Dat.c742 time_t timer; local
748 timer = -1;
818 timer = ttime(optarg);
877 * If timer is > -1, then the user gave the time with -t. In that
880 if (timer == -1)
881 timer = parsetime(argc, argv);
885 struct tm *tm = localtime(&timer);
888 writefile(timer, queue);
898 timer = parsetime(argc, argv);
900 timer
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dlib.c34 #include <isc/timer.h>
/freebsd-11-stable/sys/arm/ti/am335x/
H A Dtps65217x.h90 unsigned int timer:2; member in struct:tps65217_chgconfig1_reg
/freebsd-11-stable/sys/dev/scd/
H A Dscdvar.h46 struct callout timer; member in struct:scd_softc
/freebsd-11-stable/sys/dev/sound/midi/
H A Dmpu401.c80 struct callout timer; member in struct:mpu401
169 callout_reset(&m->timer, 1, mpu401_timeout, m);
188 callout_init(&m->timer, 1);
275 callout_reset(&m->timer, 1, mpu401_timeout, m);
/freebsd-11-stable/sys/dev/mcd/
H A Dmcdvar.h56 struct callout timer; member in struct:mcd_softc
/freebsd-11-stable/sys/compat/ndis/
H A Dsubr_ntoskrnl.c85 "Show ntoskrnl timer stats");
1614 * KeWaitForSingleObject() on NDIS timer and event objects, so we
1615 * have to support that as well. Conseqently, our NDIS timer and event
1616 * code has to be closely tied into our ntoskrnl timer and event code,
1628 * - For timers, if the timer has already fired and the timer is in
1630 * timer. Unlike an event, timers get signalled automatically when
1633 * events: KeInitializeTimerEx() lets you initialize a timer as
3402 * a timer or event object, you actually end up with an
3411 * a timer objec
3619 ktimer *timer; local
4185 ktimer timer; local
[all...]
H A Dsubr_ndis.c1110 * This is an older (?) timer init routine which doesn't
1116 NdisInitializeTimer(timer, func, ctx)
1117 ndis_timer *timer;
1121 KeInitializeTimer(&timer->nt_ktimer);
1122 KeInitializeDpc(&timer->nt_kdpc, func, ctx);
1123 KeSetImportanceDpc(&timer->nt_kdpc, KDPC_IMPORTANCE_LOW);
1127 ndis_timercall(dpc, timer, sysarg1, sysarg2)
1129 ndis_miniport_timer *timer;
1139 if (NDIS_SERIALIZED(timer->nmt_block))
1140 KeAcquireSpinLockAtDpcLevel(&timer
2411 ktimer timer; local
[all...]
/freebsd-11-stable/contrib/ofed/opensm/include/complib/
H A Dcl_event_wheel.h144 cl_timer_t timer; member in struct:_cl_event_wheel
165 * timer
166 * The timer scheduling event time propagation.
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dhrtimer.h36 #include <linux/timer.h>
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_cq.c167 init_timer(&cq->timer);
168 cq->timer.function = mlx4_en_poll_tx_cq;
169 cq->timer.data = (unsigned long) cq;
207 del_timer_sync(&cq->timer);
/freebsd-11-stable/sys/arm/mv/
H A Dtimer.c90 {"mrvl,timer", MV_TMR | MV_WDT },
245 "timer",
252 DRIVER_MODULE(timer, simplebus, mv_timer_driver, mv_timer_devclass, 0, 0);
305 mv_get_timer(uint32_t timer) argument
309 timer_softc->timer_bsh, CPU_TIMER0 + timer * 0x8));
313 mv_set_timer(uint32_t timer, uint32_t val) argument
317 timer_softc->timer_bsh, CPU_TIMER0 + timer * 0x8, val);
321 mv_set_timer_rel(uint32_t timer, uint32_t val) argument
325 timer_softc->timer_bsh, CPU_TIMER0_REL + timer * 0x8, val);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_acts.c210 int timer; /* timeout counter */ member in struct:actsunit
241 acts_timer /* housekeeping timer */
417 up->timer = ANSWER;
432 up->timer = TIMECODE;
540 up->timer = TIMECODE;
555 up->timer = SETUP;
626 up->timer = REDIAL;
631 up->timer = 0;
705 * called. If flag1 is set while timer is zero, force a call.
709 if (up->timer
[all...]
/freebsd-11-stable/sys/dev/liquidio/base/
H A Dlio_console.c529 if (callout_pending(&console_callout->timer) ||
530 (callout_active(&console_callout->timer) == 0))
572 callout_schedule(&oct->console_timer[console_num].timer,
623 struct callout *timer; local
652 timer = &oct->console_timer[console_num].timer;
657 callout_init(timer, 0);
660 callout_reset(timer,
662 lio_check_console, timer);
693 callout_stop(&oct->console_timer[i].timer);
[all...]
/freebsd-11-stable/lib/libc/isc/
H A Dev_streams.c134 evTimeRW(evContext opaqueCtx, evStreamID id, evTimerID timer) /*ARGSUSED*/ { argument
139 str->timer = timer;
278 evTouchIdleTimer(opaqueCtx, str->timer);
301 evTouchIdleTimer(opaqueCtx, str->timer);
/freebsd-11-stable/crypto/openssl/crypto/
H A Do_time.c104 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) argument
109 if (gmtime_r(timer, result) == NULL)
113 if (gmtime_s(result, timer))
117 ts = gmtime(timer);
171 t = *timer;
/freebsd-11-stable/contrib/unbound/util/
H A Dnetevent.h687 * create timer. Not active upon creation.
691 * @return: the new timer or NULL on error.
697 * disable timer. Stops callbacks from happening.
698 * @param timer: to disable.
700 void comm_timer_disable(struct comm_timer* timer);
703 * reset timevalue for timer.
704 * @param timer: timer to (re)set.
705 * @param tv: when the timer should activate. if NULL timer i
[all...]
/freebsd-11-stable/sys/dev/hpt27xx/
H A Dos_bsd.h180 struct callout timer; member in struct:_vbus_ext
182 struct callout_handle timer; member in struct:_vbus_ext
/freebsd-11-stable/contrib/ngatm/sscop/
H A Dcommon.c52 struct timer { struct
367 errx(1, "bad timer name '%s'", arg);
405 struct timer *t = uap;
412 * Start a timer
418 struct timer *t;
430 err(1, "cannot start timer");
436 err(1, "cannot start timer");
443 * Stop a timer
448 struct timer *t = tp;

Completed in 344 milliseconds

1234567891011