Lines Matching defs:ulwp
363 struct ulwp *qr_head;
364 struct ulwp *qr_tail;
440 extern void enqueue(queue_head_t *, struct ulwp *, int);
441 extern struct ulwp *dequeue(queue_head_t *, int *);
442 extern struct ulwp **queue_slot(queue_head_t *, struct ulwp **, int *);
443 extern struct ulwp *queue_waiter(queue_head_t *);
446 struct ulwp **, struct ulwp *);
512 typedef struct ulwp {
525 struct ulwp *ul_self; /* pointer to self */
533 struct ulwp *ul_forw; /* forw, back all_lwps list, */
534 struct ulwp *ul_back; /* protected by link_lock */
535 struct ulwp *ul_next; /* list to keep track of stacks */
536 struct ulwp *ul_hash; /* hash chain linked list */
616 struct ulwp *ul_link; /* sleep queue link */
645 /* they are discarded when ulwp is replaced on thr_exit() */
663 * This is the size of a replacement ulwp, retained only for the benefit
925 #define ulwp_mutex(ulwp, udp) \
926 (&(udp)->thr_hash_table[(ulwp)->ul_ix].hash_lock)
927 #define ulwp_condvar(ulwp, udp) \
928 (&(udp)->thr_hash_table[(ulwp)->ul_ix].hash_cond)
933 #define ulwp_lock(ulwp, udp) lmutex_lock(ulwp_mutex(ulwp, udp))
934 #define ulwp_unlock(ulwp, udp) lmutex_unlock(ulwp_mutex(ulwp, udp))
1065 /* they are discarded when ulwp is replaced on thr_exit() */
1182 #define real_priority(ulwp) \
1183 ((ulwp)->ul_schedctl? (ulwp)->ul_schedctl->sc_priority : 0)
1212 ulwp_t *ulwp, caddr_t stk, size_t stksize);