Lines Matching defs:mddev

300 	struct mddev *mddev = r10_bio->mddev;  in reschedule_retry()  local
429 struct mddev *mddev = r10_bio->mddev; in close_write() local
1083 struct mddev *mddev = plug->cb.data; in raid10_unplug() local
1118 static bool regular_request_wait(struct mddev *mddev, struct r10conf *conf, in regular_request_wait()
1144 static void raid10_read_request(struct mddev *mddev, struct bio *bio, in raid10_read_request()
1243 static void raid10_write_one_disk(struct mddev *mddev, struct r10bio *r10_bio, in raid10_write_one_disk()
1284 static void wait_blocked_dev(struct mddev *mddev, struct r10bio *r10_bio) in wait_blocked_dev()
1340 static void raid10_write_request(struct mddev *mddev, struct bio *bio, in raid10_write_request()
1529 static void __make_request(struct mddev *mddev, struct bio *bio, int sectors) in __make_request()
1602 static int raid10_handle_discard(struct mddev *mddev, struct bio *bio) in raid10_handle_discard()
1861 static bool raid10_make_request(struct mddev *mddev, struct bio *bio) in raid10_make_request()
1897 static void raid10_status(struct seq_file *seq, struct mddev *mddev) in raid10_status()
1991 static void raid10_error(struct mddev *mddev, struct md_rdev *rdev) in raid10_error()
2053 static int raid10_spare_active(struct mddev *mddev) in raid10_spare_active()
2101 static int raid10_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_add_disk()
2167 static int raid10_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid10_remove_disk()
2264 struct mddev *mddev = r10_bio->mddev; in end_sync_request() local
2292 struct mddev *mddev = r10_bio->mddev; in end_sync_write() local
2341 static void sync_request_write(struct mddev *mddev, struct r10bio *r10_bio) in sync_request_write()
2481 struct mddev *mddev = r10_bio->mddev; in fix_recovery_read_error() local
2555 static void recovery_request_write(struct mddev *mddev, struct r10bio *r10_bio) in recovery_request_write()
2625 static void fix_read_error(struct r10conf *conf, struct mddev *mddev, struct r10bio *r10_bio) in fix_read_error()
2784 struct mddev *mddev = r10_bio->mddev; in narrow_write_error() local
2842 static void handle_read_error(struct mddev *mddev, struct r10bio *r10_bio) in handle_read_error()
2980 struct mddev *mddev = thread->mddev; in raid10d() local
3166 static sector_t raid10_sync_request(struct mddev *mddev, sector_t sector_nr, in raid10_sync_request()
3787 raid10_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid10_size()
3837 static int setup_geo(struct geom *geo, struct mddev *mddev, enum geo_type new) in setup_geo()
3907 static struct r10conf *setup_conf(struct mddev *mddev) in setup_conf()
4003 static int raid10_set_queue_limits(struct mddev *mddev) in raid10_set_queue_limits()
4020 static int raid10_run(struct mddev *mddev) in raid10_run()
4196 static void raid10_free(struct mddev *mddev, void *priv) in raid10_free()
4201 static void raid10_quiesce(struct mddev *mddev, int quiesce) in raid10_quiesce()
4211 static int raid10_resize(struct mddev *mddev, sector_t sectors) in raid10_resize()
4257 static void *raid10_takeover_raid0(struct mddev *mddev, sector_t size, int devs) in raid10_takeover_raid0()
4292 static void *raid10_takeover(struct mddev *mddev) in raid10_takeover()
4314 static int raid10_check_reshape(struct mddev *mddev) in raid10_check_reshape()
4419 static int raid10_start_reshape(struct mddev *mddev) in raid10_start_reshape()
4629 static sector_t reshape_request(struct mddev *mddev, sector_t sector_nr, in reshape_request()
4906 static void reshape_request_write(struct mddev *mddev, struct r10bio *r10_bio) in reshape_request_write()
4967 static void raid10_update_reshape_pos(struct mddev *mddev) in raid10_update_reshape_pos()
4980 static int handle_reshape_read_error(struct mddev *mddev, in handle_reshape_read_error()
5054 struct mddev *mddev = r10_bio->mddev; in end_reshape_write() local
5083 static void raid10_finish_reshape(struct mddev *mddev) in raid10_finish_reshape()