Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/block/
H A Dbrd.c353 MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
399 disk->major = RAMDISK_MAJOR; in brd_alloc()
513 if (register_blkdev(RAMDISK_MAJOR, "ramdisk")) in brd_init()
536 blk_register_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS, in brd_init()
547 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); in brd_init()
560 blk_unregister_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS); in brd_exit()
561 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); in brd_exit()
/OK3568_Linux_fs/kernel/include/linux/
H A Droot_dev.h12 Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0),
13 Root_RAM1 = MKDEV(RAMDISK_MAJOR, 1),
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dmajor.h12 #define RAMDISK_MAJOR 1 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dmajor.h12 #define RAMDISK_MAJOR 1 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dmajor.h12 #define RAMDISK_MAJOR 1 macro
/OK3568_Linux_fs/kernel/init/
H A Ddo_mounts_rd.c282 create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n)); in rd_load_disk()