Lines Matching refs:tentry
111 #define TIMERENTRY_TO_TP(te) ((struct tcpcb *)((uintptr_t)te - offsetof(struct tcpcb, tentry.le.le_next)))
519 tp->tentry.timer_start = tcp_now;
520 tp->tentry.index = TCPT_NONE;
919 if (listp->next_te != NULL && listp->next_te == &tp->tentry)
920 listp->next_te = LIST_NEXT(&tp->tentry, le);
922 LIST_REMOVE(&tp->tentry, le);
927 tp->tentry.le.le_next = NULL;
928 tp->tentry.le.le_prev = NULL;
1024 index = tp->tentry.index;
1027 if (index == TCPT_NONE || tp->tentry.runtime == 0)
1030 diff = timer_diff(tp->tentry.runtime, 0, tcp_now, 0);
1032 if (tp->tentry.index != TCPT_NONE) {
1034 *(next_index) = tp->tentry.index;
1051 diff = timer_diff(tp->tentry.timer_start, tp->t_timer[i], tcp_now, 0);
1067 tp->tentry.timer_start = tcp_now;
1068 tp->tentry.index = lo_index;
1070 tp->tentry.runtime = tp->tentry.timer_start + tp->t_timer[lo_index];
1072 tp->tentry.runtime = 0;
1088 if (tp->tentry.index < TCPT_NONE) {
1089 offset = tp->t_timer[tp->tentry.index];
1090 *(next_index) = tp->tentry.index;
1094 if (tp != NULL && tp->tentry.index == TCPT_NONE) {
1145 LIST_REMOVE(&tp->tentry, le);
1148 tp->tentry.le.le_next = NULL;
1149 tp->tentry.le.le_prev = NULL;
1160 VERIFY_NEXT_LINK(&tp->tentry, le);
1161 VERIFY_PREV_LINK(&tp->tentry, le);
1235 struct tcptimerentry *te = &tp->tentry;
1341 tp->tentry.index = lo_index;
1343 tp->tentry.runtime = tp->tentry.timer_start + tp->t_timer[lo_index];
1345 tp->tentry.runtime = 0;