Home
last modified time | relevance | path

Searched refs:GROUP_SIZE (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/disp/
H A Dcmt_policy.c134 if (GROUP_SIZE(cmt_pgs) == 0) in cmt_balance()
158 nsiblings = GROUP_SIZE(siblings); /* self inclusive */ in cmt_balance()
201 if (++level == GROUP_SIZE(cmt_pgs)) in cmt_balance()
209 uint_t tgt_size = GROUP_SIZE(&tpg->cmt_cpus_actv); in cmt_balance()
H A Dcmt.c392 ASSERT(GROUP_SIZE(parent->cmt_children) <= 1); in cmt_hier_promote()
474 if ((sz = GROUP_SIZE(&pgd->cmt_pgs)) > 0) in cmt_hier_promote()
593 GROUP_SIZE(&((pg_t *)pg)->pg_cpus)); in pg_cmt_cpu_init()
647 (GROUP_SIZE(&(pgdata->cmt_pgs)) == 0)); in pg_cmt_cpu_init()
846 ASSERT(GROUP_SIZE(cmt_pgs) == 0); in pg_cmt_cpu_fini()
1009 if (GROUP_SIZE(&pg->cmt_cpus_actv) == 1 && in pg_cmt_cpu_active()
1083 if (GROUP_SIZE(&pg->cmt_cpus_actv) == 0 && in pg_cmt_cpu_inactive()
1100 ASSERT(GROUP_SIZE(&pg->cmt_cpus_actv) <= in pg_cmt_cpu_inactive()
1101 GROUP_SIZE(&((pg_t *)pg)->pg_cpus)); in pg_cmt_cpu_inactive()
1342 GROUP_SIZE(pg->cmt_children) == 1) { in cmt_pad_disable()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dpg.h143 (GROUP_SIZE(&((pg_t *)pgrp)->pg_cpus) > 0 ? \
150 (GROUP_SIZE(&(pgrp)->pg_cpus))
H A Dgroup.h58 #define GROUP_SIZE(grp) ((grp)->grp_size) macro
H A Dcmt.h99 #define CMT_CAPACITY(pg) (GROUP_SIZE(&((pg_cmt_t *)pg)->cmt_cpus_actv))
/illumos-gate/usr/src/uts/intel/os/
H A Dcpc_subr.c100 active_cpus_cnt = GROUP_SIZE(&chip_pg->cmt_cpus_actv); in kcpc_cpu_setup()
264 if (GROUP_SIZE(&chip->cmt_cpus_actv) > 1) { in kcpc_hw_lwp_hook()
H A Dsmt.c586 for (uint_t i = 0; i < GROUP_SIZE(&cp->cpu_pg->cmt_pgs); i++) { in smt_find_sibling()
593 if (GROUP_SIZE(cg) == 1) in smt_find_sibling()
596 if (GROUP_SIZE(cg) != 2) { in smt_find_sibling()
597 panic("%u SMT threads unsupported", GROUP_SIZE(cg)); in smt_find_sibling()
/illumos-gate/usr/src/uts/common/os/
H A Dpghw.c561 pgsp->pg_ncpus.value.ui32 = GROUP_SIZE(&((pg_t *)pg)->pg_cpus); in pghw_kstat_update()
590 pgsp->pg_ncpus.value.ui32 = GROUP_SIZE(&((pg_t *)pg)->pg_cpus); in pghw_cu_kstat_update()
674 uint_t ncpus = GROUP_SIZE(&((pg_t *)pg)->pg_cpus); in pghw_cpulist_alloc()
H A Dpg.c802 sz = GROUP_SIZE(grp); in pg_ev_thread_swtch()
823 sz = GROUP_SIZE(grp); in pg_ev_thread_remain()
H A Dcap_util.c479 if (cpu_pgs == NULL || GROUP_SIZE(&cpu_pgs->cmt_pgs) < 1) in cu_cpc_init()