Searched refs:dm2s_softstate (Results 1 – 1 of 1) sorted by relevance
98 void *dm2s_softstate = NULL; /* Softstate pointer */ variable206 if (ddi_soft_state_init(&dm2s_softstate, sizeof (dm2s_t), 1) != 0) { in _init()212 ddi_soft_state_fini(&dm2s_softstate); in _init()228 ddi_soft_state_fini(&dm2s_softstate); in _fini()263 if (ddi_soft_state_zalloc(dm2s_softstate, instance) != DDI_SUCCESS) { in dm2s_attach()267 dm2sp = (dm2s_t *)ddi_get_soft_state(dm2s_softstate, instance); in dm2s_attach()269 ddi_soft_state_free(dm2s_softstate, instance); in dm2s_attach()328 dm2sp = (dm2s_t *)ddi_get_soft_state(dm2s_softstate, minor); in dm2s_info()363 dm2sp = (dm2s_t *)ddi_get_soft_state(dm2s_softstate, instance); in dm2s_detach()406 if ((dm2sp = ddi_get_soft_state(dm2s_softstate, instance)) == NULL) { in dm2s_open()[all …]