Searched refs:pmc_soft_state (Results 1 – 1 of 1) sorted by relevance
58 static void *pmc_soft_state; variable138 e = ddi_soft_state_init(&pmc_soft_state, sizeof (pmc_t), 1); in _init()147 ddi_soft_state_fini(&pmc_soft_state); in _init()185 ddi_soft_state_fini(&pmc_soft_state); in _fini()208 pmcp = (pmc_t *)ddi_get_soft_state(pmc_soft_state, instance); in pmc_getinfo()257 if (ddi_soft_state_zalloc(pmc_soft_state, instance) != DDI_SUCCESS) { in pmc_attach()262 pmcp = (pmc_t *)ddi_get_soft_state(pmc_soft_state, instance); in pmc_attach()279 pmcp = (pmc_t *)ddi_get_soft_state(pmc_soft_state, in pmc_detach()283 ddi_soft_state_free(pmc_soft_state, instance); in pmc_detach()