Home
last modified time | relevance | path

Searched refs:FLOPPY_MAJOR (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/block/
Dswim.c845 err = register_blkdev(FLOPPY_MAJOR, "fd"); in swim_floppy_init()
848 FLOPPY_MAJOR); in swim_floppy_init()
874 swd->unit[drive].disk->major = FLOPPY_MAJOR; in swim_floppy_init()
883 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in swim_floppy_init()
889 unregister_blkdev(FLOPPY_MAJOR, "fd"); in swim_floppy_init()
959 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in swim_remove()
967 unregister_blkdev(FLOPPY_MAJOR, "fd"); in swim_remove()
1008 MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR);
Dataflop.c1931 if (register_blkdev(FLOPPY_MAJOR,"fd")) in atari_floppy_init()
1964 unit[i].disk->major = FLOPPY_MAJOR; in atari_floppy_init()
1977 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in atari_floppy_init()
1995 unregister_blkdev(FLOPPY_MAJOR, "fd"); in atari_floppy_init()
2041 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in atari_floppy_exit()
2049 unregister_blkdev(FLOPPY_MAJOR, "fd"); in atari_floppy_exit()
Damiflop.c1737 disk->major = FLOPPY_MAJOR; in fd_probe_drives()
1768 if (register_blkdev(FLOPPY_MAJOR,"fd")) in amiga_floppy_probe()
1793 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in amiga_floppy_probe()
1830 unregister_blkdev(FLOPPY_MAJOR,"fd"); in amiga_floppy_probe()
1849 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256);
1854 unregister_blkdev(FLOPPY_MAJOR, "fd");
Dswim3.c1232 if (register_blkdev(FLOPPY_MAJOR, "fd")) in swim3_attach()
1236 disk->major = FLOPPY_MAJOR; in swim3_attach()
1289 MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR);
Dfloppy.c4544 disks[drive]->major = FLOPPY_MAJOR; in do_floppy_init()
4552 err = register_blkdev(FLOPPY_MAJOR, "fd"); in do_floppy_init()
4560 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in do_floppy_init()
4698 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in do_floppy_init()
4701 unregister_blkdev(FLOPPY_MAJOR, "fd"); in do_floppy_init()
4924 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in floppy_module_exit()
4925 unregister_blkdev(FLOPPY_MAJOR, "fd"); in floppy_module_exit()
4983 MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR);
/Linux-v4.19/include/linux/
Droot_dev.h13 Root_FD0 = MKDEV(FLOPPY_MAJOR, 0),
/Linux-v4.19/include/uapi/linux/
Dmajor.h13 #define FLOPPY_MAJOR 2 macro
/Linux-v4.19/init/
Ddo_mounts.c513 if (MAJOR(ROOT_DEV) == FLOPPY_MAJOR) { in mount_root()
584 is_floppy = MAJOR(ROOT_DEV) == FLOPPY_MAJOR; in prepare_namespace()