RAMDISK_MAJOR 348 drivers/block/brd.c MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR); RAMDISK_MAJOR 397 drivers/block/brd.c disk->major = RAMDISK_MAJOR; RAMDISK_MAJOR 512 drivers/block/brd.c if (register_blkdev(RAMDISK_MAJOR, "ramdisk")) RAMDISK_MAJOR 535 drivers/block/brd.c blk_register_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS, RAMDISK_MAJOR 546 drivers/block/brd.c unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); RAMDISK_MAJOR 559 drivers/block/brd.c blk_unregister_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS); RAMDISK_MAJOR 560 drivers/block/brd.c unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); RAMDISK_MAJOR 12 include/linux/root_dev.h Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0), RAMDISK_MAJOR 13 include/linux/root_dev.h Root_RAM1 = MKDEV(RAMDISK_MAJOR, 1), RAMDISK_MAJOR 290 init/do_mounts_rd.c create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n));