Lines Matching defs:g_pVBoxDrvSolarisState
186 static void *g_pVBoxDrvSolarisState;
237 rc = ddi_soft_state_init(&g_pVBoxDrvSolarisState, sizeof(vbox_devstate_t), 8);
244 ddi_soft_state_fini(&g_pVBoxDrvSolarisState);
299 ddi_soft_state_fini(&g_pVBoxDrvSolarisState);
335 if (ddi_soft_state_zalloc(g_pVBoxDrvSolarisState, instance) != DDI_SUCCESS)
341 pState = ddi_get_soft_state(g_pVBoxDrvSolarisState, instance);
421 vbox_devstate_t *pState = ddi_get_soft_state(g_pVBoxDrvSolarisState, instance);
423 ddi_soft_state_free(g_pVBoxDrvSolarisState, instance);
493 if ( !ddi_get_soft_state(g_pVBoxDrvSolarisState, iOpenInstance) /* faster */
494 && ddi_soft_state_zalloc(g_pVBoxDrvSolarisState, iOpenInstance) == DDI_SUCCESS)
496 pState = ddi_get_soft_state(g_pVBoxDrvSolarisState, iOpenInstance);
523 ddi_soft_state_free(g_pVBoxDrvSolarisState, iOpenInstance);
554 vbox_devstate_t *pState = ddi_get_soft_state(g_pVBoxDrvSolarisState, instance);
580 vbox_devstate_t *pState = ddi_get_soft_state(g_pVBoxDrvSolarisState, getminor(Dev));
589 ddi_soft_state_free(g_pVBoxDrvSolarisState, getminor(Dev));
683 vbox_devstate_t *pState = ddi_get_soft_state(g_pVBoxDrvSolarisState, getminor(Dev));