Home
last modified time | relevance | path

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

/linux-6.6.21/include/uapi/linux/raid/
Dmd_u.h40 #define RAID_VERSION _IOR (MD_MAJOR, 0x10, mdu_version_t)
41 #define GET_ARRAY_INFO _IOR (MD_MAJOR, 0x11, mdu_array_info_t)
42 #define GET_DISK_INFO _IOR (MD_MAJOR, 0x12, mdu_disk_info_t)
43 #define RAID_AUTORUN _IO (MD_MAJOR, 0x14)
44 #define GET_BITMAP_FILE _IOR (MD_MAJOR, 0x15, mdu_bitmap_file_t)
47 #define CLEAR_ARRAY _IO (MD_MAJOR, 0x20)
48 #define ADD_NEW_DISK _IOW (MD_MAJOR, 0x21, mdu_disk_info_t)
49 #define HOT_REMOVE_DISK _IO (MD_MAJOR, 0x22)
50 #define SET_ARRAY_INFO _IOW (MD_MAJOR, 0x23, mdu_array_info_t)
51 #define SET_DISK_INFO _IO (MD_MAJOR, 0x24)
[all …]
/linux-6.6.21/include/uapi/linux/
Dmajor.h25 #define MD_MAJOR 9 macro
/linux-6.6.21/drivers/md/
Dmd-autodetect.c136 mdev = MKDEV(MD_MAJOR, args->minor); in md_setup_drive()
Dmd.c702 dev = MKDEV(MD_MAJOR, next_minor); in mddev_alloc_unit()
719 if (unit && MAJOR(unit) != MD_MAJOR) in mddev_alloc()
733 if (MAJOR(unit) == MD_MAJOR) in mddev_alloc()
5696 partitioned = (MAJOR(mddev->unit) != MD_MAJOR); in md_alloc()
5788 if (MAJOR(dev) == MD_MAJOR && MINOR(dev) >= 512) in md_probe()
5818 return md_alloc_and_put(MKDEV(MD_MAJOR, devnum), NULL); in add_named_array()
6584 dev = MKDEV(MD_MAJOR, rdev0->preferred_minor); in autorun_devices()
9743 ret = __register_blkdev(MD_MAJOR, "md", md_probe); in md_init()
9759 unregister_blkdev(MD_MAJOR, "md"); in md_init()
10023 unregister_blkdev(MD_MAJOR,"md"); in md_exit()
[all …]