Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Droot_dev.h10 Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0),
11 Root_RAM1 = MKDEV(RAMDISK_MAJOR, 1),
/linux-4.4.14/drivers/block/
Dbrd.c457 MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
513 disk->major = RAMDISK_MAJOR; in brd_alloc()
604 if (register_blkdev(RAMDISK_MAJOR, "ramdisk")) in brd_init()
622 blk_register_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS, in brd_init()
633 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); in brd_init()
646 blk_unregister_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS); in brd_exit()
647 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); in brd_exit()
/linux-4.4.14/include/uapi/linux/
Dmajor.h11 #define RAMDISK_MAJOR 1 macro
/linux-4.4.14/init/
Ddo_mounts_rd.c306 create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n)); in rd_load_disk()