Home
last modified time | relevance | path

Searched refs:pg_hw (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dpghw.c108 static group_t *pg_hw; /* top level pg hw group */ variable
118 kstat_named_t pg_hw; member
407 if (pg_hw == NULL) { in pghw_set_create()
408 pg_hw = kmem_alloc(sizeof (group_t), KM_SLEEP); in pghw_set_create()
409 group_create(pg_hw); in pghw_set_create()
410 group_expand(pg_hw, (uint_t)PGHW_NUM_COMPONENTS); in pghw_set_create()
420 ret = group_add_at(pg_hw, g, (uint_t)hw); in pghw_set_create()
434 if (pg_hw == NULL) in pghw_set_lookup()
437 hwset = GROUP_ACCESS(pg_hw, (uint_t)hw); in pghw_set_lookup()
564 kstat_named_setstr(&pgsp->pg_hw, pghw_type_string(pg->pghw_hw)); in pghw_kstat_update()
H A Dcap_util.c461 pghw_t *pg_hw; in cu_cpc_init() local
528 pg_hw = (pghw_t *)pg_cmt; in cu_cpc_init()
529 pg_hw_type = pg_hw->pghw_hw; in cu_cpc_init()
581 cntr_info->ci_pg = pg_hw; in cu_cpc_init()
588 cu_cpu_kstat_create(pg_hw, cntr_info); in cu_cpc_init()