Searched refs:RAMDISK_MAJOR (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | root_dev.h | 10 Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0), 11 Root_RAM1 = MKDEV(RAMDISK_MAJOR, 1),
|
/linux-4.1.27/drivers/block/ |
H A D | brd.c | 454 MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR); variable 510 disk->major = RAMDISK_MAJOR; brd_alloc() 601 if (register_blkdev(RAMDISK_MAJOR, "ramdisk")) brd_init() 619 blk_register_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS, brd_init() 630 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); brd_init() 643 blk_unregister_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS); brd_exit() 644 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); brd_exit()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | major.h | 11 #define RAMDISK_MAJOR 1 macro
|
/linux-4.1.27/arch/sparc/boot/ |
H A D | piggyback.c | 230 * root_dev = 1 (RAMDISK_MAJOR) main()
|
/linux-4.1.27/init/ |
H A D | do_mounts_rd.c | 306 create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n)); rd_load_disk()
|
Completed in 166 milliseconds