Lines Matching refs:ulwp
369 struct ulwp *qr_head;
370 struct ulwp *qr_tail;
446 extern void enqueue(queue_head_t *, struct ulwp *, int);
447 extern struct ulwp *dequeue(queue_head_t *, int *);
448 extern struct ulwp **queue_slot(queue_head_t *, struct ulwp **, int *);
449 extern struct ulwp *queue_waiter(queue_head_t *);
452 struct ulwp **, struct ulwp *);
544 typedef struct ulwp { struct
557 struct ulwp *ul_self; /* pointer to self */ argument
565 struct ulwp *ul_forw; /* forw, back all_lwps list, */ argument
566 struct ulwp *ul_back; /* protected by link_lock */ argument
567 struct ulwp *ul_next; /* list to keep track of stacks */ argument
568 struct ulwp *ul_hash; /* hash chain linked list */ argument
648 struct ulwp *ul_link; /* sleep queue link */ argument
1004 #define ulwp_mutex(ulwp, udp) \ argument
1005 (&(udp)->thr_hash_table[(ulwp)->ul_ix].hash_lock)
1006 #define ulwp_condvar(ulwp, udp) \ argument
1007 (&(udp)->thr_hash_table[(ulwp)->ul_ix].hash_cond)
1012 #define ulwp_lock(ulwp, udp) lmutex_lock(ulwp_mutex(ulwp, udp)) argument
1013 #define ulwp_unlock(ulwp, udp) lmutex_unlock(ulwp_mutex(ulwp, udp)) argument
1267 #define real_priority(ulwp) \ argument
1268 ((ulwp)->ul_schedctl? (ulwp)->ul_schedctl->sc_priority : 0)
1300 ulwp_t *ulwp, caddr_t stk, size_t stksize);