Home
last modified time | relevance | path

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

12345678910>>...16

/src/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);
/src/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.c253 callout_reset_on(&dwork->timer.callout, delay, in linux_queue_delayed_work_on()
256 callout_reset(&dwork->timer.callout, delay, in linux_queue_delayed_work_on()
343 callout_drain(&dwork->timer.callout); in linux_delayed_work_fn()
453 cancelled = (callout_stop(&dwork->timer.callout) == 1); in linux_cancel_timer()
458 callout_drain(&dwork->timer.callout); in linux_cancel_timer()
485 cancelled = (callout_stop(&dwork->timer.callout) == 1); in linux_cancel_delayed_work()
538 cancelled = (callout_stop(&dwork->timer.callout) == 1); in linux_cancel_delayed_work_sync_int()
544 callout_drain(&dwork->timer.callout); in linux_cancel_delayed_work_sync_int()
698 callout_init_mtx(&dwork->timer.callout, &dwork->timer.mtx, 0); in linux_init_delayed_work()
/src/sys/compat/linuxkpi/common/include/linux/
H A Dtimer.h39 struct callout callout; member
64 callout_init(&(timer)->callout, 1); \
70 callout_init(&(timer)->callout, 1); \
81 callout_init(&(timer)->callout, 1); \
104 #define timer_pending(timer) callout_pending(&(timer)->callout)
/src/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.c90 struct callout callout; member
285 struct callout *callout; in vhpet_handler() local
291 callout = &vhpet->timer[n].callout; in vhpet_handler()
297 if (callout_pending(callout)) /* callout was reset */ in vhpet_handler()
300 if (!callout_active(callout)) /* callout was stopped */ in vhpet_handler()
303 callout_deactivate(callout); in vhpet_handler()
321 callout_stop(&vhpet->timer[n].callout); in vhpet_stop_timer()
356 callout_reset_sbt(&vhpet->timer[n].callout, vhpet->timer[n].callout_sbt, in vhpet_start_timer()
736 callout_init(&vhpet->timer[i].callout, 1); in vhpet_init()
752 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 …]
/src/sys/netinet/
H A Dtcp_hpts_internal.h90 void (*callout_init)(struct callout *c, int mpsafe);
91 int (*callout_reset_sbt_on)(struct callout *c, sbintime_t sbt,
94 int (*_callout_stop_safe)(struct callout *c, int flags);
147 struct callout co __aligned(CACHE_LINE_SIZE);
H A Dtcp_syncache.h102 struct callout sch_timer;
115 struct callout reseed;
136 struct callout pause_co;
/src/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 …]
/src/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()
/src/sys/dev/sound/
H A Ddummy.c69 struct callout callout; member
125 callout_schedule(&sc->callout, 1); in dummy_chan_io()
220 callout_reset(&sc->callout, 1, dummy_chan_io, sc); in dummy_chan_trigger()
227 callout_stop(&sc->callout); in dummy_chan_trigger()
365 callout_init_mtx(&sc->callout, &sc->lock, 0); in dummy_attach()
414 callout_drain(&sc->callout); in dummy_detach()
/src/sys/dev/qat/qat_common/
H A Dadf_freebsd_dev_processes.c37 static struct callout callout; variable
387 callout_schedule(&callout, ADF_STATE_CALLOUT_TIME); in adf_state_callout_notify_ev()
415 callout_schedule(&callout, ADF_STATE_CALLOUT_TIME); in adf_state_set()
523 callout_init_mtx(&callout, &callout_mtx, 0); in adf_state_init()
528 callout_reset(&callout, in adf_state_init()
542 callout_stop(&callout); in adf_state_destroy()
584 callout_schedule(&callout, ADF_STATE_CALLOUT_TIME); in adf_state_open()
625 callout_schedule(&callout, ADF_STATE_CALLOUT_TIME); in adf_state_read()
/src/sys/arm/ti/cpsw/
H A Dif_cpswvar.h114 struct callout callout; member
138 struct callout mii_callout;
/src/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.c60 if (callout_pending(&t->callout)) { in run_timer()
65 if (!callout_active(&t->callout)) { in run_timer()
70 callout_deactivate(&t->callout); in run_timer()
82 callout_init(&t->callout, 1); in vchiq_init_timer()
102 callout_reset(&t->callout, expires - jiffies, run_timer, t); in vchiq_mod_timer()
116 callout_stop(&t->callout); in vchiq_del_timer_sync()
/src/sys/riscv/vmm/
H A Dvmm_vtimer.h39 struct callout callout; member
/src/sys/arm64/vmm/io/
H A Dvtimer.c226 callout_init_mtx(&vtimer_cpu->phys_timer.callout, in vtimer_cpuinit()
232 callout_init_mtx(&vtimer_cpu->virt_timer.callout, in vtimer_cpuinit()
243 callout_drain(&vtimer_cpu->phys_timer.callout); in vtimer_cpucleanup()
244 callout_drain(&vtimer_cpu->virt_timer.callout); in vtimer_cpucleanup()
343 callout_reset_sbt(&timer->callout, time, 0, in vtimer_schedule_irq()
346 callout_reset_sbt(&timer->callout, time, 0, in vtimer_schedule_irq()
360 callout_drain(&timer->callout); in vtimer_remove_irq()
/src/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];
/src/sys/net80211/
H A Dieee80211_dfs.h42 struct callout nol_timer; /* NOL list processing */
43 struct callout cac_timer; /* CAC timer */
/src/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()
/src/sys/dev/smc/
H A Dif_smcvar.h53 struct callout smc_watchdog;
57 struct callout smc_mii_tick_ch;
/src/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;
/src/sys/dev/eqos/
H A Dif_eqos_var.h98 struct callout callout; member
/src/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()

12345678910>>...16