Home
last modified time | relevance | path

Searched refs:mdp_disk_t (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/include/linux/raid/
Dmd_k.h96 static inline int disk_faulty(mdp_disk_t * d) in disk_faulty()
101 static inline int disk_active(mdp_disk_t * d) in disk_active()
106 static inline int disk_sync(mdp_disk_t * d) in disk_sync()
111 static inline int disk_spare(mdp_disk_t * d) in disk_spare()
116 static inline int disk_removed(mdp_disk_t * d) in disk_removed()
121 static inline void mark_disk_faulty(mdp_disk_t * d) in mark_disk_faulty()
126 static inline void mark_disk_active(mdp_disk_t * d) in mark_disk_active()
131 static inline void mark_disk_sync(mdp_disk_t * d) in mark_disk_sync()
136 static inline void mark_disk_spare(mdp_disk_t * d) in mark_disk_spare()
141 static inline void mark_disk_removed(mdp_disk_t * d) in mark_disk_removed()
[all …]
Dmd_p.h89 } mdp_disk_t; typedef
152 mdp_disk_t disks[MD_SB_DISKS];
162 mdp_disk_t this_disk;
Dmd.h77 extern int md_do_sync(mddev_t *mddev, mdp_disk_t *spare);
/linux-2.4.37.9/drivers/md/
Dmultipath.c54 static int multipath_diskop(mddev_t *mddev, mdp_disk_t **d, int state);
371 mdp_disk_t *spare; in multipath_error()
420 static int multipath_diskop(mddev_t *mddev, mdp_disk_t **d, int state) in multipath_diskop()
427 mdp_disk_t *failed_desc, *spare_desc, *added_desc; in multipath_diskop()
832 mdp_disk_t *desc, *desc2; in multipath_run()
Dmd.c396 static void remove_descriptor(mdp_disk_t *disk, mdp_super_t *sb) in remove_descriptor()
768 static void print_desc(mdp_disk_t *desc) in print_desc()
793 mdp_disk_t *desc; in print_sb()
966 mdp_disk_t *desc; in set_this_disk()
1288 mdp_disk_t *desc; in analyze_sbs()
1312 memset(&(sb->disks[i]),0,sizeof(mdp_disk_t)); in analyze_sbs()
1352 mdp_disk_t *desc; in analyze_sbs()
1383 mdp_disk_t *desc; in analyze_sbs()
1440 mdp_disk_t *desc; in analyze_sbs()
2083 mdp_disk_t *desc; in autostart_array()
[all …]
Draid1.c884 static int raid1_diskop(mddev_t *mddev, mdp_disk_t **d, int state) in raid1_diskop()
891 mdp_disk_t *failed_desc, *spare_desc, *added_desc; in raid1_diskop()
1585 mdp_disk_t *descriptor; in raid1_run()
Draid5.c1371 mdp_disk_t *desc; in raid5_run()
1737 static int raid5_diskop(mddev_t *mddev, mdp_disk_t **d, int state)
1744 mdp_disk_t *failed_desc, *spare_desc, *added_desc;