Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Droot_dev.h12 Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0),
13 Root_RAM1 = MKDEV(RAMDISK_MAJOR, 1),
/linux-6.3-rc2/drivers/block/
A Dbrd.c339 MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
387 disk->major = RAMDISK_MAJOR; in brd_alloc()
491 if (__register_blkdev(RAMDISK_MAJOR, "ramdisk", brd_probe)) { in brd_init()
509 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); in brd_exit()
/linux-6.3-rc2/include/uapi/linux/
A Dmajor.h12 #define RAMDISK_MAJOR 1 macro
/linux-6.3-rc2/init/
A Ddo_mounts_rd.c282 create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n)); in rd_load_disk()

Completed in 6 milliseconds