Searched defs:g_iMajorDeviceNo (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Additions/common/VBoxGuest/
H A DVBoxGuest-darwin.cpp212 static int g_iMajorDeviceNo = -1; variable
273 g_iMajorDeviceNo = cdevsw_add(-1, &g_DevCW);
274 if (g_iMajorDeviceNo < 0)
280 g_hDevFsDeviceSys = devfs_make_node(makedev(g_iMajorDeviceNo, 0), DEVFS_CHAR,
337 if (g_iMajorDeviceNo != -1)
339 int rc2 = cdevsw_remove(g_iMajorDeviceNo, &g_DevCW);
340 Assert(rc2 == g_iMajorDeviceNo);
341 g_iMajorDeviceNo = -1;
/vbox/src/VBox/HostDrivers/Support/darwin/
H A DSUPDrv-darwin.cpp217 static int g_iMajorDeviceNo = -1; variable
289 g_iMajorDeviceNo = cdevsw_add(-1, &g_DevCW);
290 if (g_iMajorDeviceNo >= 0)
293 g_hDevFsDeviceSys = devfs_make_node(makedev(g_iMajorDeviceNo, 0), DEVFS_CHAR,
296 g_hDevFsDeviceSys = devfs_make_node(makedev(g_iMajorDeviceNo, 0), DEVFS_CHAR,
301 g_hDevFsDeviceUsr = devfs_make_node(makedev(g_iMajorDeviceNo, 1), DEVFS_CHAR,
306 VBOX_SVN_REV, SUPDRV_IOC_VERSION, SUPDRV_IDC_VERSION, g_iMajorDeviceNo));
318 LogRel(("VBoxDrv: devfs_make_node(makedev(%d,1),,,,%s) failed\n", g_iMajorDeviceNo, DEVICE_NAME_USR));
323 LogRel(("VBoxDrv: devfs_make_node(makedev(%d,0),,,,%s) failed\n", g_iMajorDeviceNo, DEVICE_NAME_SYS));
325 cdevsw_remove(g_iMajorDeviceNo,
[all...]

Completed in 36 milliseconds