Lines Matching defs:pState
497 vboxguest_state_t *pState = NULL;
504 pState = ddi_get_soft_state(g_pVBoxGuestSolarisState, iOpenInstance);
508 if (!pState)
520 pState->pvProcRef = proc_ref();
521 pState->pSession = pSession;
523 Log((DEVICE_NAME "::Open: pSession=%p pState=%p pid=%d\n", pSession, pState, (int)RTProcSelf()));
540 vboxguest_state_t *pState = ddi_get_soft_state(g_pVBoxGuestSolarisState, getminor(Dev));
541 if (!pState)
543 Log((DEVICE_NAME "::Close: failed to get pState.\n"));
547 proc_unref(pState->pvProcRef);
548 pSession = pState->pSession;
549 pState->pSession = NULL;
550 Log((DEVICE_NAME "::Close: pSession=%p pState=%p\n", pSession, pState));
570 vboxguest_state_t *pState = ddi_get_soft_state(g_pVBoxGuestSolarisState, getminor(Dev));
571 if (!pState)
573 Log((DEVICE_NAME "::Close: failed to get pState.\n"));
577 PVBOXGUESTSESSION pSession = pState->pSession;
621 vboxguest_state_t *pState = ddi_get_soft_state(g_pVBoxGuestSolarisState, getminor(Dev));
622 if (!pState)
628 PVBOXGUESTSESSION pSession = pState->pSession;
739 vboxguest_state_t *pState = ddi_get_soft_state(g_pVBoxGuestSolarisState, getminor(Dev));
740 if (RT_LIKELY(pState))
742 PVBOXGUESTSESSION pSession = (PVBOXGUESTSESSION)pState->pSession;