Lines Matching refs:NumWorkGroups
82 static int NumWorkGroups; /* number of work groups */ variable
1229 if (wgrp < 0 || wgrp > NumWorkGroups)
1264 for (i = 0; i < NumWorkGroups; i++) in restart_marked_work_groups()
1304 wgrp < 0 || wgrp > NumWorkGroups)
1526 (WorkGrp[0].wg_qgs[0]->qg_numqueues > 1 || NumWorkGroups > 1 ||
1549 for (i = 0; i < NumWorkGroups && !NoMoreRunners; i++)
1629 INCR_MOD(curnum, NumWorkGroups);
1633 if (i < NumWorkGroups && !NoMoreRunners && !persistent)
1637 for (h = curnum; i < NumWorkGroups; i++)
1640 INCR_MOD(h, NumWorkGroups);
7902 NumWorkGroups = 1; in makeworkgroups()
7934 NumWorkGroups = 0; in makeworkgroups()
7940 NumWorkGroups++; in makeworkgroups()
7945 if (NumWorkGroups < 1) in makeworkgroups()
7946 NumWorkGroups = 1; /* gotta have one at least */ in makeworkgroups()
7947 else if (NumWorkGroups > MAXWORKGROUPS) in makeworkgroups()
7948 NumWorkGroups = MAXWORKGROUPS; /* the limit */ in makeworkgroups()
7970 if (j >= NumWorkGroups) in makeworkgroups()
7973 j = NumWorkGroups - 1; in makeworkgroups()
8023 for (i = 0; i < NumWorkGroups; i++) in makeworkgroups()