Lines Matching defs:pgd
420 cpu_pg_t *pgd; /* CPU's PG data */
427 pgd = pgdata;
429 pgd = cpu->cpu_pg;
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);
474 if ((sz = GROUP_SIZE(&pgd->cmt_pgs)) > 0)
475 pgd->cmt_lineage = GROUP_ACCESS(&pgd->cmt_pgs, sz - 1);