Lines Matching defs:mddev

84 	struct mddev *mddev = rdev->mddev;  in wait_for_serialization()  local
101 struct mddev *mddev = rdev->mddev; in remove_serial() local
281 struct mddev *mddev = r1_bio->mddev; in reschedule_retry() local
1173 struct mddev *mddev = plug->cb.data; in raid1_unplug() local
1193 static void init_r1bio(struct r1bio *r1_bio, struct mddev *mddev, struct bio *bio) in init_r1bio()
1203 alloc_r1bio(struct mddev *mddev, struct bio *bio) in alloc_r1bio()
1215 static void raid1_read_request(struct mddev *mddev, struct bio *bio, in raid1_read_request()
1336 static void raid1_write_request(struct mddev *mddev, struct bio *bio, in raid1_write_request()
1586 static bool raid1_make_request(struct mddev *mddev, struct bio *bio) in raid1_make_request()
1614 static void raid1_status(struct seq_file *seq, struct mddev *mddev) in raid1_status()
1647 static void raid1_error(struct mddev *mddev, struct md_rdev *rdev) in raid1_error()
1717 static int raid1_spare_active(struct mddev *mddev) in raid1_spare_active()
1769 static int raid1_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid1_add_disk()
1835 static int raid1_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid1_remove_disk()
1926 static void abort_sync_write(struct mddev *mddev, struct r1bio *r1_bio) in abort_sync_write()
1943 struct mddev *mddev = r1_bio->mddev; in put_sync_write_buf() local
1960 struct mddev *mddev = r1_bio->mddev; in end_sync_write() local
2017 struct mddev *mddev = r1_bio->mddev; in fix_sync_read_error() local
2144 struct mddev *mddev = r1_bio->mddev; in process_checks() local
2221 static void sync_request_write(struct mddev *mddev, struct r1bio *r1_bio) in sync_request_write()
2277 struct mddev *mddev = conf->mddev; in fix_read_error() local
2371 struct mddev *mddev = r1_bio->mddev; in narrow_write_error() local
2509 struct mddev *mddev = conf->mddev; in handle_read_error() local
2553 struct mddev *mddev = thread->mddev; in raid1d() local
2661 static sector_t raid1_sync_request(struct mddev *mddev, sector_t sector_nr, in raid1_sync_request()
2960 static sector_t raid1_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid1_size()
2968 static struct r1conf *setup_conf(struct mddev *mddev) in setup_conf()
3108 static int raid1_run(struct mddev *mddev) in raid1_run()
3197 static void raid1_free(struct mddev *mddev, void *priv) in raid1_free()
3213 static int raid1_resize(struct mddev *mddev, sector_t sectors) in raid1_resize()
3242 static int raid1_reshape(struct mddev *mddev) in raid1_reshape()
3352 static void raid1_quiesce(struct mddev *mddev, int quiesce) in raid1_quiesce()
3362 static void *raid1_takeover(struct mddev *mddev) in raid1_takeover()