Lines Matching refs:lpl_ncpu
1881 lpl_target->lpl_ncpu += lpl_leaf->lpl_ncpu;
1941 lpl_target->lpl_ncpu--;
2010 lpl_cur->lpl_ncpu++;
2012 lpl_cur->lpl_ncpu--;
2027 lpl->lpl_ncpu = 1;
2029 lpl->lpl_ncpu = lpl_leaf->lpl_ncpu;
2052 lpl->lpl_ncpu = 0;
2106 ASSERT(lpl->lpl_ncpu == 0);
2107 if (lpl->lpl_ncpu > 0) {
2120 ASSERT(lpl->lpl_ncpu == 0);
2121 if (lpl->lpl_ncpu > 0) {
2180 ASSERT((lgrp->lgrp_cpucnt >= lpl->lpl_ncpu) &&
2181 (lpl->lpl_ncpu > 0));
2182 if ((lgrp->lgrp_cpucnt < lpl->lpl_ncpu) ||
2183 (lpl->lpl_ncpu <= 0)) {
2188 * Check that lpl_ncpu also matches the number of
2211 ASSERT(j == lpl->lpl_ncpu);
2212 if (j != lpl->lpl_ncpu) {
2266 sum += lpl->lpl_rset[j]->lpl_ncpu;
2269 ASSERT(sum == lpl->lpl_ncpu);
2270 if (sum != lpl->lpl_ncpu) {
2341 ASSERT(LGRP_EXISTS(lgrp_root) && (lpl_root->lpl_ncpu > 0));
2349 (lpl_cur->lpl_ncpu == 0)))
2352 if (!LGRP_EXISTS(lgrp_cur) && (lpl_cur->lpl_ncpu > 0)) {
2360 ((lpl_cur->lpl_parent->lpl_ncpu == 0) ||
2380 sum += lpl_root->lpl_rset[i]->lpl_ncpu;
2382 lpl_root->lpl_ncpu = sum;
2600 if (lpl_leaf->lpl_ncpu++ == 0) {
2625 ASSERT(lpl_leaf->lpl_ncpu == 1);
2673 ASSERT(lpl->lpl_ncpu);
2674 if (--lpl->lpl_ncpu == 0) {
2739 ((ncpu = lpl->lpl_ncpu) == 0)) {
2804 ncpu = lpl->lpl_ncpu;
3155 ((bestload > LGRP_EXPAND_PROC_THRESH(bestlpl->lpl_ncpu)) &&
3157 (bestrload + LGRP_EXPAND_PROC_DIFF(bestrlpl->lpl_ncpu) <
3174 ASSERT(bestlpl->lpl_ncpu > 0);
3186 lgrp_load_t tolerance = LGRP_LOADAVG_TOLERANCE(lpl1->lpl_ncpu);
3342 ((ncpu = oldlpl->lpl_ncpu) > 0)) {
3365 ncpu = lpl->lpl_ncpu;
3415 ncpu = lpl->lpl_ncpu;