Searched refs:cmt_pgs (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/uts/common/disp/ |
H A D | cmt_policy.c | 124 group_t *cmt_pgs, *siblings; in cmt_balance() local 132 cmt_pgs = &cp->cpu_pg->cmt_pgs; in cmt_balance() 134 if (GROUP_SIZE(cmt_pgs) == 0) in cmt_balance() 147 pg = GROUP_ACCESS(cmt_pgs, level); in cmt_balance() 201 if (++level == GROUP_SIZE(cmt_pgs)) in cmt_balance() 204 pg = GROUP_ACCESS(cmt_pgs, level); in cmt_balance()
|
H A D | cmt.c | 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() 474 if ((sz = GROUP_SIZE(&pgd->cmt_pgs)) > 0) in cmt_hier_promote() 475 pgd->cmt_lineage = GROUP_ACCESS(&pgd->cmt_pgs, sz - 1); in cmt_hier_promote() 503 group_t *cmt_pgs; in pg_cmt_cpu_init() local [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | cap_util.c | 456 group_t *cmt_pgs; in cu_cpc_init() local 479 if (cpu_pgs == NULL || GROUP_SIZE(&cpu_pgs->cmt_pgs) < 1) in cu_cpc_init() 482 cmt_pgs = &cpu_pgs->cmt_pgs; in cu_cpc_init() 523 while ((pg_cmt = group_iterate(cmt_pgs, &iter)) != NULL) { in cu_cpc_init()
|
H A D | pg.c | 521 group_create(&pgd->cmt_pgs); in pg_cpu_data_alloc() 533 group_destroy(&pgd->cmt_pgs); in pg_cpu_data_free()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | pg.h | 117 struct group cmt_pgs; /* CMT load balancing lineage */ member
|