Searched refs:FLOPPY_MAJOR (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/block/ |
| D | swim.c | 823 err = register_blkdev(FLOPPY_MAJOR, "fd"); in swim_floppy_init() 826 FLOPPY_MAJOR); in swim_floppy_init() 857 swd->unit[drive].disk->major = FLOPPY_MAJOR; in swim_floppy_init() 867 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in swim_floppy_init() 873 unregister_blkdev(FLOPPY_MAJOR, "fd"); in swim_floppy_init() 953 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in swim_remove() 962 unregister_blkdev(FLOPPY_MAJOR, "fd"); in swim_remove() 1003 MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR);
|
| D | ataflop.c | 1983 if (register_blkdev(FLOPPY_MAJOR,"fd")) in atari_floppy_init() 2029 unit[i].disk->major = FLOPPY_MAJOR; in atari_floppy_init() 2039 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in atari_floppy_init() 2058 unregister_blkdev(FLOPPY_MAJOR, "fd"); in atari_floppy_init() 2104 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in atari_floppy_exit() 2111 unregister_blkdev(FLOPPY_MAJOR, "fd"); in atari_floppy_exit()
|
| D | swim3.c | 1183 rc = register_blkdev(FLOPPY_MAJOR, "fd"); in swim3_attach() 1211 disk->major = FLOPPY_MAJOR; in swim3_attach() 1232 unregister_blkdev(FLOPPY_MAJOR, "fd"); in swim3_attach() 1277 MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR);
|
| D | amiflop.c | 1830 disk->major = FLOPPY_MAJOR; in fd_probe_drives() 1862 if (register_blkdev(FLOPPY_MAJOR,"fd")) in amiga_floppy_probe() 1887 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in amiga_floppy_probe() 1924 unregister_blkdev(FLOPPY_MAJOR,"fd"); in amiga_floppy_probe()
|
| D | floppy.c | 4571 disks[drive]->major = FLOPPY_MAJOR; in do_floppy_init() 4580 err = register_blkdev(FLOPPY_MAJOR, "fd"); in do_floppy_init() 4588 blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE, in do_floppy_init() 4726 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in do_floppy_init() 4729 unregister_blkdev(FLOPPY_MAJOR, "fd"); in do_floppy_init() 4953 blk_unregister_region(MKDEV(FLOPPY_MAJOR, 0), 256); in floppy_module_exit() 4954 unregister_blkdev(FLOPPY_MAJOR, "fd"); in floppy_module_exit() 5013 MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR);
|
| /Linux-v5.4/include/linux/ |
| D | root_dev.h | 14 Root_FD0 = MKDEV(FLOPPY_MAJOR, 0),
|
| /Linux-v5.4/include/uapi/linux/ |
| D | major.h | 13 #define FLOPPY_MAJOR 2 macro
|
| /Linux-v5.4/init/ |
| D | do_mounts.c | 546 if (MAJOR(ROOT_DEV) == FLOPPY_MAJOR) { in mount_root() 617 is_floppy = MAJOR(ROOT_DEV) == FLOPPY_MAJOR; in prepare_namespace()
|