Lines Matching refs:timer
1680 * stored for each timer after it was started.
1719 * added when the timer was started, and must be released before
1739 ("sctp_timeout_handler: invalid timer type %d", tmr->type));
1753 if (!SCTP_OS_TIMER_ACTIVE(&tmr->timer)) {
1787 if (SCTP_OS_TIMER_PENDING(&tmr->timer)) {
1793 if (!SCTP_OS_TIMER_ACTIVE(&tmr->timer)) {
1799 SCTP_OS_TIMER_DEACTIVATE(&tmr->timer);
1801 /* call the handler for the appropriate timer type */
1832 * wrong... so we start a timer on the first chunk
1921 * We consider T3 and Cookie timer pretty much the same with
1994 "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
2304 * Here we can use the RTO timer from the network since one
2380 * Here the timer comes from the stcb but its value is from
2400 * Here we use the endpoints shutdown guard timer usually
2436 * Here the timer comes from the stcb but its value is from
2457 * timer since that has stopped and we are in the GONE
2510 panic("Unknown timer type %d", t_type);
2515 KASSERT(tmr != NULL, ("tmr is NULL for timer type %d", t_type));
2516 KASSERT(to_ticks > 0, ("to_ticks == 0 for timer type %d", t_type));
2517 if (SCTP_OS_TIMER_PENDING(&tmr->timer)) {
2543 if (SCTP_OS_TIMER_START(&tmr->timer, to_ticks, sctp_timeout_handler, tmr) == 0) {
2763 * timer since that has stopped and we are in the GONE
2811 panic("Unknown timer type %d", t_type);
2816 KASSERT(tmr != NULL, ("tmr is NULL for timer type %d", t_type));
2820 * Ok we have a timer that is under joint use. Cookie timer
2821 * per chance with the SEND timer. We therefore are NOT
2822 * running the timer that the caller wants stopped. So just
2826 "Shared timer type %d not running: inp=%p, stcb=%p, net=%p.\n",
2838 if (SCTP_OS_TIMER_STOP(&tmr->timer) == 1) {
2853 * If the timer was actually stopped, decrement reference
5435 /* make sure no timer is running */