Lines Matching refs:ulwp
366 struct ulwp *qr_head;
367 struct ulwp *qr_tail;
443 extern void enqueue(queue_head_t *, struct ulwp *, int);
444 extern struct ulwp *dequeue(queue_head_t *, int *);
445 extern struct ulwp **queue_slot(queue_head_t *, struct ulwp **, int *);
446 extern struct ulwp *queue_waiter(queue_head_t *);
449 struct ulwp **, struct ulwp *);
538 typedef struct ulwp { struct
551 struct ulwp *ul_self; /* pointer to self */ argument
559 struct ulwp *ul_forw; /* forw, back all_lwps list, */ argument
560 struct ulwp *ul_back; /* protected by link_lock */ argument
561 struct ulwp *ul_next; /* list to keep track of stacks */ argument
562 struct ulwp *ul_hash; /* hash chain linked list */ argument
642 struct ulwp *ul_link; /* sleep queue link */ argument
987 #define ulwp_mutex(ulwp, udp) \ argument
988 (&(udp)->thr_hash_table[(ulwp)->ul_ix].hash_lock)
989 #define ulwp_condvar(ulwp, udp) \ argument
990 (&(udp)->thr_hash_table[(ulwp)->ul_ix].hash_cond)
995 #define ulwp_lock(ulwp, udp) lmutex_lock(ulwp_mutex(ulwp, udp)) argument
996 #define ulwp_unlock(ulwp, udp) lmutex_unlock(ulwp_mutex(ulwp, udp)) argument
1247 #define real_priority(ulwp) \ argument
1248 ((ulwp)->ul_schedctl? (ulwp)->ul_schedctl->sc_priority : 0)
1280 ulwp_t *ulwp, caddr_t stk, size_t stksize);