Searched refs:timer (Results 126 - 150 of 272) sorted by relevance

1234567891011

/freebsd-11-stable/sys/dev/pdq/
H A Dpdq_ifsubr.c130 if (sc->timer == 0 || --sc->timer > 0)
159 if (sc->timer == 0)
160 sc->timer = PDQ_OS_TX_TIMEOUT;
275 sc->timer = PDQ_OS_TX_TIMEOUT;
279 sc->timer = 0;
/freebsd-11-stable/sys/dev/isci/scil/
H A Dscif_sas_domain.c244 // with the remote device timer and the domain timer.
580 fw_domain->operation.timer = NULL;
736 // Create the timer for each domain. It is too early in the process
739 if (fw_domain->operation.timer == 0)
741 fw_domain->operation.timer = scif_cb_timer_create(
1401 if (fw_domain->operation.timer != NULL)
1403 scif_cb_timer_destroy(fw_controller, fw_domain->operation.timer);
1404 fw_domain->operation.timer = NULL;
/freebsd-11-stable/sys/dev/mcd/
H A Dmcd.c210 callout_init_mtx(&sc->timer, &sc->mtx, 0);
847 callout_reset(&sc->timer, hz/100, mcd_timeout, sc); /* XXX */
851 callout_stop(&sc->timer);
855 callout_reset(&sc->timer, hz/100,
893 callout_reset(&sc->timer, hz / 100, mcd_timeout, sc); /* XXX */
902 callout_stop(&sc->timer);
909 callout_reset(&sc->timer, hz / 100, mcd_timeout, sc);
955 callout_reset(&sc->timer, hz / 100, mcd_timeout, sc); /* XXX */
959 callout_stop(&sc->timer);
1004 callout_reset(&sc->timer, h
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_util.c1285 struct evutil_monotonic_timer timer; local
1317 tt_int_op(evutil_configure_monotonic_time_(&timer, flags), ==, 0);
1320 evutil_gettime_monotonic_(&timer, &tv[i]);
1342 struct evutil_monotonic_timer timer; local
1354 tt_int_op(evutil_configure_monotonic_time_(&timer, flags), ==, 0);
1358 evutil_gettime_monotonic_(&timer, &tv[0]);
1361 evutil_gettime_monotonic_(&timer, &tv[i]);
/freebsd-11-stable/sys/dev/advansys/
H A Dadvansys.c171 callout_reset_sbt(&cinfo->timer,
568 callout_reset_sbt(&cinfo->timer, SBT_1MS * ccb_h->timeout, 0,
580 callout_init_mtx(&cinfo->timer, &adv->lock, 0);
596 callout_drain(&cinfo->timer);
643 callout_stop(&cinfo2->timer);
654 callout_reset(&cinfo->timer, 2 * hz, adv_timeout, ccb);
1086 callout_stop(&cinfo->timer);
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_cm.c158 if (callout_pending(&ep->timer)) {
159 CTR2(KTR_IW_CXGB, "%s stopped / restarted timer ep %p", __FUNCTION__, ep);
160 callout_deactivate(&ep->timer);
161 callout_drain(&ep->timer);
167 callout_init(&ep->timer, 1);
169 callout_reset(&ep->timer, ep_timeout_secs * hz, ep_timeout, ep);
176 if (!callout_pending(&ep->timer)) {
177 CTR3(KTR_IW_CXGB, "%s timer stopped when its not running! ep %p state %u\n",
181 callout_drain(&ep->timer);
571 * Stop mpa timer
[all...]
H A Diw_cxgb_cm.h173 struct callout timer; member in struct:iwch_ep
H A Diw_cxgb_provider.h165 struct callout timer; member in struct:iwch_qp
/freebsd-11-stable/sys/dev/aic/
H A Daic.c322 callout_reset_sbt(&scb->timer, SBT_1MS * ccb->ccb_h.timeout, 0,
1048 callout_stop(&scb->timer);
1078 callout_reset_sbt(&pending_scb->timer,
1097 callout_reset_sbt(&nexus_scb->timer,
1152 callout_stop(&pending_scb->timer);
1157 callout_stop(&pending_scb->timer);
1161 callout_reset(&scb->timer, 5 * hz, aic_timeout, scb);
1484 callout_init_mtx(&scb->timer, &aic->lock, 0);
1595 callout_drain(&scb->timer);
/freebsd-11-stable/sys/netgraph/
H A Dng_bridge.c97 u_int16_t loopCount; /* loop ignore timer */
112 struct callout timer; /* one second periodic timer */ member in struct:ng_bridge_private
315 ng_callout_init(&priv->timer);
339 /* Start timer; timer is always running while node is alive */
340 ng_callout(&priv->timer, node, NULL, hz, ng_bridge_timeout, NULL, 0);
770 * Shut down everything including the timer. Even if the
779 ng_uncallout(&priv->timer, node);
1038 ng_callout(&priv->timer, nod
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dtxg.c491 uint64_t timer; local
499 timer = (delta >= timeout ? 0 : timeout - delta);
501 !tx->tx_exiting && timer > 0 &&
507 txg_thread_wait(tx, &cpr, &tx->tx_sync_more_cv, timer);
509 timer = (delta > timeout ? 0 : timeout - delta);
/freebsd-11-stable/sys/dev/cs/
H A Dif_cs.c476 callout_init_mtx(&sc->timer, &sc->lock, 0);
592 callout_drain(&sc->timer);
622 * reset watchdog timer
678 callout_reset(&sc->timer, hz, cs_watchdog, sc);
923 * Set the watchdog timer in case we never hear
949 callout_stop(&sc->timer);
1127 callout_reset(&sc->timer, hz, cs_watchdog, sc);
/freebsd-11-stable/sys/dev/ex/
H A Dif_ex.c245 callout_init_mtx(&sc->timer, &sc->lock, 0);
296 callout_drain(&sc->timer);
391 callout_reset(&sc->timer, hz, ex_watchdog, sc);
613 callout_stop(&sc->timer);
994 callout_reset(&sc->timer, hz, ex_watchdog, sc);
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_generic.c151 struct timer_list timer; member in struct:rate_context
176 r = mod_timer(&ctx->timer, jiffies +
290 del_timer(&rate_ctx.timer);
393 setup_timer(&rate_ctx.timer, &rate_callback, (unsigned long)&rate_ctx);
394 if (mod_timer(&rate_ctx.timer, jiffies + msecs_to_jiffies(1500))) {
703 /* Here we could schedule a timer which
845 * pending timer, otherwise pass it up and start a timer.
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c432 mod_timer(&cq->timer, jiffies + 1);
448 mod_timer(&cq->timer, jiffies + MLX4_EN_TX_POLL_TIMEOUT);
454 /* If there are still packets in flight and the timer has not already
458 mod_timer(&cq->timer, jiffies + MLX4_EN_TX_POLL_TIMEOUT);
471 /* If we don't have a pending timer, set one up to catch our recent
473 if (!timer_pending(&cq->timer))
474 mod_timer(&cq->timer, jiffies + MLX4_EN_TX_POLL_TIMEOUT);
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stats.h46 * \brief flags to describe the statistic (timer or counter)
125 * \details A timer collects multiple samples of some count in each thread and
129 * hence the name "timer". (But can be any value, so we use this for "number of
239 // KMP_icv_copy -- start/stop timer for any ICV copying
283 * \details Explicit timers are ones where we need to allocate a timer itself
286 * allocate the timer itself on the stack, and use the destructor to notice
288 * same as that of a timer above.
476 // Where we need explicitly to start and end the timer, this version can be used
518 void init(explicitTimer timer);
519 void exchange(explicitTimer timer);
531 blockPartitionedTimer(partitionedTimers *pt, explicitTimer timer) argument
[all...]
/freebsd-11-stable/contrib/unbound/util/
H A Dnetevent.c128 * Internal timer structure, to store timer event in.
137 /** is timer enabled */
4168 comm_timer_disable(struct comm_timer* timer) argument
4170 if(!timer)
4172 ub_timer_del(timer->ev_timer->ev);
4173 timer->ev_timer->enabled = 0;
4177 comm_timer_set(struct comm_timer* timer, struct timeval* tv) argument
4180 if(timer->ev_timer->enabled)
4181 comm_timer_disable(timer);
4189 comm_timer_delete(struct comm_timer* timer) argument
4214 comm_timer_is_set(struct comm_timer* timer) argument
[all...]
/freebsd-11-stable/sbin/camcontrol/
H A Depc.c123 { "timer", ATA_SF_EPC_SET_TIMER },
142 int power_cond, int timer, int enable, int save,
173 printf("%sDefault timer setting: %.1f sec\n", prefix,
175 printf("%sSaved timer setting: %.1f sec\n", prefix,
177 printf("%sCurrent timer setting: %.1f sec\n", prefix,
181 printf("%sMinimum timer: %.1f sec\n", prefix,
183 printf("%sMaximum timer: %.1f sec\n", prefix,
525 int power_cond, int timer, int enable, int save,
538 lba |= ((timer << ATA_SF_EPC_TIMER_SHIFT) &
741 warnx("Invalid timer valu
523 epc_set_features(struct cam_device *device, camcontrol_devtype devtype, union ccb *ccb, int retry_count, int timeout, int action, int power_cond, int timer, int enable, int save, int delayed_entry, int hold, int power_src, int restore_src) argument
[all...]
/freebsd-11-stable/sys/dev/ips/
H A Dips.c337 callout_reset(&sc->timer, 10 * hz, ips_timeout, sc);
423 callout_reset(&sc->timer, 10 * hz, ips_timeout, sc);
498 callout_drain(&sc->timer);
/freebsd-11-stable/contrib/libpcap/msdos/
H A Dmakefile.dj36 lock.o kmalloc.o quirks.o timer.o net_init.o)
/freebsd-11-stable/contrib/unbound/services/
H A Doutside_network.c192 if(w->timer)
193 comm_timer_delete(w->timer);
539 /* set timer on the waiting_tcp entry, this is the write timeout
540 * for the written packet. The timer on pend->c is the timer
547 * outside_network.tcpwaitlist, then the timer is reset now that
549 comm_timer_set(w->timer, &tv);
746 comm_timer_disable(w->timer);
754 /* stop the timer on read of the fd */
793 comm_timer_set(w->timer,
[all...]
H A Dmesh.c438 /* In case this timer already popped, start it again */
439 if(!mstate->s.serve_expired_data->timer) {
440 mstate->s.serve_expired_data->timer = comm_timer_create(
442 if(!mstate->s.serve_expired_data->timer)
448 comm_timer_set(mstate->s.serve_expired_data->timer, &t);
557 /* add serve expired timer if required and not already there */
659 /* add serve expired timer if not already there */
871 /* Stop and delete the serve expired timer */
872 if(mstate->s.serve_expired_data && mstate->s.serve_expired_data->timer) {
873 comm_timer_delete(mstate->s.serve_expired_data->timer);
[all...]
/freebsd-11-stable/contrib/ngatm/libngatm/
H A Dsscopcust.h87 (S)->timer##T, T##_func); \
/freebsd-11-stable/sys/arm/amlogic/aml8726/
H A Daml8726_timer.c29 * Amlogic aml8726 timer driver.
31 * 16 bit Timer A is used for the event timer / hard clock.
91 "timer", MTX_SPIN)
229 if (!ofw_bus_is_compatible(dev, "amlogic,meson6-timer"))
232 device_set_desc(dev, "Amlogic aml8726 timer");
254 * Disable the timers, select the input for each timer,
255 * clear timer E, and then enable timer E.
285 sc->et.et_name = "aml8726 timer A";
298 sc->tc.tc_name = "aml8726 timer
[all...]
/freebsd-11-stable/sys/arm/cavium/cns11xx/
H A Dtimer.c142 * Setup timer
176 * Enable timer
201 * Get timer interrupt status
211 * Clear timer interrupt status
250 * Setup timer
258 * setup timer-related values
308 /*clear timer interrupt status*/
360 device_printf(dev, "could not setup timer interrupt\n");
374 "timer",
381 DRIVER_MODULE(timer, econaar
[all...]

Completed in 216 milliseconds

1234567891011