Lines Matching refs:md_rdev

48 struct md_rdev {  struct
218 static inline int is_badblock(struct md_rdev *rdev, sector_t s, int sectors, in is_badblock()
231 extern int rdev_set_badblocks(struct md_rdev *rdev, sector_t s, int sectors,
233 extern int rdev_clear_badblocks(struct md_rdev *rdev, sector_t s, int sectors,
504 void (*sync_super)(struct mddev *mddev, struct md_rdev *rdev);
581 void (*error_handler)(struct mddev *mddev, struct md_rdev *rdev);
582 int (*hot_add_disk) (struct mddev *mddev, struct md_rdev *rdev);
583 int (*hot_remove_disk) (struct mddev *mddev, struct md_rdev *rdev);
635 static inline int sysfs_link_rdev(struct mddev *mddev, struct md_rdev *rdev) in sysfs_link_rdev()
647 static inline void sysfs_unlink_rdev(struct mddev *mddev, struct md_rdev *rdev) in sysfs_unlink_rdev()
714 extern void md_error(struct mddev *mddev, struct md_rdev *rdev);
718 extern void md_super_write(struct mddev *mddev, struct md_rdev *rdev,
721 extern int sync_page_io(struct md_rdev *rdev, sector_t sector, int size,
727 extern void md_wait_for_blocked_rdev(struct md_rdev *rdev, struct mddev *mddev);
731 extern int md_integrity_add_rdev(struct md_rdev *rdev, struct mddev *mddev);
739 extern int md_rdev_init(struct md_rdev *rdev);
740 extern void md_rdev_clear(struct md_rdev *rdev);
750 extern void md_kick_rdev_from_array(struct md_rdev * rdev);
751 extern void mddev_create_serial_pool(struct mddev *mddev, struct md_rdev *rdev,
753 extern void mddev_destroy_serial_pool(struct mddev *mddev, struct md_rdev *rdev,
755 struct md_rdev *md_find_rdev_nr_rcu(struct mddev *mddev, int nr);
756 struct md_rdev *md_find_rdev_rcu(struct mddev *mddev, dev_t dev);
758 static inline bool is_mddev_broken(struct md_rdev *rdev, const char *md_type) in is_mddev_broken()
771 static inline void rdev_dec_pending(struct md_rdev *rdev, struct mddev *mddev) in rdev_dec_pending()