Lines Matching defs:mddev
276 struct mddev *mddev = r10_bio->mddev; in reschedule_retry() local
685 static int raid10_mergeable_bvec(struct mddev *mddev, in raid10_mergeable_bvec()
912 static int raid10_congested(struct mddev *mddev, int bits) in raid10_congested()
1110 struct mddev *mddev = plug->cb.data; in raid10_unplug() local
1144 static void __make_request(struct mddev *mddev, struct bio *bio) in __make_request()
1536 static void make_request(struct mddev *mddev, struct bio *bio) in make_request()
1578 static void status(struct seq_file *seq, struct mddev *mddev) in status()
1654 static void error(struct mddev *mddev, struct md_rdev *rdev) in error()
1725 static int raid10_spare_active(struct mddev *mddev) in raid10_spare_active()
1773 static int raid10_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_add_disk()
1857 static int raid10_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_remove_disk()
1955 struct mddev *mddev = r10_bio->mddev; in end_sync_request() local
1984 struct mddev *mddev = r10_bio->mddev; in end_sync_write() local
2036 static void sync_request_write(struct mddev *mddev, struct r10bio *r10_bio) in sync_request_write()
2171 struct mddev *mddev = r10_bio->mddev; in fix_recovery_read_error() local
2246 static void recovery_request_write(struct mddev *mddev, struct r10bio *r10_bio) in recovery_request_write()
2290 static void check_decay_read_errors(struct mddev *mddev, struct md_rdev *rdev) in check_decay_read_errors()
2353 static void fix_read_error(struct r10conf *conf, struct mddev *mddev, struct r10bio *r10_bio) in fix_read_error()
2552 struct mddev *mddev = r10_bio->mddev; in narrow_write_error() local
2607 static void handle_read_error(struct mddev *mddev, struct r10bio *r10_bio) in handle_read_error()
2789 struct mddev *mddev = thread->mddev; in raid10d() local
2891 static sector_t sync_request(struct mddev *mddev, sector_t sector_nr, in sync_request()
3417 raid10_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid10_size()
3467 static int setup_geo(struct geom *geo, struct mddev *mddev, enum geo_type new) in setup_geo()
3508 static struct r10conf *setup_conf(struct mddev *mddev) in setup_conf()
3597 static int run(struct mddev *mddev) in run()
3796 static void raid10_free(struct mddev *mddev, void *priv) in raid10_free()
3809 static void raid10_quiesce(struct mddev *mddev, int state) in raid10_quiesce()
3823 static int raid10_resize(struct mddev *mddev, sector_t sectors) in raid10_resize()
3870 static void *raid10_takeover_raid0(struct mddev *mddev, sector_t size, int devs) in raid10_takeover_raid0()
3906 static void *raid10_takeover(struct mddev *mddev) in raid10_takeover()
3929 static int raid10_check_reshape(struct mddev *mddev) in raid10_check_reshape()
4037 static int raid10_start_reshape(struct mddev *mddev) in raid10_start_reshape()
4221 static sector_t reshape_request(struct mddev *mddev, sector_t sector_nr, in reshape_request()
4486 static void reshape_request_write(struct mddev *mddev, struct r10bio *r10_bio) in reshape_request_write()
4555 static int handle_reshape_read_error(struct mddev *mddev, in handle_reshape_read_error()
4621 struct mddev *mddev = r10_bio->mddev; in end_reshape_write() local
4654 static void raid10_finish_reshape(struct mddev *mddev) in raid10_finish_reshape()