Lines Matching refs:md_rdev

354 	struct md_rdev *rdev;  in raid10_end_read_request()
434 struct md_rdev *rdev = NULL; in raid10_end_write_request()
703 static struct md_rdev *read_balance(struct r10conf *conf, in read_balance()
712 struct md_rdev *best_dist_rdev, *best_pending_rdev, *rdev = NULL; in read_balance()
885 struct md_rdev *rdev = (void*)bio->bi_disk; in flush_pending_writes()
1037 struct md_rdev *rdev) in choose_data_offset()
1078 struct md_rdev *rdev = (void*)bio->bi_disk; in raid10_unplug()
1125 struct md_rdev *rdev; in raid10_read_request()
1128 struct md_rdev *err_rdev = NULL; in raid10_read_request()
1222 struct md_rdev *rdev; in raid10_write_one_disk()
1284 struct md_rdev *blocked_rdev; in raid10_write_request()
1349 struct md_rdev *rdev = rcu_dereference(conf->mirrors[d].rdev); in raid10_write_request()
1350 struct md_rdev *rrdev = rcu_dereference( in raid10_write_request()
1439 struct md_rdev *rdev; in raid10_write_request()
1558 struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); in raid10_status()
1589 struct md_rdev *rdev; in _enough()
1617 static void raid10_error(struct mddev *mddev, struct md_rdev *rdev) in raid10_error()
1658 struct md_rdev *rdev; in print_conf()
1737 static int raid10_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_add_disk()
1805 static int raid10_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_remove_disk()
1810 struct md_rdev **rdevp; in raid10_remove_disk()
1946 struct md_rdev *rdev = NULL; in end_sync_write()
2019 struct md_rdev *rdev; in sync_request_write()
2145 struct md_rdev *rdev; in fix_recovery_read_error()
2184 struct md_rdev *rdev2 = conf->mirrors[dw].rdev; in fix_recovery_read_error()
2251 static void check_decay_read_errors(struct mddev *mddev, struct md_rdev *rdev) in check_decay_read_errors()
2281 static int r10_sync_page_io(struct md_rdev *rdev, sector_t sector, in r10_sync_page_io()
2317 struct md_rdev *rdev; in fix_read_error()
2503 struct md_rdev *rdev = conf->mirrors[r10_bio->devs[i].devnum].rdev; in narrow_write_error()
2564 struct md_rdev *rdev = r10_bio->devs[slot].rdev; in handle_read_error()
2602 struct md_rdev *rdev; in handle_write_completed()
2962 struct md_rdev *rdev = in raid10_sync_request()
3035 struct md_rdev *mrdev, *mreplace; in raid10_sync_request()
3109 struct md_rdev *rdev = rcu_dereference( in raid10_sync_request()
3125 struct md_rdev *rdev = in raid10_sync_request()
3321 struct md_rdev *rdev; in raid10_sync_request()
3721 struct md_rdev *rdev; in raid10_run()
3987 struct md_rdev *rdev; in raid10_takeover_raid0()
4115 struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); in calc_degraded()
4131 struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); in calc_degraded()
4167 struct md_rdev *rdev; in raid10_start_reshape()
4414 struct md_rdev *rdev; in reshape_request()
4586 struct md_rdev *rdev2; in reshape_request()
4677 struct md_rdev *rdev; in reshape_request_write()
4765 struct md_rdev *rdev = rcu_dereference(conf->mirrors[d].rdev); in handle_reshape_read_error()
4814 struct md_rdev *rdev = NULL; in end_reshape_write()
4861 struct md_rdev *rdev = rcu_dereference(conf->mirrors[d].rdev); in raid10_finish_reshape()