Searched defs:iOpenInstance (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/HostDrivers/Support/solaris/ |
H A D | SUPDrv-solaris.c | 490 unsigned iOpenInstance; local 491 for (iOpenInstance = 0; iOpenInstance < 4096; iOpenInstance++) 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); 516 *pDev = makedevice(getmajor(*pDev), iOpenInstance); 523 ddi_soft_state_free(g_pVBoxDrvSolarisState, iOpenInstance);
|
/vbox/src/VBox/HostDrivers/VBoxUSB/solaris/ |
H A D | VBoxUSBMon-solaris.c | 415 unsigned iOpenInstance; local 450 for (iOpenInstance = 0; iOpenInstance < 4096; iOpenInstance++) 452 if ( !ddi_get_soft_state(g_pVBoxUSBMonSolarisState, iOpenInstance) /* faster */ 453 && ddi_soft_state_zalloc(g_pVBoxUSBMonSolarisState, iOpenInstance) == DDI_SUCCESS) 455 pState = ddi_get_soft_state(g_pVBoxUSBMonSolarisState, iOpenInstance); 469 *pDev = makedevice(getmajor(*pDev), iOpenInstance);
|
/vbox/src/VBox/Additions/common/VBoxGuest/ |
H A D | VBoxGuest-solaris.c | 498 unsigned iOpenInstance; local 499 for (iOpenInstance = 0; iOpenInstance < 4096; iOpenInstance++) 501 if ( !ddi_get_soft_state(g_pVBoxGuestSolarisState, iOpenInstance) /* faster */ 502 && ddi_soft_state_zalloc(g_pVBoxGuestSolarisState, iOpenInstance) == DDI_SUCCESS) 504 pState = ddi_get_soft_state(g_pVBoxGuestSolarisState, iOpenInstance); 522 *pDev = makedevice(getmajor(*pDev), iOpenInstance); 528 ddi_soft_state_free(g_pVBoxGuestSolarisState, iOpenInstance);
|
Completed in 49 milliseconds