Home
last modified time | relevance | path

Searched refs:callout (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/freebsd/sys/sys/
H A D_callout.h45 LIST_HEAD(callout_list, callout);
46 SLIST_HEAD(callout_slist, callout);
47 TAILQ_HEAD(callout_tailq, callout);
51 struct callout { struct
53 LIST_ENTRY(callout) le; argument
54 SLIST_ENTRY(callout) sle;
55 TAILQ_ENTRY(callout) tqe;
H A Dcallout.h85 void callout_init(struct callout *, int);
86 void _callout_init_lock(struct callout *, struct lock_object *, int);
94 int callout_reset_sbt_on(struct callout *, sbintime_t, sbintime_t,
115 int callout_schedule(struct callout *, int);
116 int callout_schedule_on(struct callout *, int, int);
120 int _callout_stop_safe(struct callout *, int);
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_hrtimer.c46 callout_schedule_sbt(&hrtimer->callout, in hrtimer_call_handler()
49 callout_deactivate(&hrtimer->callout); in hrtimer_call_handler()
59 ret = callout_active(&hrtimer->callout); in linux_hrtimer_active()
76 ret = callout_stop(&hrtimer->callout); in linux_hrtimer_try_to_cancel()
95 return (callout_drain(&hrtimer->callout) > 0); in linux_hrtimer_cancel()
105 callout_init_mtx(&hrtimer->callout, &hrtimer->mtx, 0); in linux_hrtimer_init()
128 callout_reset_sbt(&hrtimer->callout, nstosbt(ktime_to_ns(time)), in linux_hrtimer_start_range_ns()
138 callout_reset_sbt(&hrtimer->callout, nstosbt(ktime_to_ns(interval)), in linux_hrtimer_forward_now()
H A Dlinux_work.c246 callout_reset_on(&dwork->timer.callout, delay, in linux_queue_delayed_work_on()
249 callout_reset(&dwork->timer.callout, delay, in linux_queue_delayed_work_on()
336 callout_drain(&dwork->timer.callout); in linux_delayed_work_fn()
446 cancelled = (callout_stop(&dwork->timer.callout) == 1); in linux_cancel_timer()
451 callout_drain(&dwork->timer.callout); in linux_cancel_timer()
478 cancelled = (callout_stop(&dwork->timer.callout) == 1); in linux_cancel_delayed_work()
531 cancelled = (callout_stop(&dwork->timer.callout) == 1); in linux_cancel_delayed_work_sync_int()
537 callout_drain(&dwork->timer.callout); in linux_cancel_delayed_work_sync_int()
691 callout_init_mtx(&dwork->timer.callout, &dwork->timer.mtx, 0); in linux_init_delayed_work()
/freebsd/sys/amd64/vmm/io/
H A Dvatpit.c91 struct callout callout; member
149 struct callout *callout; in vatpit_callout_handler() local
154 callout = &c->callout; in vatpit_callout_handler()
160 if (callout_pending(callout)) /* callout was reset */ in vatpit_callout_handler()
163 if (!callout_active(callout)) /* callout was stopped */ in vatpit_callout_handler()
166 callout_deactivate(callout); in vatpit_callout_handler()
205 callout_reset_sbt(&c->callout, bttosbt(c->callout_bt), in pit_timer_start_cntr0()
455 callout_init(&vatpit->channel[i].callout, 1); in vatpit_init()
470 callout_drain(&vatpit->channel[i].callout); in vatpit_cleanup()
H A Dvhpet.c88 struct callout callout; member
283 struct callout *callout; in vhpet_handler() local
289 callout = &vhpet->timer[n].callout; in vhpet_handler()
295 if (callout_pending(callout)) /* callout was reset */ in vhpet_handler()
298 if (!callout_active(callout)) /* callout was stopped */ in vhpet_handler()
301 callout_deactivate(callout); in vhpet_handler()
319 callout_stop(&vhpet->timer[n].callout); in vhpet_stop_timer()
354 callout_reset_sbt(&vhpet->timer[n].callout, vhpet->timer[n].callout_sbt, in vhpet_start_timer()
734 callout_init(&vhpet->timer[i].callout, 1); in vhpet_init()
750 callout_drain(&vhpet->timer[i].callout); in vhpet_cleanup()
H A Dvrtc.c79 struct callout callout; member
529 if (callout_active(&vrtc->callout)) { in vrtc_callout_reset()
531 callout_stop(&vrtc->callout); in vrtc_callout_reset()
536 callout_reset_sbt(&vrtc->callout, freqsbt, 0, vrtc_callout_handler, in vrtc_callout_reset()
551 if (callout_pending(&vrtc->callout)) /* callout was reset */ in vrtc_callout_handler()
554 if (!callout_active(&vrtc->callout)) /* callout was stopped */ in vrtc_callout_handler()
557 callout_deactivate(&vrtc->callout); in vrtc_callout_handler()
584 active = callout_active(&vrtc->callout) ? 1 : 0; in vrtc_callout_check()
974 KASSERT(!callout_active(&vrtc->callout), ("rtc callout still active")); in vrtc_reset()
989 callout_init(&vrtc->callout, 1); in vrtc_init()
[all …]
/freebsd/sys/dev/sound/
H A Ddummy.c66 struct callout callout; member
111 callout_schedule(&sc->callout, 1); in dummy_chan_io()
202 callout_reset(&sc->callout, 1, dummy_chan_io, sc); in dummy_chan_trigger()
209 callout_stop(&sc->callout); in dummy_chan_trigger()
313 callout_init_mtx(&sc->callout, sc->lock, 0); in dummy_attach()
349 callout_drain(&sc->callout); in dummy_detach()
/freebsd/sys/kern/
H A Dkern_timeout.c144 struct callout *cc_curr;
165 struct callout *cc_next;
208 static void softclock_call_cc(struct callout *c, struct callout_cpu *cc,
341 callout_cpu_switch(struct callout *c, struct callout_cpu *cc, int new_cpu) in callout_cpu_switch()
431 struct callout *c, *next; in callout_process()
561 callout_lock(struct callout *c) in callout_lock()
585 callout_cc_add(struct callout *c, struct callout_cpu *cc, in callout_cc_add()
625 softclock_call_cc(struct callout *c, struct callout_cpu *cc, in softclock_call_cc()
834 struct callout *c; in softclock_thread()
939 callout_reset_sbt_on(struct callout *c, sbintime_t sbt, sbintime_t prec, in callout_reset_sbt_on()
[all …]
/freebsd/sys/dev/isci/
H A Disci_timer.c82 callout_reset_sbt(&isci_timer->callout, SBT_1MS * milliseconds, 0, in scif_cb_timer_start()
102 callout_stop(&isci_timer->callout); in scif_cb_timer_stop()
135 callout_init_mtx(&timer->callout, &isci_controller->lock, FALSE); in scif_cb_timer_create()
/freebsd/sys/dev/qat/qat_common/
H A Dadf_freebsd_dev_processes.c38 static struct callout callout; variable
387 callout_schedule(&callout, ADF_STATE_CALLOUT_TIME); in adf_state_callout_notify_ev()
426 callout_schedule(&callout, ADF_STATE_CALLOUT_TIME); in adf_state_set()
534 callout_init_mtx(&callout, &callout_mtx, 0); in adf_state_init()
539 callout_reset(&callout, in adf_state_init()
552 callout_stop(&callout); in adf_state_destroy()
595 callout_schedule(&callout, ADF_STATE_CALLOUT_TIME); in adf_state_open()
636 callout_schedule(&callout, ADF_STATE_CALLOUT_TIME); in adf_state_read()
/freebsd/sys/arm/ti/cpsw/
H A Dif_cpswvar.h114 struct callout callout; member
138 struct callout mii_callout;
/freebsd/sys/arm64/vmm/io/
H A Dvtimer.c191 callout_init_mtx(&vtimer_cpu->phys_timer.callout, in vtimer_cpuinit()
197 callout_init_mtx(&vtimer_cpu->virt_timer.callout, in vtimer_cpuinit()
208 callout_drain(&vtimer_cpu->phys_timer.callout); in vtimer_cpucleanup()
209 callout_drain(&vtimer_cpu->virt_timer.callout); in vtimer_cpucleanup()
298 callout_reset_sbt(&timer->callout, time, 0, in vtimer_schedule_irq()
301 callout_reset_sbt(&timer->callout, time, 0, in vtimer_schedule_irq()
315 callout_drain(&timer->callout); in vtimer_remove_irq()
/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.c61 if (callout_pending(&t->callout)) { in run_timer()
66 if (!callout_active(&t->callout)) { in run_timer()
71 callout_deactivate(&t->callout); in run_timer()
83 callout_init(&t->callout, 1); in vchiq_init_timer()
103 callout_reset(&t->callout, expires - jiffies, run_timer, t); in vchiq_mod_timer()
117 callout_stop(&t->callout); in vchiq_del_timer_sync()
/freebsd/sys/riscv/vmm/
H A Dvmm_vtimer.h39 struct callout callout; member
/freebsd/sys/netinet/
H A Dtcp_syncache.h101 struct callout sch_timer;
114 struct callout reseed;
135 struct callout pause_co;
/freebsd/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.h62 #define timer_list callout
272 struct callout OS_timer;
274 struct callout IO_timer;
276 struct callout devRmTimer;
388 struct callout tasklet_dpc[MAX_MSIX_NUM_DPC];
/freebsd/sys/net80211/
H A Dieee80211_dfs.h42 struct callout nol_timer; /* NOL list processing */
43 struct callout cac_timer; /* CAC timer */
/freebsd/sys/dev/ocs_fc/
H A Docs_os.c924 if (callout_pending(&timer->callout)) { in __ocs_callout()
929 if (!callout_active(&timer->callout)) { in __ocs_callout()
934 callout_deactivate(&timer->callout); in __ocs_callout()
956 callout_init_mtx(&timer->callout, &timer->lock, 0); in ocs_setup_timer()
971 callout_reset(&timer->callout, hz, __ocs_callout, timer); in ocs_setup_timer()
998 callout_reset(&timer->callout, hz, __ocs_callout, timer); in ocs_mod_timer()
1007 return callout_active(&timer->callout); in ocs_timer_pending()
1015 callout_stop(&timer->callout); in ocs_del_timer()
/freebsd/sys/dev/smc/
H A Dif_smcvar.h53 struct callout smc_watchdog;
57 struct callout smc_mii_tick_ch;
/freebsd/sys/dev/hyperv/utilities/
H A Dhv_snapshot.c249 struct callout callout; member
450 callout_drain(&reqp->callout); in hv_vss_daemon_acked()
460 callout_drain(&reqp->callout); in hv_vss_daemon_acked()
464 callout_drain(&reqp->callout); in hv_vss_daemon_acked()
509 callout_drain(&reqp->callout); in hv_vss_app_acked()
514 callout_drain(&reqp->callout); in hv_vss_app_acked()
710 memset(reqp, 0, __offsetof(hv_vss_req_internal, callout)); in hv_vss_init_req()
778 callout_reset(&reqp->callout, TIMEOUT_LIMIT * hz, in hv_vss_start_notify()
783 callout_reset(&reqp->callout, TIMEOUT_LIMIT * hz, in hv_vss_start_notify()
924 callout_init_mtx(&reqp->callout, &sc->pending_mutex, 0); in hv_vss_init_send_receive_queue()
/freebsd/sys/net/
H A Dpflow.h251 struct callout sc_tmo;
252 struct callout sc_tmo6;
253 struct callout sc_tmo_nat4;
254 struct callout sc_tmo_tmpl;
/freebsd/sys/dev/eqos/
H A Dif_eqos_var.h91 struct callout callout; member
/freebsd/sys/powerpc/pseries/
H A Dphyp_console.c59 struct callout callout; member
260 callout_init(&sc->callout, 1); in uart_phyp_attach()
264 callout_reset(&sc->callout, sc->polltime, uart_phyp_intr, sc); in uart_phyp_attach()
457 callout_reset(&sc->callout, sc->polltime, uart_phyp_intr, sc); in uart_phyp_intr()
/freebsd/sys/dev/wpi/
H A Dif_wpivar.h189 struct callout calib_to;
191 struct callout scan_timeout;
192 struct callout tx_timeout;
195 struct callout watchdog_rfkill;

12345678910>>...16