Lines Matching defs:Dev

68 static int VBoxGuestSolarisClose(dev_t Dev, int fFlag, int fType, cred_t *pCred);
69 static int VBoxGuestSolarisRead(dev_t Dev, struct uio *pUio, cred_t *pCred);
70 static int VBoxGuestSolarisWrite(dev_t Dev, struct uio *pUio, cred_t *pCred);
71 static int VBoxGuestSolarisIOCtl(dev_t Dev, int Cmd, intptr_t pArg, int Mode, cred_t *pCred, int *pVal);
72 static int VBoxGuestSolarisPoll(dev_t Dev, short fEvents, int fAnyYet, short *pReqEvents, struct pollhead **ppPollHead);
535 static int VBoxGuestSolarisClose(dev_t Dev, int flag, int fType, cred_t *pCred)
540 vboxguest_state_t *pState = ddi_get_soft_state(g_pVBoxGuestSolarisState, getminor(Dev));
551 ddi_soft_state_free(g_pVBoxGuestSolarisState, getminor(Dev));
566 static int VBoxGuestSolarisRead(dev_t Dev, struct uio *pUio, cred_t *pCred)
570 vboxguest_state_t *pState = ddi_get_soft_state(g_pVBoxGuestSolarisState, getminor(Dev));
586 static int VBoxGuestSolarisWrite(dev_t Dev, struct uio *pUio, cred_t *pCred)
605 * @param Dev Device number
614 static int VBoxGuestSolarisIOCtl(dev_t Dev, int Cmd, intptr_t pArg, int Mode, cred_t *pCred, int *pVal)
621 vboxguest_state_t *pState = ddi_get_soft_state(g_pVBoxGuestSolarisState, getminor(Dev));
624 LogRel((DEVICE_NAME "::IOCtl: no state data for %d\n", getminor(Dev)));
631 LogRel((DEVICE_NAME "::IOCtl: no session data for %d\n", getminor(Dev)));
735 static int VBoxGuestSolarisPoll(dev_t Dev, short fEvents, int fAnyYet, short *pReqEvents, struct pollhead **ppPollHead)
739 vboxguest_state_t *pState = ddi_get_soft_state(g_pVBoxGuestSolarisState, getminor(Dev));
760 Log((DEVICE_NAME "::Poll: no state data for %d\n", getminor(Dev)));