Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Droot_dev.h10 Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0),
11 Root_RAM1 = MKDEV(RAMDISK_MAJOR, 1),
/linux-4.1.27/drivers/block/
Dbrd.c454 MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
510 disk->major = RAMDISK_MAJOR; in brd_alloc()
601 if (register_blkdev(RAMDISK_MAJOR, "ramdisk")) in brd_init()
619 blk_register_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS, in brd_init()
630 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); in brd_init()
643 blk_unregister_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS); in brd_exit()
644 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); in brd_exit()
/linux-4.1.27/include/uapi/linux/
Dmajor.h11 #define RAMDISK_MAJOR 1 macro
/linux-4.1.27/init/
Ddo_mounts_rd.c306 create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n)); in rd_load_disk()