Lines Matching refs:md_rdev

641 		struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev);  in raid5_calc_degraded()
667 struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev); in raid5_calc_degraded()
1075 struct md_rdev *rdev, *rrdev = NULL; in ops_run_io()
2668 struct md_rdev *rdev = NULL; in raid5_end_read_request()
2798 struct md_rdev *rdev; in raid5_end_write_request()
2872 static void raid5_error(struct mddev *mddev, struct md_rdev *rdev) in raid5_error()
3560 struct md_rdev *rdev; in handle_failed_stripe()
3688 struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev); in handle_failed_sync()
3713 struct md_rdev *rdev; in want_replace()
4602 struct md_rdev *rdev; in analyse_stripe()
4703 struct md_rdev *rdev2 = rcu_dereference( in analyse_stripe()
4716 struct md_rdev *rdev2 = rcu_dereference( in analyse_stripe()
4725 struct md_rdev *rdev2 = rcu_dereference( in analyse_stripe()
5226 struct md_rdev *rdev; in handle_stripe()
5369 struct md_rdev *rdev; in raid5_align_endio()
5398 struct md_rdev *rdev; in raid5_read_one_chunk()
5954 struct md_rdev *rdev; in reshape_request()
6287 struct md_rdev *rdev = READ_ONCE(conf->disks[i].rdev); in raid5_sync_request()
7158 struct md_rdev *rdev; in setup_conf()
7442 struct md_rdev *rdev; in raid5_run()
7443 struct md_rdev *journal_dev = NULL; in raid5_run()
7806 struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev); in raid5_status()
7880 static int raid5_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid5_remove_disk()
7885 struct md_rdev **rdevp; in raid5_remove_disk()
7965 static int raid5_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid5_add_disk()
8150 struct md_rdev *rdev; in raid5_start_reshape()
8292 struct md_rdev *rdev; in end_reshape()
8330 struct md_rdev *rdev = conf->disks[d].rdev; in raid5_finish_reshape()
8651 struct md_rdev *rdev; in raid5_change_consistency_policy()