Lines Matching refs:groups
104 group_list_t *groups; in CgptPrioritize() local
144 groups = NewGroupList(num_kernels); in CgptPrioritize()
155 AddToGroup(groups, priority, i); // we'll move them all later in CgptPrioritize()
157 AddToGroup(groups, 99, i); // move only this one in CgptPrioritize()
159 AddToGroup(groups, priority, i); // just remember in CgptPrioritize()
165 ChangeGroup(groups, params->orig_priority, 99); in CgptPrioritize()
170 SortGroups(groups); in CgptPrioritize()
174 i = groups->num_groups; in CgptPrioritize()
175 if (groups->group[i-1].priority == 0) in CgptPrioritize()
176 groups->num_groups--; in CgptPrioritize()
182 priority = groups->num_groups > 15 ? 15 : groups->num_groups; in CgptPrioritize()
185 for (i=0; i<groups->num_groups; i++) { in CgptPrioritize()
186 groups->group[i].priority = priority; in CgptPrioritize()
192 for (i=0; i<groups->num_groups; i++) in CgptPrioritize()
193 for (j=0; j<groups->group[i].num_parts; j++) in CgptPrioritize()
195 groups->group[i].part[j], groups->group[i].priority); in CgptPrioritize()
197 FreeGroups(groups); in CgptPrioritize()