/freebsd-10.0-release/sys/ofed/include/linux/ |
H A D | timer.h | 47 struct timer_list *timer; local 49 timer = context; 50 timer->function(timer->data); 53 #define setup_timer(timer, func, dat) \ 55 (timer)->function = (func); \ 56 (timer)->data = (dat); \ 57 callout_init(&(timer)->timer_callout, CALLOUT_MPSAFE); \ 60 #define init_timer(timer) \ 62 (timer) [all...] |
H A D | workqueue.h | 33 #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); 194 callout_stop(&work->timer); 205 callout_drain(&work->timer);
|
/freebsd-10.0-release/sys/dev/isci/ |
H A D | isci_timer.c | 41 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-10.0-release/contrib/atf/atf-run/ |
H A D | timer.hpp | 47 // The "timer" class. 50 class timer : utils::noncopyable { class in namespace:atf::atf_run 55 timer(const unsigned int); 56 virtual ~timer(void); 67 class child_timer : public timer {
|
H A D | timer.cpp | 50 #include "timer.hpp" 56 static impl::timer* compat_handle; 69 impl::timer* timer = static_cast< impl::timer* >(si->si_value.sival_ptr); local 70 timer->set_fired(); 71 timer->timeout_callback(); 86 // The "timer" class. 89 struct impl::timer::impl { 105 impl::timer function in class:impl::timer [all...] |
H A D | Makefile.am.inc | 47 atf-run/timer.cpp \ 48 atf-run/timer.hpp \ 120 atf-run/timer.cpp \
|
/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | localtime_r.c | 43 localtime_r(const time_t *timer, struct tm *result) argument 47 return (localtime_s(result, timer) == 0)? result : NULL; 52 tm = localtime((time_t *)timer);
|
/freebsd-10.0-release/contrib/ntp/scripts/ |
H A D | freq_adj.in | 16 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-10.0-release/sys/dev/isci/scil/ |
H A D | scif_sas_timer.c | 85 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-10.0-release/crypto/openssl/crypto/ |
H A D | o_time.h | 64 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
|
/freebsd-10.0-release/tools/regression/kqueue/ |
H A D | Makefile | 13 timer.c \
|
/freebsd-10.0-release/lib/librt/ |
H A D | timer.c | 82 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 D | Makefile | 15 SRCS+= aio.c mq.c sigev_thread.c timer.c
|
/freebsd-10.0-release/sys/sys/ |
H A D | timers.h | 65 /* 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-10.0-release/lib/libc/isc/ |
H A D | ev_timers.c | 68 evTimer * timer; member in struct:__anon5401 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-10.0-release/sys/ofed/drivers/infiniband/hw/mthca/ |
H A D | mthca_catas.c | 34 #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-10.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | catas.c | 73 mod_timer(&priv->catas_err.timer, 88 mod_timer(&priv->catas_err.timer, 133 init_timer(&priv->catas_err.timer); 146 priv->catas_err.timer.data = (unsigned long) dev; 147 priv->catas_err.timer.function = poll_catas; 148 priv->catas_err.timer.expires = 150 add_timer(&priv->catas_err.timer); 157 del_timer_sync(&priv->catas_err.timer);
|
/freebsd-10.0-release/usr.sbin/IPXrouted/ |
H A D | Makefile | 6 SRCS= af.c if.c input.c main.c output.c startup.c tables.c timer.c trace.c
|
/freebsd-10.0-release/usr.sbin/rtadvd/ |
H A D | Makefile | 19 SRCS= rtadvd.c rrenum.c advcap.c if.c config.c timer.c timer_subr.c \
|
/freebsd-10.0-release/sys/mips/rmi/ |
H A D | pic.h | 223 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...] |
/freebsd-10.0-release/sys/kern/ |
H A D | kern_clocksource.c | 80 if (timer->et_flags & ET_FLAGS_PERCPU) \ 88 if (timer->et_flags & ET_FLAGS_PERCPU) \ 94 static struct eventtimer *timer = NULL; variable in typeref:struct:eventtimer 98 static sbintime_t nexttick; /* Next global timer tick time. */ 102 static char timername[32]; /* Wanted timer. */ 103 TUNABLE_STR("kern.eventtimer.timer", timername, sizeof(timername)); 120 struct mtx et_hw_mtx; /* Per-CPU timer mutex. */ 125 sbintime_t nexttick; /* Next timer tick time. */ 300 if ((timer->et_flags & ET_FLAGS_PERCPU) == 0) { 315 /* Hardware timer callbac [all...] |
/freebsd-10.0-release/contrib/libreadline/ |
H A D | parens.c | 119 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-10.0-release/usr.sbin/ppp/ |
H A D | cbcp.h | 57 struct pppTimer timer; /* Resend last option */ member in struct:cbcp::__anon11667
|
H A D | radius.h | 45 struct pppTimer timer; /* for this long */ member in struct:radius::__anon11725 75 struct pppTimer timer; /* for this long */ member in struct:radius::__anon11728
|
/freebsd-10.0-release/sys/mips/nlm/hal/ |
H A D | pic.h | 42 #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 */ 281 nlm_pic_read_timer(uint64_t base, int timer) argument 283 return nlm_read_pic_reg(base, PIC_TIMER_COUNT(timer)); 287 nlm_pic_write_timer(uint64_t base, int timer, uint64_t value) argument 289 nlm_write_pic_reg(base, PIC_TIMER_COUNT(timer), value); 293 nlm_pic_set_timer(uint64_t base, int timer, uint64_t value, int irq, int cpu) argument 305 nlm_write_pic_reg(base, PIC_TIMER_MAXVAL(timer), value); 306 nlm_pic_write_irt_direct(base, PIC_IRT_TIMER_INDEX(timer), [all...] |