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,
529 void (*sync_super)(struct mddev *mddev, struct md_rdev *rdev);
606 void (*error_handler)(struct mddev *mddev, struct md_rdev *rdev);
607 int (*hot_add_disk) (struct mddev *mddev, struct md_rdev *rdev);
608 int (*hot_remove_disk) (struct mddev *mddev, struct md_rdev *rdev);
660 static inline int sysfs_link_rdev(struct mddev *mddev, struct md_rdev *rdev) in sysfs_link_rdev()
672 static inline void sysfs_unlink_rdev(struct mddev *mddev, struct md_rdev *rdev) in sysfs_unlink_rdev()
745 extern void md_error(struct mddev *mddev, struct md_rdev *rdev);
747 void md_submit_discard_bio(struct mddev *mddev, struct md_rdev *rdev,
754 extern void md_super_write(struct mddev *mddev, struct md_rdev *rdev,
757 extern int sync_page_io(struct md_rdev *rdev, sector_t sector, int size,
762 extern void md_wait_for_blocked_rdev(struct md_rdev *rdev, struct mddev *mddev);
766 extern int md_integrity_add_rdev(struct md_rdev *rdev, struct mddev *mddev);
776 extern int md_rdev_init(struct md_rdev *rdev);
777 extern void md_rdev_clear(struct md_rdev *rdev);
785 extern void md_kick_rdev_from_array(struct md_rdev * rdev);
786 extern void mddev_create_serial_pool(struct mddev *mddev, struct md_rdev *rdev,
788 extern void mddev_destroy_serial_pool(struct mddev *mddev, struct md_rdev *rdev,
790 struct md_rdev *md_find_rdev_nr_rcu(struct mddev *mddev, int nr);
791 struct md_rdev *md_find_rdev_rcu(struct mddev *mddev, dev_t dev);
793 static inline bool is_mddev_broken(struct md_rdev *rdev, const char *md_type) in is_mddev_broken()
804 static inline void rdev_dec_pending(struct md_rdev *rdev, struct mddev *mddev) in rdev_dec_pending()