Searched refs:MD_MAJOR (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/include/uapi/linux/raid/ |
H A D | md_u.h | 39 #define RAID_VERSION _IOR (MD_MAJOR, 0x10, mdu_version_t) 40 #define GET_ARRAY_INFO _IOR (MD_MAJOR, 0x11, mdu_array_info_t) 41 #define GET_DISK_INFO _IOR (MD_MAJOR, 0x12, mdu_disk_info_t) 42 #define RAID_AUTORUN _IO (MD_MAJOR, 0x14) 43 #define GET_BITMAP_FILE _IOR (MD_MAJOR, 0x15, mdu_bitmap_file_t) 46 #define CLEAR_ARRAY _IO (MD_MAJOR, 0x20) 47 #define ADD_NEW_DISK _IOW (MD_MAJOR, 0x21, mdu_disk_info_t) 48 #define HOT_REMOVE_DISK _IO (MD_MAJOR, 0x22) 49 #define SET_ARRAY_INFO _IOW (MD_MAJOR, 0x23, mdu_array_info_t) 50 #define SET_DISK_INFO _IO (MD_MAJOR, 0x24) 51 #define WRITE_RAID_INFO _IO (MD_MAJOR, 0x25) 52 #define UNPROTECT_ARRAY _IO (MD_MAJOR, 0x26) 53 #define PROTECT_ARRAY _IO (MD_MAJOR, 0x27) 54 #define HOT_ADD_DISK _IO (MD_MAJOR, 0x28) 55 #define SET_DISK_FAULTY _IO (MD_MAJOR, 0x29) 56 #define HOT_GENERATE_ERROR _IO (MD_MAJOR, 0x2a) 57 #define SET_BITMAP_FILE _IOW (MD_MAJOR, 0x2b, int) 60 #define RUN_ARRAY _IOW (MD_MAJOR, 0x30, mdu_param_t) 62 #define STOP_ARRAY _IO (MD_MAJOR, 0x32) 63 #define STOP_ARRAY_RO _IO (MD_MAJOR, 0x33) 64 #define RESTART_ARRAY_RW _IO (MD_MAJOR, 0x34) 65 #define CLUSTERED_DISK_NACK _IO (MD_MAJOR, 0x35)
|
/linux-4.4.14/include/uapi/linux/ |
H A D | major.h | 24 #define MD_MAJOR 9 macro
|
/linux-4.4.14/init/ |
H A D | do_mounts_md.c | 147 dev = MKDEV(MD_MAJOR, minor); md_setup_drive() 305 create_dev("/dev/md0", MKDEV(MD_MAJOR, 0)); md_run_setup()
|
/linux-4.4.14/drivers/md/ |
H A D | md.c | 522 if (unit && MAJOR(unit) != MD_MAJOR) mddev_find() 550 dev = MKDEV(MD_MAJOR, next_minor); mddev_find() 582 if (MAJOR(unit) == MD_MAJOR) mddev_find() 4987 partitioned = (MAJOR(mddev->unit) != MD_MAJOR); md_alloc() 5760 dev = MKDEV(MD_MAJOR, rdev0->preferred_minor); autorun_devices() 9050 if ((ret = register_blkdev(MD_MAJOR, "md")) < 0) md_init() 9057 blk_register_region(MKDEV(MD_MAJOR, 0), 512, THIS_MODULE, md_init() 9069 unregister_blkdev(MD_MAJOR, "md"); md_init() 9275 blk_unregister_region(MKDEV(MD_MAJOR,0), 512); md_exit() 9278 unregister_blkdev(MD_MAJOR,"md"); md_exit() 9322 MODULE_ALIAS_BLOCKDEV_MAJOR(MD_MAJOR); variable
|
Completed in 276 milliseconds