Lines Matching defs:mddev
2507 static void error(struct mddev *mddev, struct md_rdev *rdev) in error()
4655 static int raid5_congested(struct mddev *mddev, int bits) in raid5_congested()
4676 static int raid5_mergeable_bvec(struct mddev *mddev, in raid5_mergeable_bvec()
4702 static int in_chunk_boundary(struct mddev *mddev, struct bio *bio) in in_chunk_boundary()
4763 struct mddev *mddev; in raid5_align_endio() local
4810 static int chunk_aligned_read(struct mddev *mddev, struct bio * raid_bio) in chunk_aligned_read()
4994 struct mddev *mddev = cb->cb.data; in raid5_unplug() local
5028 static void release_stripe_plug(struct mddev *mddev, in release_stripe_plug()
5056 static void make_discard_request(struct mddev *mddev, struct bio *bi) in make_discard_request()
5148 static void make_request(struct mddev *mddev, struct bio * bi) in make_request()
5328 static sector_t reshape_request(struct mddev *mddev, sector_t sector_nr, int *skipped) in reshape_request()
5567 static inline sector_t sync_request(struct mddev *mddev, sector_t sector_nr, int *skipped) in sync_request()
5811 struct mddev *mddev = thread->mddev; in raid5d() local
5885 raid5_show_stripe_cache_size(struct mddev *mddev, char *page) in raid5_show_stripe_cache_size()
5898 raid5_set_cache_size(struct mddev *mddev, int size) in raid5_set_cache_size()
5929 raid5_store_stripe_cache_size(struct mddev *mddev, const char *page, size_t len) in raid5_store_stripe_cache_size()
5958 raid5_show_rmw_level(struct mddev *mddev, char *page) in raid5_show_rmw_level()
5968 raid5_store_rmw_level(struct mddev *mddev, const char *page, size_t len) in raid5_store_rmw_level()
6001 raid5_show_preread_threshold(struct mddev *mddev, char *page) in raid5_show_preread_threshold()
6014 raid5_store_preread_threshold(struct mddev *mddev, const char *page, size_t len) in raid5_store_preread_threshold()
6046 raid5_show_skip_copy(struct mddev *mddev, char *page) in raid5_show_skip_copy()
6059 raid5_store_skip_copy(struct mddev *mddev, const char *page, size_t len) in raid5_store_skip_copy()
6098 stripe_cache_active_show(struct mddev *mddev, char *page) in stripe_cache_active_show()
6111 raid5_show_group_thread_cnt(struct mddev *mddev, char *page) in raid5_show_group_thread_cnt()
6128 raid5_store_group_thread_cnt(struct mddev *mddev, const char *page, size_t len) in raid5_store_group_thread_cnt()
6250 raid5_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid5_size()
6422 static struct r5conf *setup_conf(struct mddev *mddev) in setup_conf()
6642 static int run(struct mddev *mddev) in run()
6982 static void raid5_free(struct mddev *mddev, void *priv) in raid5_free()
6990 static void status(struct seq_file *seq, struct mddev *mddev) in status()
7029 static int raid5_spare_active(struct mddev *mddev) in raid5_spare_active()
7072 static int raid5_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid5_remove_disk()
7134 static int raid5_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid5_add_disk()
7192 static int raid5_resize(struct mddev *mddev, sector_t sectors) in raid5_resize()
7225 static int check_stripe_cache(struct mddev *mddev) in check_stripe_cache()
7249 static int check_reshape(struct mddev *mddev) in check_reshape()
7288 static int raid5_start_reshape(struct mddev *mddev) in raid5_start_reshape()
7460 static void raid5_finish_reshape(struct mddev *mddev) in raid5_finish_reshape()
7494 static void raid5_quiesce(struct mddev *mddev, int state) in raid5_quiesce()
7530 static void *raid45_takeover_raid0(struct mddev *mddev, int level) in raid45_takeover_raid0()
7556 static void *raid5_takeover_raid1(struct mddev *mddev) in raid5_takeover_raid1()
7583 static void *raid5_takeover_raid6(struct mddev *mddev) in raid5_takeover_raid6()
7616 static int raid5_check_reshape(struct mddev *mddev) in raid5_check_reshape()
7656 static int raid6_check_reshape(struct mddev *mddev) in raid6_check_reshape()
7676 static void *raid5_takeover(struct mddev *mddev) in raid5_takeover()
7699 static void *raid4_takeover(struct mddev *mddev) in raid4_takeover()
7718 static void *raid6_takeover(struct mddev *mddev) in raid6_takeover()