Lines Matching refs:tentry
112 #define TIMERENTRY_TO_TP(te) ((struct tcpcb *)((uintptr_t)te - offsetof(struct tcpcb, tentry.le.le_next)))
564 tp->tentry.timer_start = tcp_now;
565 tp->tentry.index = TCPT_NONE;
1088 if (listp->next_te != NULL && listp->next_te == &tp->tentry)
1089 listp->next_te = LIST_NEXT(&tp->tentry, le);
1091 LIST_REMOVE(&tp->tentry, le);
1096 tp->tentry.le.le_next = NULL;
1097 tp->tentry.le.le_prev = NULL;
1199 if ((index = tp->tentry.index) == TCPT_NONE)
1203 diff = timer_diff(tp->tentry.runtime, 0, tcp_now, 0);
1205 if (tp->tentry.index != TCPT_NONE) {
1207 *(next_index) = tp->tentry.index;
1224 diff = timer_diff(tp->tentry.timer_start, tp->t_timer[i], tcp_now, 0);
1240 tp->tentry.timer_start = tcp_now;
1241 tp->tentry.index = lo_index;
1243 tp->tentry.runtime = tp->tentry.timer_start + tp->t_timer[lo_index];
1244 if (tp->tentry.runtime == 0)
1245 tp->tentry.runtime++;
1264 if (tp->tentry.index < TCPT_NONE) {
1265 offset = tp->t_timer[tp->tentry.index];
1266 *(next_index) = tp->tentry.index;
1270 if (tp != NULL && tp->tentry.index == TCPT_NONE) {
1322 LIST_REMOVE(&tp->tentry, le);
1325 tp->tentry.le.le_next = NULL;
1326 tp->tentry.le.le_prev = NULL;
1337 VERIFY_NEXT_LINK(&tp->tentry, le);
1338 VERIFY_PREV_LINK(&tp->tentry, le);
1415 struct tcptimerentry *te = &tp->tentry;
1528 tp->tentry.index = lo_index;
1530 tp->tentry.runtime = tp->tentry.timer_start + tp->t_timer[lo_index];
1531 if (tp->tentry.runtime == 0)
1532 tp->tentry.runtime++;