Lines Matching refs:te
452 #define TIMERENTRY_TO_TP(te) ((struct tcpcb *)((uintptr_t)te - offsetof(struct tcpcb, tentry.le.le_… argument
2127 struct tcptimerentry *te, *next_te; in tcp_run_timerlist() local
2162 LIST_FOREACH_SAFE(te, &listp->lhead, le, next_te) { in tcp_run_timerlist()
2164 uint32_t runtime = te->runtime; in tcp_run_timerlist()
2166 tp = TIMERENTRY_TO_TP(te); in tcp_run_timerlist()
2171 if (te->index < TCPT_NONE && TSTMP_GT(runtime, tcp_now) && in tcp_run_timerlist()
2177 list_mode |= te->mode; in tcp_run_timerlist()
2302 struct tcptimerentry *te = &tp->tentry; in tcp_sched_timers() local
2303 u_int16_t index = te->index; in tcp_sched_timers()
2304 u_int16_t mode = te->mode; in tcp_sched_timers()
2327 offset = timer_diff(te->runtime, 0, tcp_now, 0); in tcp_sched_timers()
2340 LIST_INSERT_HEAD(&listp->lhead, te, le); in tcp_sched_timers()
2359 if (need_to_resched_timerlist(te->runtime, mode)) { in tcp_sched_timers()
2367 VERIFY_NEXT_LINK(te, le); in tcp_sched_timers()
2368 VERIFY_PREV_LINK(te, le); in tcp_sched_timers()