Home
last modified time | relevance | path

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

/xnu-11215/bsd/dev/
H A Dmemdev.c176 int mdevBMajor = -1; variable
664 …if (mdevBMajor < 0) { /* Have we gotten… in mdevadd()
665mdevBMajor = bdevsw_add(-1, &mdevbdevsw); /* Add to the table and figure out a major… in mdevadd()
666 if (mdevBMajor < 0) { in mdevadd()
667 printf("mdevadd: error - bdevsw_add() returned %d\n", mdevBMajor); in mdevadd()
673 …mdevCMajor = cdevsw_add_with_bdev(-1, &mdevcdevsw, mdevBMajor); /* Add to the table and fi… in mdevadd()
680 mdev[devid].mdBDev = makedev(mdevBMajor, devid); /* Get the device number */ in mdevadd()