Lines Matching defs:cmt_pgs
436 while ((cpu_pg = group_iterate(&pgd->cmt_pgs, &iter)) != NULL) {
445 if ((idx = group_find(&pgd->cmt_pgs, (void *)pg)) == -1) {
456 ASSERT(GROUP_ACCESS(&pgd->cmt_pgs, idx - 1) == parent);
462 group_remove_at(&pgd->cmt_pgs, idx);
463 group_remove_at(&pgd->cmt_pgs, idx - 1);
464 err = group_add_at(&pgd->cmt_pgs, parent, idx);
466 err = group_add_at(&pgd->cmt_pgs, pg, idx - 1);
471 * Since cmt_pgs is top-down ordered, the bottom is the last
474 if ((sz = GROUP_SIZE(&pgd->cmt_pgs)) > 0)
475 pgd->cmt_lineage = GROUP_ACCESS(&pgd->cmt_pgs, sz - 1);
503 group_t *cmt_pgs;
524 cmt_pgs = &pgdata->cmt_pgs;
613 group_expand(cmt_pgs, levels);
647 (GROUP_SIZE(&(pgdata->cmt_pgs)) == 0));
689 err = group_add_at(cmt_pgs, pg, levels - level - 1);
773 group_t *pgs, *cmt_pgs;
783 cmt_pgs = &pgdata->cmt_pgs;
826 (void) group_remove(cmt_pgs, pg, GRP_RESIZE);
846 ASSERT(GROUP_SIZE(cmt_pgs) == 0);
1661 (void) group_remove(&cpd->cmt_pgs, pg, GRP_NORESIZE);
1683 group_empty(&cpu->cpu_pg->cmt_pgs);