Home
last modified time | relevance | path

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

12345678910>>...18

/freebsd-12-stable/contrib/amd/amd/
Dclock.c59 typedef struct callout callout; typedef
60 struct callout { struct
61 callout *c_next; /* List of callouts */ argument
68 static callout callouts; /* List of pending callouts */ argument
69 static callout *free_callouts; /* Cache of free callouts */
88 static callout *
91 callout *cp = free_callouts; in alloc_callout()
98 return ALLOC(struct callout); in alloc_callout()
103 free_callout(callout *cp) in free_callout()
123 callout *cp, *cp2; in timeout()
[all …]
Damfs_generic.c78 int callout; /* Callout identifier */ member
653 if (cp->callout) in free_continuation()
654 untimeout(cp->callout); in free_continuation()
845 if (cp->callout) { in amfs_bgmount()
846 untimeout(cp->callout); in amfs_bgmount()
847 cp->callout = 0; in amfs_bgmount()
877 if (cp->callout) in amfs_bgmount()
878 untimeout(cp->callout); in amfs_bgmount()
879 cp->callout = timeout(RETRY_INTERVAL, wakeup, in amfs_bgmount()
1105 cp->callout = 0; in amfs_generic_mount_child()
/freebsd-12-stable/sys/sys/
D_callout.h47 LIST_HEAD(callout_list, callout);
48 SLIST_HEAD(callout_slist, callout);
49 TAILQ_HEAD(callout_tailq, callout);
53 struct callout { struct
55 LIST_ENTRY(callout) le; argument
56 SLIST_ENTRY(callout) sle;
57 TAILQ_ENTRY(callout) tqe;
Dcallout.h66 struct callout *callout; member
94 void callout_init(struct callout *, int);
95 void _callout_init_lock(struct callout *, struct lock_object *, int);
106 int callout_reset_sbt_on(struct callout *, sbintime_t, sbintime_t,
127 int callout_schedule(struct callout *, int);
128 int callout_schedule_on(struct callout *, int, int);
132 int _callout_stop_safe(struct callout *, int, void (*)(void *));
/freebsd-12-stable/sys/compat/linuxkpi/common/src/
Dlinux_hrtimer.c49 callout_schedule_sbt(&hrtimer->callout, in hrtimer_call_handler()
52 callout_deactivate(&hrtimer->callout); in hrtimer_call_handler()
62 ret = callout_active(&hrtimer->callout); in linux_hrtimer_active()
76 return (callout_drain(&hrtimer->callout) > 0); in linux_hrtimer_cancel()
86 callout_init_mtx(&hrtimer->callout, &hrtimer->mtx, 0); in linux_hrtimer_init()
109 callout_reset_sbt(&hrtimer->callout, nstosbt(ktime_to_ns(time)), in linux_hrtimer_start_range_ns()
119 callout_reset_sbt(&hrtimer->callout, nstosbt(ktime_to_ns(interval)), in linux_hrtimer_forward_now()
Dlinux_work.c243 callout_reset_on(&dwork->timer.callout, delay, in linux_queue_delayed_work_on()
248 callout_reset(&dwork->timer.callout, delay, in linux_queue_delayed_work_on()
331 callout_drain(&dwork->timer.callout); in linux_delayed_work_fn()
409 cancelled = (callout_stop(&dwork->timer.callout) == 1); in linux_cancel_timer()
414 callout_drain(&dwork->timer.callout); in linux_cancel_timer()
639 callout_init_mtx(&dwork->timer.callout, &dwork->timer.mtx, 0); in linux_init_delayed_work()
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/
Dtimer.h41 struct callout callout; member
61 callout_init(&(timer)->callout, 1); \
67 callout_init(&(timer)->callout, 1); \
78 callout_init(&(timer)->callout, 1); \
87 #define timer_pending(timer) callout_pending(&(timer)->callout)
Dhrtimer.h50 struct callout callout; member
/freebsd-12-stable/sys/amd64/vmm/io/
Dvatpit.c90 struct callout callout; member
148 struct callout *callout; in vatpit_callout_handler() local
153 callout = &c->callout; in vatpit_callout_handler()
159 if (callout_pending(callout)) /* callout was reset */ in vatpit_callout_handler()
162 if (!callout_active(callout)) /* callout was stopped */ in vatpit_callout_handler()
165 callout_deactivate(callout); in vatpit_callout_handler()
204 callout_reset_sbt(&c->callout, bttosbt(c->callout_bt), in pit_timer_start_cntr0()
456 callout_init(&vatpit->channel[i].callout, 1); in vatpit_init()
471 callout_drain(&vatpit->channel[i].callout); in vatpit_cleanup()
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()
Dvrtc.c77 struct callout callout; member
527 if (callout_active(&vrtc->callout)) { in vrtc_callout_reset()
529 callout_stop(&vrtc->callout); in vrtc_callout_reset()
534 callout_reset_sbt(&vrtc->callout, freqsbt, 0, vrtc_callout_handler, in vrtc_callout_reset()
549 if (callout_pending(&vrtc->callout)) /* callout was reset */ in vrtc_callout_handler()
552 if (!callout_active(&vrtc->callout)) /* callout was stopped */ in vrtc_callout_handler()
555 callout_deactivate(&vrtc->callout); in vrtc_callout_handler()
582 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-12-stable/sys/kern/
Dkern_timeout.c146 struct callout *cc_curr;
166 struct callout *cc_next;
167 struct callout *cc_callout;
209 static void softclock_call_cc(struct callout *c, struct callout_cpu *cc,
307 cc->cc_callout = malloc(ncallout * sizeof(struct callout), in callout_callwheel_init()
319 struct callout *c; in callout_cpu_init()
353 callout_cpu_switch(struct callout *c, struct callout_cpu *cc, int new_cpu) in callout_cpu_switch()
443 struct callout *tmp, *tmpn; in callout_process()
568 callout_lock(struct callout *c) in callout_lock()
592 callout_cc_add(struct callout *c, struct callout_cpu *cc, in callout_cc_add()
[all …]
/freebsd-12-stable/sys/netinet/
Dtcp_timer.h150 struct callout tt_rexmt; /* retransmit timer */
151 struct callout tt_persist; /* retransmit persistence */
152 struct callout tt_keep; /* keepalive */
153 struct callout tt_2msl; /* 2*msl TIME_WAIT timer */
154 struct callout tt_delack; /* delayed ACK timer */
/freebsd-12-stable/sys/dev/isci/
Disci_timer.c84 callout_reset_sbt(&isci_timer->callout, SBT_1MS * milliseconds, 0, in scif_cb_timer_start()
104 callout_stop(&isci_timer->callout); in scif_cb_timer_stop()
137 callout_init_mtx(&timer->callout, &isci_controller->lock, FALSE); in scif_cb_timer_create()
/freebsd-12-stable/sys/net/
Dif_sppp.h159 struct callout ch[IDX_COUNT]; /* per-proto and if callouts */
160 struct callout pap_my_to_ch; /* PAP needs one more... */
161 struct callout keepalive_callout; /* keepalive callout */
204 struct callout ifstart_callout; /* if_start () scheduler */
/freebsd-12-stable/sys/contrib/vchiq/interface/compat/
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 init_timer()
103 callout_reset(&t->callout, expires - jiffies, run_timer, t); in mod_timer()
117 callout_stop(&t->callout); in del_timer_sync()
/freebsd-12-stable/sys/arm/ti/cpsw/
Dif_cpswvar.h116 struct callout callout; member
140 struct callout mii_callout;
/freebsd-12-stable/sys/dev/pms/freebsd/driver/ini/src/
Dagtiapi.h63 #define timer_list callout
273 struct callout OS_timer;
275 struct callout IO_timer;
277 struct callout devRmTimer;
389 struct callout tasklet_dpc[MAX_MSIX_NUM_DPC];
/freebsd-12-stable/sys/dev/ocs_fc/
Docs_os.c926 if (callout_pending(&timer->callout)) { in __ocs_callout()
931 if (!callout_active(&timer->callout)) { in __ocs_callout()
936 callout_deactivate(&timer->callout); in __ocs_callout()
958 callout_init_mtx(&timer->callout, &timer->lock, 0); in ocs_setup_timer()
973 callout_reset(&timer->callout, hz, __ocs_callout, timer); in ocs_setup_timer()
1000 callout_reset(&timer->callout, hz, __ocs_callout, timer); in ocs_mod_timer()
1009 return callout_active(&timer->callout); in ocs_timer_pending()
1017 callout_stop(&timer->callout); in ocs_del_timer()
/freebsd-12-stable/sys/net80211/
Dieee80211_dfs.h44 struct callout nol_timer; /* NOL list processing */
45 struct callout cac_timer; /* CAC timer */
/freebsd-12-stable/sys/powerpc/pseries/
Dphyp_console.c60 struct callout callout; member
261 callout_init(&sc->callout, 1); in uart_phyp_attach()
265 callout_reset(&sc->callout, sc->polltime, uart_phyp_intr, sc); in uart_phyp_attach()
433 callout_reset(&sc->callout, sc->polltime, uart_phyp_intr, sc); in uart_phyp_intr()
/freebsd-12-stable/sys/dev/smc/
Dif_smcvar.h55 struct callout smc_watchdog;
59 struct callout smc_mii_tick_ch;
/freebsd-12-stable/sys/dev/hyperv/utilities/
Dhv_snapshot.c252 struct callout callout; member
453 callout_drain(&reqp->callout); in hv_vss_daemon_acked()
463 callout_drain(&reqp->callout); in hv_vss_daemon_acked()
467 callout_drain(&reqp->callout); in hv_vss_daemon_acked()
512 callout_drain(&reqp->callout); in hv_vss_app_acked()
517 callout_drain(&reqp->callout); in hv_vss_app_acked()
713 memset(reqp, 0, __offsetof(hv_vss_req_internal, callout)); in hv_vss_init_req()
781 callout_reset(&reqp->callout, TIMEOUT_LIMIT * hz, in hv_vss_start_notify()
786 callout_reset(&reqp->callout, TIMEOUT_LIMIT * hz, in hv_vss_start_notify()
927 callout_init_mtx(&reqp->callout, &sc->pending_mutex, 0); in hv_vss_init_send_receive_queue()
/freebsd-12-stable/sys/dev/wpi/
Dif_wpivar.h190 struct callout calib_to;
192 struct callout scan_timeout;
193 struct callout tx_timeout;
196 struct callout watchdog_rfkill;
/freebsd-12-stable/sys/dev/xen/console/
Dxen_console.c102 struct callout callout; member
674 callout_reset(&cons->callout, XC_POLLTIME, in xencons_timeout()
685 callout_stop(&cons->callout); in xencons_tty_outwakeup()
688 callout_reset(&cons->callout, XC_POLLTIME, in xencons_tty_outwakeup()
736 callout_init_mtx(&cons->callout, tty_getlock(tp), 0); in xencons_attach()

12345678910>>...18