Searched refs:pgd (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/uts/common/os/ |
H A D | pg.c | 517 cpu_pg_t *pgd; in pg_cpu_data_alloc() local 519 pgd = kmem_zalloc(sizeof (cpu_pg_t), KM_SLEEP); in pg_cpu_data_alloc() 520 group_create(&pgd->pgs); in pg_cpu_data_alloc() 521 group_create(&pgd->cmt_pgs); in pg_cpu_data_alloc() 523 return (pgd); in pg_cpu_data_alloc() 530 pg_cpu_data_free(cpu_pg_t *pgd) in pg_cpu_data_free() argument 532 group_destroy(&pgd->pgs); in pg_cpu_data_free() 533 group_destroy(&pgd->cmt_pgs); in pg_cpu_data_free() 534 kmem_free(pgd, sizeof (cpu_pg_t)); in pg_cpu_data_free()
|
/titanic_44/usr/src/uts/common/disp/ |
H A D | cmt.c | 420 cpu_pg_t *pgd; /* CPU's PG data */ in cmt_hier_promote() local 427 pgd = pgdata; in cmt_hier_promote() 429 pgd = cpu->cpu_pg; in cmt_hier_promote() 436 while ((cpu_pg = group_iterate(&pgd->cmt_pgs, &iter)) != NULL) { in cmt_hier_promote() 445 if ((idx = group_find(&pgd->cmt_pgs, (void *)pg)) == -1) { in cmt_hier_promote() 456 ASSERT(GROUP_ACCESS(&pgd->cmt_pgs, idx - 1) == parent); in cmt_hier_promote() 462 group_remove_at(&pgd->cmt_pgs, idx); in cmt_hier_promote() 463 group_remove_at(&pgd->cmt_pgs, idx - 1); in cmt_hier_promote() 464 err = group_add_at(&pgd->cmt_pgs, parent, idx); in cmt_hier_promote() 466 err = group_add_at(&pgd->cmt_pgs, pg, idx - 1); in cmt_hier_promote() [all …]
|