Lines Matching refs:weight
642 * (group->work+1) / (nextgroup->work+1) > (group->weight) / (nextgroup->weight)
647 orderleft = (group->work + 1) * ((uint64_t)nextgroup->weight);
648 orderright = (nextgroup->work + 1) * ((uint64_t)group->weight);
684 runq->groups[index].weight = 0;
690 runq->weight = 0;
728 group->weight = gpriority;
740 group->weight += gpriority;
749 rq->weight += gpriority;
772 group->weight -= gpriority;
788 rq->weight -= gpriority;
813 group->weight -= gpriority;
829 rq->weight -= gpriority;
844 /* Start searching from the head (heaviest weight) for the first
850 if (search_group->weight < group->weight) {
854 } if (search_group->weight == group->weight) {
862 /* otherwise, our weight is too small, keep going */