Lines Matching refs:tentry

451 …__unsafe_forge_single(struct tcpcb *, ((uintptr_t)te - offsetof(struct tcpcb, tentry.le.le_next))))
879 tp->tentry.timer_start = tcp_now; in tcp_canceltimers()
880 tp->tentry.index = TCPT_NONE; in tcp_canceltimers()
1907 if (listp->next_te != NULL && listp->next_te == &tp->tentry) { in tcp_remove_timer()
1908 listp->next_te = LIST_NEXT(&tp->tentry, le); in tcp_remove_timer()
1911 LIST_REMOVE(&tp->tentry, le); in tcp_remove_timer()
1916 tp->tentry.le.le_next = NULL; in tcp_remove_timer()
1917 tp->tentry.le.le_prev = NULL; in tcp_remove_timer()
2047 if ((index = tp->tentry.index) == TCPT_NONE) { in tcp_run_conn_timer()
2053 diff = timer_diff(tp->tentry.runtime, 0, tcp_now, 0); in tcp_run_conn_timer()
2055 if (tp->tentry.index != TCPT_NONE) { in tcp_run_conn_timer()
2057 *(te_mode) = tp->tentry.mode; in tcp_run_conn_timer()
2074 tp->tentry.mode = 0; in tcp_run_conn_timer()
2077 diff = timer_diff(tp->tentry.timer_start, in tcp_run_conn_timer()
2089 TCP_SET_TIMER_MODE(tp->tentry.mode, i); in tcp_run_conn_timer()
2094 tp->tentry.timer_start = tcp_now; in tcp_run_conn_timer()
2095 tp->tentry.index = lo_index; in tcp_run_conn_timer()
2096 VERIFY(tp->tentry.index == TCPT_NONE || tp->tentry.mode > 0); in tcp_run_conn_timer()
2098 if (tp->tentry.index != TCPT_NONE) { in tcp_run_conn_timer()
2099 tp->tentry.runtime = tp->tentry.timer_start + in tcp_run_conn_timer()
2100 tp->t_timer[tp->tentry.index]; in tcp_run_conn_timer()
2101 if (tp->tentry.runtime == 0) { in tcp_run_conn_timer()
2102 tp->tentry.runtime++; in tcp_run_conn_timer()
2122 if (tp->tentry.index < TCPT_NONE) { in tcp_run_conn_timer()
2123 offset = tp->t_timer[tp->tentry.index]; in tcp_run_conn_timer()
2124 *(te_mode) = tp->tentry.mode; in tcp_run_conn_timer()
2128 if (tp != NULL && tp->tentry.index == TCPT_NONE) { in tcp_run_conn_timer()
2222 VERIFY_NEXT_LINK(&tp->tentry, le); in tcp_run_timerlist()
2223 VERIFY_PREV_LINK(&tp->tentry, le); in tcp_run_timerlist()
2310 struct tcptimerentry *te = &tp->tentry; in tcp_sched_timers()
2446 tp->tentry.index = lo_index; in tcp_set_lotimer_index()
2447 tp->tentry.mode = mode; in tcp_set_lotimer_index()
2448 VERIFY(tp->tentry.index == TCPT_NONE || tp->tentry.mode > 0); in tcp_set_lotimer_index()
2450 if (tp->tentry.index != TCPT_NONE) { in tcp_set_lotimer_index()
2451 tp->tentry.runtime = tp->tentry.timer_start in tcp_set_lotimer_index()
2452 + tp->t_timer[tp->tentry.index]; in tcp_set_lotimer_index()
2453 if (tp->tentry.runtime == 0) { in tcp_set_lotimer_index()
2454 tp->tentry.runtime++; in tcp_set_lotimer_index()
2805 if (tp->tentry.index == TCPT_NONE) { in tcp_enable_read_probe()
2806 tp->tentry.index = TCPT_KEEP; in tcp_enable_read_probe()
2807 tp->tentry.runtime = tcp_now + in tcp_enable_read_probe()
2813 diff = timer_diff(tp->tentry.runtime, 0, in tcp_enable_read_probe()
2816 tp->tentry.index = TCPT_KEEP; in tcp_enable_read_probe()
2817 tp->tentry.runtime = tcp_now + in tcp_enable_read_probe()
2819 if (tp->tentry.runtime == 0) { in tcp_enable_read_probe()
2820 tp->tentry.runtime++; in tcp_enable_read_probe()