Lines Matching refs:md_rdev

383 	struct md_rdev *rdev;  in raid10_end_read_request()
462 struct md_rdev *rdev = NULL; in raid10_end_write_request()
731 static struct md_rdev *read_balance(struct r10conf *conf, in read_balance()
740 struct md_rdev *best_dist_rdev, *best_pending_rdev, *rdev = NULL; in read_balance()
912 struct md_rdev *rdev = (void*)bio->bi_bdev; in flush_pending_writes()
1094 struct md_rdev *rdev) in choose_data_offset()
1127 struct md_rdev *rdev = (void*)bio->bi_bdev; in raid10_unplug()
1183 struct md_rdev *rdev; in raid10_read_request()
1186 struct md_rdev *err_rdev = NULL; in raid10_read_request()
1281 struct md_rdev *rdev; in raid10_write_one_disk()
1338 struct md_rdev *blocked_rdev; in wait_blocked_dev()
1344 struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); in wait_blocked_dev()
1345 struct md_rdev *rrdev = rcu_dereference( in wait_blocked_dev()
1475 struct md_rdev *rdev = rcu_dereference(conf->mirrors[d].rdev); in raid10_write_request()
1476 struct md_rdev *rrdev = rcu_dereference( in raid10_write_request()
1612 struct md_rdev *rdev = NULL; in raid10_end_discard_request()
1785 struct md_rdev *rdev = rcu_dereference(conf->mirrors[disk].rdev); in raid10_handle_discard()
1786 struct md_rdev *rrdev = rcu_dereference( in raid10_handle_discard()
1848 struct md_rdev *rdev = conf->mirrors[disk].rdev; in raid10_handle_discard()
1862 struct md_rdev *rrdev = conf->mirrors[disk].replacement; in raid10_handle_discard()
1954 struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); in raid10_status()
1985 struct md_rdev *rdev; in _enough()
2028 static void raid10_error(struct mddev *mddev, struct md_rdev *rdev) in raid10_error()
2061 struct md_rdev *rdev; in print_conf()
2139 static int raid10_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_add_disk()
2205 static int raid10_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_remove_disk()
2210 struct md_rdev **rdevp; in raid10_remove_disk()
2349 struct md_rdev *rdev = NULL; in end_sync_write()
2422 struct md_rdev *rdev; in sync_request_write()
2546 struct md_rdev *rdev; in fix_recovery_read_error()
2585 struct md_rdev *rdev2 = conf->mirrors[dw].rdev; in fix_recovery_read_error()
2652 static void check_decay_read_errors(struct mddev *mddev, struct md_rdev *rdev) in check_decay_read_errors()
2682 static int r10_sync_page_io(struct md_rdev *rdev, sector_t sector, in r10_sync_page_io()
2718 struct md_rdev *rdev; in fix_read_error()
2896 struct md_rdev *rdev = conf->mirrors[r10_bio->devs[i].devnum].rdev; in narrow_write_error()
2957 struct md_rdev *rdev = r10_bio->devs[slot].rdev; in handle_read_error()
2995 struct md_rdev *rdev; in handle_write_completed()
3355 struct md_rdev *rdev = in raid10_sync_request()
3428 struct md_rdev *mrdev, *mreplace; in raid10_sync_request()
3502 struct md_rdev *rdev = rcu_dereference( in raid10_sync_request()
3518 struct md_rdev *rdev = in raid10_sync_request()
3714 struct md_rdev *rdev; in raid10_sync_request()
4114 struct md_rdev *rdev; in raid10_run()
4365 struct md_rdev *rdev; in raid10_takeover_raid0()
4493 struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); in calc_degraded()
4509 struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); in calc_degraded()
4545 struct md_rdev *rdev; in raid10_start_reshape()
4792 struct md_rdev *rdev; in reshape_request()
4958 struct md_rdev *rdev2; in reshape_request()
5049 struct md_rdev *rdev; in reshape_request_write()
5137 struct md_rdev *rdev = rcu_dereference(conf->mirrors[d].rdev); in handle_reshape_read_error()
5186 struct md_rdev *rdev = NULL; in end_reshape_write()
5233 struct md_rdev *rdev = rcu_dereference(conf->mirrors[d].rdev); in raid10_finish_reshape()