Searched refs:RAMDISK_MAJOR (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/include/linux/ |
D | root_dev.h | 12 Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0), 13 Root_RAM1 = MKDEV(RAMDISK_MAJOR, 1),
|
/Linux-v5.4/drivers/block/ |
D | brd.c | 348 MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR); 397 disk->major = RAMDISK_MAJOR; in brd_alloc() 493 if (register_blkdev(RAMDISK_MAJOR, "ramdisk")) in brd_init() 517 blk_register_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS, in brd_init() 528 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); in brd_init() 541 blk_unregister_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS); in brd_exit() 542 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); in brd_exit()
|
/Linux-v5.4/include/uapi/linux/ |
D | major.h | 12 #define RAMDISK_MAJOR 1 macro
|
/Linux-v5.4/init/ |
D | do_mounts_rd.c | 290 create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n)); in rd_load_disk()
|