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

1234567891011

/freebsd-9.3-release/sys/ofed/include/linux/
H A Dtimer.h48 struct timer_list *timer; local
50 timer = context;
51 timer->function(timer->data);
54 #define setup_timer(timer, func, dat) \
56 (timer)->function = (func); \
57 (timer)->data = (dat); \
58 callout_init(&(timer)->timer_callout, CALLOUT_MPSAFE); \
61 #define init_timer(timer) \
63 (timer)
[all...]
/freebsd-9.3-release/sys/dev/isci/
H A Disci_timer.c41 struct ISCI_TIMER *timer = (struct ISCI_TIMER *)arg; local
43 isci_log_message(3, "TIMER", "timeout %p\n", timer);
45 /* callout_stop() will *not* keep the timer from running if it is
49 * the timer routine should actually be run or not.
51 if (timer->is_started == TRUE)
52 timer->callback(timer->cookie);
56 * @brief This callback method asks the user to start the supplied timer.
60 * removes the timer from it's list when a timer actuall
75 scif_cb_timer_start(SCI_CONTROLLER_HANDLE_T controller, void *timer, uint32_t milliseconds) argument
96 scif_cb_timer_stop(SCI_CONTROLLER_HANDLE_T controller, void *timer) argument
131 struct ISCI_TIMER *timer; local
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/
H A Do_time.h65 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dtimer.c34 #include <isc/timer.h>
82 /*! Locked by timer lock. */
137 isc__timer_reset(isc_timer_t *timer, isc_timertype_t type,
141 isc__timer_gettype(isc_timer_t *timer);
143 isc__timer_touch(isc_timer_t *timer);
201 schedule(isc__timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
214 REQUIRE(timer->type != isc_timertype_inactive);
220 manager = timer->manager;
234 if (timer->type != isc_timertype_once) {
235 result = isc_time_add(now, &timer
335 deschedule(isc__timer_t *timer) argument
367 destroy(isc__timer_t *timer) argument
400 isc__timer_t *timer; local
520 isc__timer_t *timer = (isc__timer_t *)timer0; local
593 isc__timer_t *timer = (isc__timer_t *)timer0; local
607 isc__timer_t *timer = (isc__timer_t *)timer0; local
638 isc__timer_t *timer = (isc__timer_t *)timer0; local
656 isc__timer_t *timer; local
685 isc__timer_t *timer; local
862 isc__timer_t *timer; local
[all...]
H A Dtimer_api.c27 #include <isc/timer.h>
111 isc_timer_attach(isc_timer_t *timer, isc_timer_t **timerp) { argument
112 REQUIRE(ISCAPI_TIMER_VALID(timer));
115 timer->methods->attach(timer, timerp);
117 ENSURE(*timerp == timer);
130 isc_timer_reset(isc_timer_t *timer, isc_timertype_t type, argument
134 REQUIRE(ISCAPI_TIMER_VALID(timer));
136 return (timer->methods->reset(timer, typ
140 isc_timer_touch(isc_timer_t *timer) argument
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dtimer.c34 #include <isc/timer.h>
82 /*! Locked by timer lock. */
137 isc__timer_reset(isc_timer_t *timer, isc_timertype_t type,
141 isc__timer_gettype(isc_timer_t *timer);
143 isc__timer_touch(isc_timer_t *timer);
201 schedule(isc__timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
214 REQUIRE(timer->type != isc_timertype_inactive);
220 manager = timer->manager;
234 if (timer->type != isc_timertype_once) {
235 result = isc_time_add(now, &timer
335 deschedule(isc__timer_t *timer) argument
367 destroy(isc__timer_t *timer) argument
400 isc__timer_t *timer; local
520 isc__timer_t *timer = (isc__timer_t *)timer0; local
593 isc__timer_t *timer = (isc__timer_t *)timer0; local
607 isc__timer_t *timer = (isc__timer_t *)timer0; local
638 isc__timer_t *timer = (isc__timer_t *)timer0; local
656 isc__timer_t *timer; local
685 isc__timer_t *timer; local
862 isc__timer_t *timer; local
[all...]
H A Dtimer_api.c27 #include <isc/timer.h>
111 isc_timer_attach(isc_timer_t *timer, isc_timer_t **timerp) { argument
112 REQUIRE(ISCAPI_TIMER_VALID(timer));
115 timer->methods->attach(timer, timerp);
117 ENSURE(*timerp == timer);
130 isc_timer_reset(isc_timer_t *timer, isc_timertype_t type, argument
134 REQUIRE(ISCAPI_TIMER_VALID(timer));
136 return (timer->methods->reset(timer, typ
140 isc_timer_touch(isc_timer_t *timer) argument
[all...]
/freebsd-9.3-release/contrib/ntp/scripts/deprecated/
H A Dfreq_adj.in16 chop($timer = `sysctl -n kern.timecounter.hardware 2> /dev/null`);
18 $timer =~ tr/\U/\L/;
20 if ($timer eq '') {
25 $timer = $1;
32 $opt_t = $timer if !defined($opt_t);
34 if ($timer ne '') { # $timer found...
36 if ($timer ne $opt_t) { # - - and they differ
37 warn "You specified a $opt_t timer but I detected a $timer time
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dlocaltime_r.c46 localtime_r(const time_t *timer, struct tm *result) argument
50 tm = localtime((time_t *)timer);
/freebsd-9.3-release/sys/dev/isci/scil/
H A Dscif_sas_timer.c85 void * timer
90 if (timer != NULL)
92 scif_cb_timer_destroy(fw_controller, timer);
93 timer = NULL;
101 void * timer,
108 scif_cb_timer_start(fw_controller, timer, milliseconds);
115 void * timer
121 scif_cb_timer_stop(fw_controller, timer);
99 scic_cb_timer_start( SCI_CONTROLLER_HANDLE_T controller, void * timer, U32 milliseconds ) argument
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dtimer.h18 /* $Id: timer.h,v 1.9 2007/06/19 23:47:17 tbox Exp $ */
23 /*! \file dns/timer.h */
39 dns_timer_setidle(isc_timer_t *timer, unsigned int maxtime,
45 * Set the timer 'timer' to go off after 'idletime' seconds of inactivity,
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dtimer.c18 /* $Id: timer.c,v 1.7 2007/06/19 23:47:16 tbox Exp $ */
26 #include <isc/timer.h>
29 #include <dns/timer.h>
37 dns_timer_setidle(isc_timer_t *timer, unsigned int maxtime, argument
50 * work around the silly limitation of the ISC timer interface
55 CHECK(isc_timer_reset(timer, isc_timertype_once,
/freebsd-9.3-release/tools/regression/kqueue/
H A DMakefile13 timer.c \
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dtest-changelist.c65 start_cpu_usage_timer(struct cpu_usage_timer *timer) argument
70 timer->thread = GetCurrentThread();
71 r = GetThreadTimes(timer->thread, &createtime, &exittime,
72 &timer->usertimeBegin, &timer->kerneltimeBegin);
75 timer->ticksBegin = clock();
78 evutil_gettimeofday(&timer->timeBegin, NULL);
104 get_cpu_usage(struct cpu_usage_timer *timer, double *secElapsedOut, argument
118 r = GetThreadTimes(timer->thread, &createtime, &exittime,
121 usertime_seconds = filetime_diff(&timer
170 struct cpu_usage_timer timer; local
[all...]
/freebsd-9.3-release/lib/librt/
H A Dtimer.c82 struct __timer *timer; local
87 timer = malloc(sizeof(struct __timer));
88 if (timer == NULL)
92 ret = __sys_ktimer_create(clockid, evp, &timer->oshandle);
95 free(timer);
99 timer->node = NULL;
100 *timerid = timer;
105 free(timer);
112 free(timer);
118 ret = __sys_ktimer_create(clockid, &ev, &timer
[all...]
H A DMakefile15 SRCS+= aio.c mq.c sigev_thread.c timer.c
/freebsd-9.3-release/sys/sys/
H A Dtimers.h65 /* cpu timer */
101 int (*timer_create)(struct itimer *timer);
102 int (*timer_settime)(struct itimer * timer, int flags,
105 int (*timer_delete)(struct itimer * timer);
106 int (*timer_gettime)(struct itimer * timer,
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Dtimer.h18 /* $Id: timer.h,v 1.43 2009/09/02 23:48:03 tbox Exp $ */
27 /*! \file isc/timer.h
44 * Timers can change type. It is typical to create a timer as
45 * an 'inactive' timer and then change it into a 'ticker' or
46 * 'once' timer.
51 * Clients of this module must not be holding a timer's task's lock when
52 * making a call that affects that timer. Failure to follow this rule
106 /*% Timer and timer manager methods */
120 void (*attach)(isc_timer_t *timer, isc_timer_t **timerp);
122 isc_result_t (*reset)(isc_timer_t *timer, isc_timertype_
[all...]
/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/
H A Dcatas.c80 mod_timer(&priv->catas_err.timer,
121 init_timer(&priv->catas_err.timer);
134 priv->catas_err.timer.data = (unsigned long) dev;
135 priv->catas_err.timer.function = poll_catas;
136 priv->catas_err.timer.expires =
138 add_timer(&priv->catas_err.timer);
145 del_timer_sync(&priv->catas_err.timer);
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Dtimer.h18 /* $Id: timer.h,v 1.43 2009/09/02 23:48:03 tbox Exp $ */
27 /*! \file isc/timer.h
44 * Timers can change type. It is typical to create a timer as
45 * an 'inactive' timer and then change it into a 'ticker' or
46 * 'once' timer.
51 * Clients of this module must not be holding a timer's task's lock when
52 * making a call that affects that timer. Failure to follow this rule
106 /*% Timer and timer manager methods */
120 void (*attach)(isc_timer_t *timer, isc_timer_t **timerp);
122 isc_result_t (*reset)(isc_timer_t *timer, isc_timertype_
[all...]
/freebsd-9.3-release/lib/libc/isc/
H A Dev_timers.c68 evTimer * timer; member in struct:__anon5070
248 ctx->cur->u.timer.this == del) {
249 evPrintf(ctx, 8, "deferring delete of timer (executing)\n");
252 * clean up the timer.
280 evTimer *timer = id.opaque; local
285 if (heap_element(ctx->timers, timer->index) != timer)
289 timer->mode |= EV_TMR_RATE;
291 timer->mode &= ~EV_TMR_RATE;
307 evTimer *timer local
404 evTimer *timer = opaqueID.opaque; local
457 evTimer *timer; local
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_catas.c34 #include <linux/timer.h>
143 mod_timer(&dev->catas_err.timer,
151 init_timer(&dev->catas_err.timer);
165 dev->catas_err.timer.data = (unsigned long) dev;
166 dev->catas_err.timer.function = poll_catas;
167 dev->catas_err.timer.expires = jiffies + MTHCA_CATAS_POLL_INTERVAL;
169 add_timer(&dev->catas_err.timer);
174 del_timer_sync(&dev->catas_err.timer);
/freebsd-9.3-release/usr.sbin/IPXrouted/
H A DMakefile6 SRCS= af.c if.c input.c main.c output.c startup.c tables.c timer.c trace.c
/freebsd-9.3-release/usr.sbin/rtadvd/
H A DMakefile19 SRCS= rtadvd.c rrenum.c advcap.c if.c config.c timer.c timer_subr.c \
/freebsd-9.3-release/sys/mips/rmi/
H A Dpic.h223 pic_init_timer(int timer) argument
230 val |= (1 << (8 + timer));
236 pic_set_timer(int timer, uint64_t maxval) argument
240 xlr_write_reg(mmio, PIC_TIMER_MAXVAL_0(timer),
242 xlr_write_reg(mmio, PIC_TIMER_MAXVAL_1(timer),
247 pic_timer_count32(int timer) argument
251 return (xlr_read_reg(mmio, PIC_TIMER_COUNT_0(timer)));
255 * The timer can wrap 32 bits between the two reads, so we
259 pic_timer_count(int timer) argument
264 tu1 = xlr_read_reg(mmio, PIC_TIMER_COUNT_1(timer));
[all...]

Completed in 151 milliseconds

1234567891011