Lines Matching defs:mddev
247 struct mddev *mddev = r1_bio->mddev; in reschedule_retry() local
751 static int raid1_congested(struct mddev *mddev, int bits) in raid1_congested()
1145 struct mddev *mddev = plug->cb.data; in raid1_unplug() local
1166 static void init_r1bio(struct r1bio *r1_bio, struct mddev *mddev, struct bio *bio) in init_r1bio()
1176 alloc_r1bio(struct mddev *mddev, struct bio *bio) in alloc_r1bio()
1188 static void raid1_read_request(struct mddev *mddev, struct bio *bio, in raid1_read_request()
1302 static void raid1_write_request(struct mddev *mddev, struct bio *bio, in raid1_write_request()
1534 static bool raid1_make_request(struct mddev *mddev, struct bio *bio) in raid1_make_request()
1563 static void raid1_status(struct seq_file *seq, struct mddev *mddev) in raid1_status()
1580 static void raid1_error(struct mddev *mddev, struct md_rdev *rdev) in raid1_error()
1661 static int raid1_spare_active(struct mddev *mddev) in raid1_spare_active()
1713 static int raid1_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid1_add_disk()
1777 static int raid1_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid1_remove_disk()
1869 struct mddev *mddev = r1_bio->mddev; in end_sync_write() local
1943 struct mddev *mddev = r1_bio->mddev; in fix_sync_read_error() local
2071 struct mddev *mddev = r1_bio->mddev; in process_checks() local
2148 static void sync_request_write(struct mddev *mddev, struct r1bio *r1_bio) in sync_request_write()
2212 struct mddev *mddev = conf->mddev; in fix_read_error() local
2307 struct mddev *mddev = r1_bio->mddev; in narrow_write_error() local
2446 struct mddev *mddev = conf->mddev; in handle_read_error() local
2488 struct mddev *mddev = thread->mddev; in raid1d() local
2596 static sector_t raid1_sync_request(struct mddev *mddev, sector_t sector_nr, in raid1_sync_request()
2896 static sector_t raid1_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid1_size()
2904 static struct r1conf *setup_conf(struct mddev *mddev) in setup_conf()
3044 static int raid1_run(struct mddev *mddev) in raid1_run()
3135 static void raid1_free(struct mddev *mddev, void *priv) in raid1_free()
3151 static int raid1_resize(struct mddev *mddev, sector_t sectors) in raid1_resize()
3180 static int raid1_reshape(struct mddev *mddev) in raid1_reshape()
3290 static void raid1_quiesce(struct mddev *mddev, int quiesce) in raid1_quiesce()
3300 static void *raid1_takeover(struct mddev *mddev) in raid1_takeover()