Lines Matching refs:ulwpp
614 ulwp_t **ulwpp;
666 ulwpp = &qrp->qr_head;
675 ulwpp = &qrp->qr_tail->ul_link;
677 for (ulwpp = &qrp->qr_head; (next = *ulwpp) != NULL;
678 ulwpp = &next->ul_link)
688 for (ulwpp = &qrp->qr_head; (next = *ulwpp) != NULL;
689 ulwpp = &next->ul_link)
693 if ((ulwp->ul_link = *ulwpp) == NULL)
695 *ulwpp = ulwp;
715 queue_slot_runnable(ulwp_t **ulwpp, ulwp_t **prevp, int rt)
724 (ulwp = *ulwpp) != NULL;
725 prev = ulwp, ulwpp = &ulwp->ul_link) {
730 foundpp = ulwpp;
747 ulwp_t **ulwpp = ulwpp_org;
748 ulwp_t *ulwp = *ulwpp;
749 ulwp_t **foundpp = ulwpp;
754 for (prev = ulwp, ulwpp = &ulwp->ul_link;
755 (ulwp = *ulwpp) != NULL;
756 prev = ulwp, ulwpp = &ulwp->ul_link) {
759 foundpp = ulwpp;
771 (ulwpp = queue_slot_runnable(ulwpp_org, prevp, 1)) != NULL) {
772 foundpp = ulwpp;
783 ulwp_t **ulwpp;
809 (ulwpp = queue_slot_runnable(&qrp->qr_head, prevp, 0)) != NULL) {
810 ulwp = *ulwpp;
812 return (ulwpp);
825 queue_unlink(queue_head_t *qp, ulwp_t **ulwpp, ulwp_t *prev)
829 ulwp_t *ulwp = *ulwpp;
842 *ulwpp = next;
884 ulwp_t **ulwpp;
888 if ((ulwpp = queue_slot(qp, &prev, more)) == NULL)
890 ulwp = *ulwpp;
891 queue_unlink(qp, ulwpp, prev);
903 ulwp_t **ulwpp;
907 if ((ulwpp = queue_slot(qp, &prev, &more)) == NULL)
909 return (*ulwpp);
917 ulwp_t **ulwpp;
926 for (prev = NULL, ulwpp = &qrp->qr_head;
927 (ulwp = *ulwpp) != NULL;
928 prev = ulwp, ulwpp = &ulwp->ul_link) {
930 queue_unlink(qp, ulwpp, prev);
3706 ulwp_t **ulwpp;
3727 ulwpp = queue_slot(qp, &prev, &more);
3729 if (ulwpp == NULL) { /* no one on the sleep queue */
3733 ulwp = *ulwpp;
3748 queue_unlink(qp, ulwpp, prev);