Home
last modified time | relevance | path

Searched refs:mdevCMajor (Results 1 – 1 of 1) sorted by relevance

/xnu-11215/bsd/dev/
H A Dmemdev.c177 int mdevCMajor = -1; variable
672 …if (mdevCMajor < 0) { /* Have we gotten… in mdevadd()
673mdevCMajor = cdevsw_add_with_bdev(-1, &mdevcdevsw, mdevBMajor); /* Add to the table and fi… in mdevadd()
674 if (mdevCMajor < 0) { in mdevadd()
675 printf("ramdevice_init: error - cdevsw_add() returned %d\n", mdevCMajor); in mdevadd()
689 mdev[devid].mdCDev = makedev(mdevCMajor, devid); /* Get the device number */ in mdevadd()