Lines Matching defs:mddev
2915 static void raid5_error(struct mddev *mddev, struct md_rdev *rdev) in raid5_error()
5321 static int in_chunk_boundary(struct mddev *mddev, struct bio *bio) in in_chunk_boundary()
5381 struct mddev *mddev = rdev->mddev; in raid5_align_endio() local
5401 static int raid5_read_one_chunk(struct mddev *mddev, struct bio *raid_bio) in raid5_read_one_chunk()
5477 static struct bio *chunk_aligned_read(struct mddev *mddev, struct bio *raid_bio) in chunk_aligned_read()
5612 struct mddev *mddev = cb->cb.data; in raid5_unplug() local
5646 static void release_stripe_plug(struct mddev *mddev, in release_stripe_plug()
5674 static void make_discard_request(struct mddev *mddev, struct bio *bi) in make_discard_request()
5757 static bool ahead_of_reshape(struct mddev *mddev, sector_t sector, in ahead_of_reshape()
5764 static bool range_ahead_of_reshape(struct mddev *mddev, sector_t min, in range_ahead_of_reshape()
5771 static bool stripe_ahead_of_reshape(struct mddev *mddev, struct r5conf *conf, in stripe_ahead_of_reshape()
5857 static enum reshape_loc get_reshape_loc(struct mddev *mddev, in get_reshape_loc()
5883 static void raid5_bitmap_sector(struct mddev *mddev, sector_t *offset, in raid5_bitmap_sector()
5931 static enum stripe_result make_stripe_request(struct mddev *mddev, in make_stripe_request()
6069 static bool raid5_make_request(struct mddev *mddev, struct bio * bi) in raid5_make_request()
6209 static sector_t reshape_request(struct mddev *mddev, sector_t sector_nr, int *skipped) in reshape_request()
6486 static inline sector_t raid5_sync_request(struct mddev *mddev, sector_t sector_nr, in raid5_sync_request()
6698 struct mddev *mddev = conf->mddev; in raid5_do_work() local
6746 struct mddev *mddev = thread->mddev; in raid5d() local
6828 raid5_show_stripe_cache_size(struct mddev *mddev, char *page) in raid5_show_stripe_cache_size()
6841 raid5_set_cache_size(struct mddev *mddev, int size) in raid5_set_cache_size()
6872 raid5_store_stripe_cache_size(struct mddev *mddev, const char *page, size_t len) in raid5_store_stripe_cache_size()
6901 raid5_show_rmw_level(struct mddev *mddev, char *page) in raid5_show_rmw_level()
6911 raid5_store_rmw_level(struct mddev *mddev, const char *page, size_t len) in raid5_store_rmw_level()
6943 raid5_show_stripe_size(struct mddev *mddev, char *page) in raid5_show_stripe_size()
6958 raid5_store_stripe_size(struct mddev *mddev, const char *page, size_t len) in raid5_store_stripe_size()
7034 raid5_show_preread_threshold(struct mddev *mddev, char *page) in raid5_show_preread_threshold()
7047 raid5_store_preread_threshold(struct mddev *mddev, const char *page, size_t len) in raid5_store_preread_threshold()
7079 raid5_show_skip_copy(struct mddev *mddev, char *page) in raid5_show_skip_copy()
7092 raid5_store_skip_copy(struct mddev *mddev, const char *page, size_t len) in raid5_store_skip_copy()
7131 stripe_cache_active_show(struct mddev *mddev, char *page) in stripe_cache_active_show()
7144 raid5_show_group_thread_cnt(struct mddev *mddev, char *page) in raid5_show_group_thread_cnt()
7160 raid5_store_group_thread_cnt(struct mddev *mddev, const char *page, size_t len) in raid5_store_group_thread_cnt()
7285 raid5_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid5_size()
7432 static struct r5conf *setup_conf(struct mddev *mddev) in setup_conf()
7719 static int raid5_set_limits(struct mddev *mddev) in raid5_set_limits()
7780 static int raid5_run(struct mddev *mddev) in raid5_run()
8058 static void raid5_free(struct mddev *mddev, void *priv) in raid5_free()
8066 static void raid5_status(struct seq_file *seq, struct mddev *mddev) in raid5_status()
8107 static int raid5_spare_active(struct mddev *mddev) in raid5_spare_active()
8151 static int raid5_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid5_remove_disk()
8231 static int raid5_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid5_add_disk()
8313 static int raid5_resize(struct mddev *mddev, sector_t sectors) in raid5_resize()
8349 static int check_stripe_cache(struct mddev *mddev) in check_stripe_cache()
8373 static int check_reshape(struct mddev *mddev) in check_reshape()
8417 static int raid5_start_reshape(struct mddev *mddev) in raid5_start_reshape()
8573 static void raid5_finish_reshape(struct mddev *mddev) in raid5_finish_reshape()
8604 static void raid5_quiesce(struct mddev *mddev, int quiesce) in raid5_quiesce()
8639 static void *raid45_takeover_raid0(struct mddev *mddev, int level) in raid45_takeover_raid0()
8665 static void *raid5_takeover_raid1(struct mddev *mddev) in raid5_takeover_raid1()
8697 static void *raid5_takeover_raid6(struct mddev *mddev) in raid5_takeover_raid6()
8730 static int raid5_check_reshape(struct mddev *mddev) in raid5_check_reshape()
8770 static int raid6_check_reshape(struct mddev *mddev) in raid6_check_reshape()
8790 static void *raid5_takeover(struct mddev *mddev) in raid5_takeover()
8813 static void *raid4_takeover(struct mddev *mddev) in raid4_takeover()
8832 static void *raid6_takeover(struct mddev *mddev) in raid6_takeover()
8878 static int raid5_change_consistency_policy(struct mddev *mddev, const char *buf) in raid5_change_consistency_policy()
8936 static int raid5_start(struct mddev *mddev) in raid5_start()
8948 static void raid5_prepare_suspend(struct mddev *mddev) in raid5_prepare_suspend()