Lines Matching refs:ulwpp
616 ulwp_t **ulwpp; in enqueue() local
668 ulwpp = &qrp->qr_head; in enqueue()
677 ulwpp = &qrp->qr_tail->ul_link; in enqueue()
679 for (ulwpp = &qrp->qr_head; (next = *ulwpp) != NULL; in enqueue()
680 ulwpp = &next->ul_link) in enqueue()
690 for (ulwpp = &qrp->qr_head; (next = *ulwpp) != NULL; in enqueue()
691 ulwpp = &next->ul_link) in enqueue()
695 if ((ulwp->ul_link = *ulwpp) == NULL) in enqueue()
697 *ulwpp = ulwp; in enqueue()
717 queue_slot_runnable(ulwp_t **ulwpp, ulwp_t **prevp, int rt) in queue_slot_runnable() argument
726 (ulwp = *ulwpp) != NULL; in queue_slot_runnable()
727 prev = ulwp, ulwpp = &ulwp->ul_link) { in queue_slot_runnable()
732 foundpp = ulwpp; in queue_slot_runnable()
749 ulwp_t **ulwpp = ulwpp_org; in queue_slot_rt() local
750 ulwp_t *ulwp = *ulwpp; in queue_slot_rt()
751 ulwp_t **foundpp = ulwpp; in queue_slot_rt()
756 for (prev = ulwp, ulwpp = &ulwp->ul_link; in queue_slot_rt()
757 (ulwp = *ulwpp) != NULL; in queue_slot_rt()
758 prev = ulwp, ulwpp = &ulwp->ul_link) { in queue_slot_rt()
761 foundpp = ulwpp; in queue_slot_rt()
773 (ulwpp = queue_slot_runnable(ulwpp_org, prevp, 1)) != NULL) { in queue_slot_rt()
774 foundpp = ulwpp; in queue_slot_rt()
785 ulwp_t **ulwpp; in queue_slot() local
811 (ulwpp = queue_slot_runnable(&qrp->qr_head, prevp, 0)) != NULL) { in queue_slot()
812 ulwp = *ulwpp; in queue_slot()
814 return (ulwpp); in queue_slot()
827 queue_unlink(queue_head_t *qp, ulwp_t **ulwpp, ulwp_t *prev) in queue_unlink() argument
831 ulwp_t *ulwp = *ulwpp; in queue_unlink()
844 *ulwpp = next; in queue_unlink()
886 ulwp_t **ulwpp; in dequeue() local
890 if ((ulwpp = queue_slot(qp, &prev, more)) == NULL) in dequeue()
892 ulwp = *ulwpp; in dequeue()
893 queue_unlink(qp, ulwpp, prev); in dequeue()
905 ulwp_t **ulwpp; in queue_waiter() local
909 if ((ulwpp = queue_slot(qp, &prev, &more)) == NULL) in queue_waiter()
911 return (*ulwpp); in queue_waiter()
919 ulwp_t **ulwpp; in dequeue_self() local
928 for (prev = NULL, ulwpp = &qrp->qr_head; in dequeue_self()
929 (ulwp = *ulwpp) != NULL; in dequeue_self()
930 prev = ulwp, ulwpp = &ulwp->ul_link) { in dequeue_self()
932 queue_unlink(qp, ulwpp, prev); in dequeue_self()
3819 ulwp_t **ulwpp; in cond_signal() local
3840 ulwpp = queue_slot(qp, &prev, &more); in cond_signal()
3842 if (ulwpp == NULL) { /* no one on the sleep queue */ in cond_signal()
3846 ulwp = *ulwpp; in cond_signal()
3861 queue_unlink(qp, ulwpp, prev); in cond_signal()