/freebsd-current/sys/kern/ |
H A D | kern_clocksource.c | 75 if (timer->et_flags & ET_FLAGS_PERCPU) \ 83 if (timer->et_flags & ET_FLAGS_PERCPU) \ 89 static struct eventtimer *timer = NULL; variable in typeref:struct:eventtimer 93 static sbintime_t nexttick; /* Next global timer tick time. */ 97 static char timername[32]; /* Wanted timer. */ 98 TUNABLE_STR("kern.eventtimer.timer", timername, sizeof(timername)); 113 struct mtx et_hw_mtx; /* Per-CPU timer mutex. */ 118 sbintime_t nexttick; /* Next timer tick time. */ 221 (timer->et_flags & ET_FLAGS_PERCPU)); 279 if ((timer [all...] |
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | evutil_time.c | 149 HANDLE timer; local 156 timer = CreateWaitableTimer(NULL, TRUE, NULL); 157 if (!timer) 160 SetWaitableTimer(timer, &li, 0, NULL, NULL, 0); 161 WaitForSingleObject(timer, INFINITE); 162 CloseHandle(timer); 268 evutil_monotonic_timer_free(struct evutil_monotonic_timer *timer) argument 270 if (timer) { 271 mm_free(timer); 279 evutil_configure_monotonic_time(struct evutil_monotonic_timer *timer, argument 289 evutil_gettime_monotonic(struct evutil_monotonic_timer *timer, struct timeval *tp) argument [all...] |
/freebsd-current/contrib/libevent/ |
H A D | evutil_time.c | 149 HANDLE timer; local 156 timer = CreateWaitableTimer(NULL, TRUE, NULL); 157 if (!timer) 160 SetWaitableTimer(timer, &li, 0, NULL, NULL, 0); 161 WaitForSingleObject(timer, INFINITE); 162 CloseHandle(timer); 268 evutil_monotonic_timer_free(struct evutil_monotonic_timer *timer) argument 270 if (timer) { 271 mm_free(timer); 279 evutil_configure_monotonic_time(struct evutil_monotonic_timer *timer, argument 289 evutil_gettime_monotonic(struct evutil_monotonic_timer *timer, struct timeval *tp) argument [all...] |
/freebsd-current/sys/compat/linuxkpi/common/src/ |
H A D | linux_work.c | 42 WORK_ST_TIMER, /* timer is being started */ 229 mtx_lock(&dwork->timer.mtx); 234 dwork->timer.expires = jiffies; 241 dwork->timer.expires = jiffies + delay; 246 callout_reset_on(&dwork->timer.callout, delay, 249 callout_reset(&dwork->timer.callout, delay, 259 mtx_unlock(&dwork->timer.mtx); 330 * Make sure the timer belonging to the delayed work gets 331 * drained before invoking the work function. Else the timer 336 callout_drain(&dwork->timer [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_sem.c | 222 struct itimerval timer; local 223 timer.it_interval.tv_sec = 0; 224 timer.it_interval.tv_usec = 0; 225 timer.it_value.tv_sec = 0; 226 timer.it_value.tv_usec = ms * 1000; 227 ATF_REQUIRE(setitimer(ITIMER_REAL, &timer, NULL) == 0);
|
/freebsd-current/sys/dev/qat/qat_common/ |
H A D | adf_gen4_timer.c | 12 /* Interval within timer interrupt. Value in miliseconds. */ 15 /* MAX Interval within timer interrupt. Value in miliseconds. */ 60 struct adf_int_timer *int_timer = from_timer(int_timer, tl, timer); 77 "Failed to alloc heartbeat timer data\n"); 112 timer_setup(&int_timer->timer, timer_handler, 0); 113 mod_timer(&int_timer->timer, timeout_val); 122 del_timer_sync(&accel_dev->int_timer->timer);
|
/freebsd-current/usr.sbin/ppp/ |
H A D | cbcp.h | 57 struct pppTimer timer; /* Resend last option */ member in struct:cbcp::__anon6713
|
H A D | radius.h | 45 struct pppTimer timer; /* for this long */ member in struct:radius::__anon6771 75 struct pppTimer timer; /* for this long */ member in struct:radius::__anon6774
|
H A D | lqr.c | 45 #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-current/crypto/openssl/crypto/ |
H A D | o_time.c | 14 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) argument 35 if (gmtime_r(timer, ts2) == NULL) 41 if (gmtime_r(timer, result) == NULL) 45 if (gmtime_s(result, timer)) 49 ts = gmtime(timer);
|
/freebsd-current/sys/powerpc/powermac/ |
H A D | powermac_thermal.c | 44 /* A 10 second timer for spinning down fans. */ 68 int timer; member in struct:pmac_fan_le 179 fan->timer = FAN_HYSTERESIS_TIMER; 182 fan->timer--; 183 if (fan->timer == 0) { 185 fan->timer = FAN_HYSTERESIS_TIMER;
|
/freebsd-current/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_catas.c | 251 mod_timer(&priv->catas_err.timer, 275 init_timer(&priv->catas_err.timer); 291 priv->catas_err.timer.data = (unsigned long) dev; 292 priv->catas_err.timer.function = poll_catas; 293 priv->catas_err.timer.expires = 295 add_timer(&priv->catas_err.timer); 302 del_timer_sync(&priv->catas_err.timer);
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestDrop.java | 52 final Timer timer = new Timer(); 53 timer.schedule(new TimerTask() { 56 timer.cancel();
|
/freebsd-current/sys/dev/isci/scil/ |
H A D | scic_sds_port_configuration_agent.h | 101 void *timer; member in struct:SCIC_SDS_PORT_CONFIGURATION_AGENT
|
H A D | sati_mode_select.c | 599 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 D | scic_sds_port_configuration_agent.c | 417 * 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-current/usr.sbin/rtsold/ |
H A D | dump.c | 78 fprintf(fp, " probe timer: %d\n", ifi->probetimer); 81 fprintf(fp, " no probe timer\n"); 94 if (ifi->timer.tv_sec == tm_max.tv_sec && 95 ifi->timer.tv_nsec == tm_max.tv_nsec) 96 fprintf(fp, " no timer\n"); 98 fprintf(fp, " timer: interval=%d:%d, expire=%s\n", 99 (int)ifi->timer.tv_sec, 100 (int)ifi->timer.tv_nsec / 1000,
|
H A D | rtsold.c | 565 warnmsg(LOG_DEBUG, __func__, "timer expiration on %s, " 610 ifi->timer.tv_sec) <= 0) { 611 /* probe timer expired */ 662 "RA expiration timer: " 669 "RA expiration timer: " 688 warnmsg(LOG_DEBUG, __func__, "there is no timer"); 698 warnmsg(LOG_DEBUG, __func__, "New timer is %s", 712 bzero(&ifi->timer, sizeof(ifi->timer)); 719 ifi->timer [all...] |
/freebsd-current/lib/librt/ |
H A D | Makefile | 17 SRCS+= aio.c mq.c sigev_thread.c timer.c
|
/freebsd-current/sys/contrib/openzfs/etc/ |
H A D | Makefile.am | 59 %D%/systemd/system/zfs-scrub-monthly@.timer \ 60 %D%/systemd/system/zfs-scrub-weekly@.timer \ 62 %D%/systemd/system/zfs-trim-monthly@.timer \ 63 %D%/systemd/system/zfs-trim-weekly@.timer \
|
/freebsd-current/sys/net/ |
H A D | ieee8023ad_lacp.h | 42 #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-current/usr.bin/grdc/ |
H A D | grdc.c | 5 * Flags: -c: Countdown timer mode 12 * 02-18-02 added countdown timer mode 66 bool scrol = false, t12 = false, timer = false; local 72 timer = true; 88 if ((argc > 1) || (argc == 0 && timer)) { 103 if (timer && n == 0) 150 if (timer) { 156 if (!timer) {
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_acts.c | 204 int timer; /* timeout counter */ member in struct:actsunit 235 acts_timer /* housekeeping timer */ 410 up->timer = ANSWER; 425 up->timer = TIMECODE; 531 up->timer = TIMECODE; 545 up->timer = SETUP; 616 up->timer = REDIAL; 621 up->timer = 0; 695 * called. If flag1 is set while timer is zero, force a call. 699 if (up->timer [all...] |
/freebsd-current/sys/dev/hpt27xx/ |
H A D | ldm.h | 174 #define ldm_init_timer(timer) do { (timer)->next=0; (timer)->pprev=0; } while (0) 176 #define INIT_TIMER_CALL(timer, _interval, _proc, _arg) \ 178 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\ 179 (timer)->interval = _interval;\ 180 (timer)->proc = _proc;\ 181 (timer)->arg = _arg;\
|
/freebsd-current/sys/dev/hptnr/ |
H A D | ldm.h | 174 #define ldm_init_timer(timer) do { (timer)->next=0; (timer)->pprev=0; } while (0) 176 #define INIT_TIMER_CALL(timer, _interval, _proc, _arg) \ 178 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\ 179 (timer)->interval = _interval;\ 180 (timer)->proc = _proc;\ 181 (timer)->arg = _arg;\
|