Lines Matching refs:te
448 #define TIMERENTRY_TO_TP(te) (__unsafe_forge_single(struct tcpcb *, ((uintptr_t)te - offsetof(struc… argument
2131 struct tcptimerentry *te, *__single next_te; in tcp_run_timerlist() local
2151 LIST_FOREACH_SAFE(te, &listp->lhead, te_le, next_te) { in tcp_run_timerlist()
2153 uint32_t runtime = te->te_runtime; in tcp_run_timerlist()
2155 tp = TIMERENTRY_TO_TP(te); in tcp_run_timerlist()
2167 if (te->te_index < TCPT_NONE && TSTMP_GT(runtime, tcp_now) && in tcp_run_timerlist()
2173 list_mode |= te->te_mode; in tcp_run_timerlist()
2293 struct tcptimerentry *te = &tp->tentry; in tcp_sched_timers() local
2294 u_int16_t index = te->te_index; in tcp_sched_timers()
2295 u_int16_t mode = te->te_mode; in tcp_sched_timers()
2318 offset = timer_diff(te->te_runtime, 0, tcp_now, 0); in tcp_sched_timers()
2340 LIST_INSERT_HEAD(&listp->lhead, te, te_le); in tcp_sched_timers()
2359 if (need_to_resched_timerlist(te->te_runtime, mode)) { in tcp_sched_timers()
2367 VERIFY_NEXT_LINK(te, te_le); in tcp_sched_timers()
2368 VERIFY_PREV_LINK(te, te_le); in tcp_sched_timers()