Lines Matching refs:mdp_disk_t
96 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()
146 static inline void mark_disk_inactive(mdp_disk_t * d) in mark_disk_inactive()
151 static inline void mark_disk_nonsync(mdp_disk_t * d) in mark_disk_nonsync()
240 int (*diskop) (mddev_t *mddev, mdp_disk_t **descriptor, int state);
265 extern mdp_disk_t *get_spare(mddev_t *mddev);