Lines Matching refs:timer

1680  * stored for each timer after it was started.
1718 * added when the timer was started, and must be released before
1737 ("sctp_timeout_handler: invalid timer type %d", tmr->type));
1751 if (!SCTP_OS_TIMER_ACTIVE(&tmr->timer)) {
1785 if (SCTP_OS_TIMER_PENDING(&tmr->timer)) {
1791 if (!SCTP_OS_TIMER_ACTIVE(&tmr->timer)) {
1797 SCTP_OS_TIMER_DEACTIVATE(&tmr->timer);
1799 /* call the handler for the appropriate timer type */
1830 * wrong... so we start a timer on the first chunk
1919 * We consider T3 and Cookie timer pretty much the same with
1992 "Shutdown guard timer expired");
2069 panic("Unknown timer type %d", type);
2162 * Don't restart timer on association that's about to be
2172 /* Don't restart timer on net that's been removed. */
2182 /* Here we use the RTO timer. */
2200 * Here we use the INIT timer default usually about 1
2220 * Here we use the Delayed-Ack timer value from the inp,
2254 * though we use a different timer. We also add the HB timer
2297 * Here we can use the RTO timer from the network since one
2373 * Here the timer comes from the stcb but its value is from
2393 * Here we use the endpoints shutdown guard timer usually
2429 * Here the timer comes from the stcb but its value is from
2450 * timer since that has stopped and we are in the GONE
2503 panic("Unknown timer type %d", t_type);
2508 KASSERT(tmr != NULL, ("tmr is NULL for timer type %d", t_type));
2509 KASSERT(to_ticks > 0, ("to_ticks == 0 for timer type %d", t_type));
2510 if (SCTP_OS_TIMER_PENDING(&tmr->timer)) {
2536 if (SCTP_OS_TIMER_START(&tmr->timer, to_ticks, sctp_timeout_handler, tmr) == 0) {
2756 * timer since that has stopped and we are in the GONE
2804 panic("Unknown timer type %d", t_type);
2809 KASSERT(tmr != NULL, ("tmr is NULL for timer type %d", t_type));
2813 * Ok we have a timer that is under joint use. Cookie timer
2814 * per chance with the SEND timer. We therefore are NOT
2815 * running the timer that the caller wants stopped. So just
2819 "Shared timer type %d not running: inp=%p, stcb=%p, net=%p.\n",
2831 if (SCTP_OS_TIMER_STOP(&tmr->timer) == 1) {
2846 * If the timer was actually stopped, decrement reference
5435 /* make sure no timer is running */