Searched refs:last_tp (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dsleepq.c135 kthread_t *last_tp; local
148 last_tp = next_tp->t_priback;
150 tpp = &last_tp->t_link;
155 /* last_tp points to the last thread of this priority */
156 t->t_priback = last_tp;
157 t->t_priforw = last_tp->t_priforw;
158 last_tp->t_priforw->t_priback = t;
159 last_tp->t_priforw = t;
H A Dwaitq.c122 kthread_t *last_tp; local
134 last_tp = next_tp->t_priback;
136 tpp = &last_tp->t_link;
141 /* last_tp points to the last thread of this priority */
142 t->t_priback = last_tp;
143 t->t_priforw = last_tp->t_priforw;
144 last_tp->t_priforw->t_priback = t;
145 last_tp->t_priforw = t;

Completed in 44 milliseconds