Lines Matching refs:kthread_t
52 static void sema_unsleep(kthread_t *t);
53 static void sema_change_pri(kthread_t *t, pri_t pri, pri_t *t_prip);
54 static kthread_t *sema_owner(ksema_t *);
69 kthread_t *tp; \
70 kthread_t **tpp; \
118 sema_queue(ksema_t *sp, kthread_t *t) in sema_queue()
120 kthread_t **tpp; in sema_queue()
121 kthread_t *tp; in sema_queue()
143 sema_dequeue(ksema_t *sp, kthread_t *t) in sema_dequeue()
145 kthread_t **tpp; in sema_dequeue()
146 kthread_t *tp; in sema_dequeue()
163 static kthread_t *
166 return ((kthread_t *)NULL); in sema_owner()
175 sema_unsleep(kthread_t *t) in sema_unsleep()
177 kthread_t **tpp; in sema_unsleep()
178 kthread_t *tp; in sema_unsleep()
209 sema_change_pri(kthread_t *t, pri_t pri, pri_t *t_prip) in sema_change_pri()
258 kthread_t *t = curthread; in sema_p_sig()
289 kthread_t *sq, *tp; in sema_p_sig()
304 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sema_p_sig()
335 kthread_t *sq, *tp; in sema_v()
352 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sema_v()