Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/uapi/linux/raid/
A Dmd_u.h43 #define RAID_AUTORUN _IO (MD_MAJOR, 0x14)
47 #define CLEAR_ARRAY _IO (MD_MAJOR, 0x20)
49 #define HOT_REMOVE_DISK _IO (MD_MAJOR, 0x22)
51 #define SET_DISK_INFO _IO (MD_MAJOR, 0x24)
52 #define WRITE_RAID_INFO _IO (MD_MAJOR, 0x25)
53 #define UNPROTECT_ARRAY _IO (MD_MAJOR, 0x26)
54 #define PROTECT_ARRAY _IO (MD_MAJOR, 0x27)
55 #define HOT_ADD_DISK _IO (MD_MAJOR, 0x28)
56 #define SET_DISK_FAULTY _IO (MD_MAJOR, 0x29)
63 #define STOP_ARRAY _IO (MD_MAJOR, 0x32)
[all …]
/linux-6.3-rc2/include/uapi/linux/
A Dmajor.h25 #define MD_MAJOR 9 macro
/linux-6.3-rc2/drivers/md/
A Dmd-autodetect.c136 mdev = MKDEV(MD_MAJOR, args->minor); in md_setup_drive()
A Dmd.c717 dev = MKDEV(MD_MAJOR, next_minor); in mddev_alloc_unit()
734 if (unit && MAJOR(unit) != MD_MAJOR) in mddev_alloc()
748 if (MAJOR(unit) == MD_MAJOR) in mddev_alloc()
5621 partitioned = (MAJOR(mddev->unit) != MD_MAJOR); in md_alloc()
5713 if (MAJOR(dev) == MD_MAJOR && MINOR(dev) >= 512) in md_probe()
5743 return md_alloc_and_put(MKDEV(MD_MAJOR, devnum), NULL); in add_named_array()
6491 dev = MKDEV(MD_MAJOR, rdev0->preferred_minor); in autorun_devices()
9643 ret = __register_blkdev(MD_MAJOR, "md", md_probe); in md_init()
9659 unregister_blkdev(MD_MAJOR, "md"); in md_init()
9923 unregister_blkdev(MD_MAJOR,"md"); in md_exit()
[all …]

Completed in 50 milliseconds