Lines Matching defs:mddev
2677 static void raid5_error(struct mddev *mddev, struct md_rdev *rdev) in raid5_error()
5089 static int raid5_congested(struct mddev *mddev, int bits) in raid5_congested()
5111 static int in_chunk_boundary(struct mddev *mddev, struct bio *bio) in in_chunk_boundary()
5172 struct mddev *mddev; in raid5_align_endio() local
5198 static int raid5_read_one_chunk(struct mddev *mddev, struct bio *raid_bio) in raid5_read_one_chunk()
5289 static struct bio *chunk_aligned_read(struct mddev *mddev, struct bio *raid_bio) in chunk_aligned_read()
5423 struct mddev *mddev = cb->cb.data; in raid5_unplug() local
5457 static void release_stripe_plug(struct mddev *mddev, in release_stripe_plug()
5485 static void make_discard_request(struct mddev *mddev, struct bio *bi) in make_discard_request()
5572 static bool raid5_make_request(struct mddev *mddev, struct bio * bi) in raid5_make_request()
5748 static sector_t reshape_request(struct mddev *mddev, sector_t sector_nr, int *skipped) in reshape_request()
5999 static inline sector_t raid5_sync_request(struct mddev *mddev, sector_t sector_nr, in raid5_sync_request()
6209 struct mddev *mddev = conf->mddev; in raid5_do_work() local
6257 struct mddev *mddev = thread->mddev; in raid5d() local
6336 raid5_show_stripe_cache_size(struct mddev *mddev, char *page) in raid5_show_stripe_cache_size()
6349 raid5_set_cache_size(struct mddev *mddev, int size) in raid5_set_cache_size()
6380 raid5_store_stripe_cache_size(struct mddev *mddev, const char *page, size_t len) in raid5_store_stripe_cache_size()
6409 raid5_show_rmw_level(struct mddev *mddev, char *page) in raid5_show_rmw_level()
6419 raid5_store_rmw_level(struct mddev *mddev, const char *page, size_t len) in raid5_store_rmw_level()
6452 raid5_show_preread_threshold(struct mddev *mddev, char *page) in raid5_show_preread_threshold()
6465 raid5_store_preread_threshold(struct mddev *mddev, const char *page, size_t len) in raid5_store_preread_threshold()
6497 raid5_show_skip_copy(struct mddev *mddev, char *page) in raid5_show_skip_copy()
6510 raid5_store_skip_copy(struct mddev *mddev, const char *page, size_t len) in raid5_store_skip_copy()
6549 stripe_cache_active_show(struct mddev *mddev, char *page) in stripe_cache_active_show()
6562 raid5_show_group_thread_cnt(struct mddev *mddev, char *page) in raid5_show_group_thread_cnt()
6579 raid5_store_group_thread_cnt(struct mddev *mddev, const char *page, size_t len) in raid5_store_group_thread_cnt()
6706 raid5_size(struct mddev *mddev, sector_t sectors, int raid_disks) in raid5_size()
6853 static struct r5conf *setup_conf(struct mddev *mddev) in setup_conf()
7123 static int raid5_run(struct mddev *mddev) in raid5_run()
7477 static void raid5_free(struct mddev *mddev, void *priv) in raid5_free()
7485 static void raid5_status(struct seq_file *seq, struct mddev *mddev) in raid5_status()
7526 static int raid5_spare_active(struct mddev *mddev) in raid5_spare_active()
7569 static int raid5_remove_disk(struct mddev *mddev, struct md_rdev *rdev) in raid5_remove_disk()
7654 static int raid5_add_disk(struct mddev *mddev, struct md_rdev *rdev) in raid5_add_disk()
7726 static int raid5_resize(struct mddev *mddev, sector_t sectors) in raid5_resize()
7761 static int check_stripe_cache(struct mddev *mddev) in check_stripe_cache()
7785 static int check_reshape(struct mddev *mddev) in check_reshape()
7829 static int raid5_start_reshape(struct mddev *mddev) in raid5_start_reshape()
8000 static void raid5_finish_reshape(struct mddev *mddev) in raid5_finish_reshape()
8030 static void raid5_quiesce(struct mddev *mddev, int quiesce) in raid5_quiesce()
8062 static void *raid45_takeover_raid0(struct mddev *mddev, int level) in raid45_takeover_raid0()
8088 static void *raid5_takeover_raid1(struct mddev *mddev) in raid5_takeover_raid1()
8120 static void *raid5_takeover_raid6(struct mddev *mddev) in raid5_takeover_raid6()
8153 static int raid5_check_reshape(struct mddev *mddev) in raid5_check_reshape()
8193 static int raid6_check_reshape(struct mddev *mddev) in raid6_check_reshape()
8213 static void *raid5_takeover(struct mddev *mddev) in raid5_takeover()
8236 static void *raid4_takeover(struct mddev *mddev) in raid4_takeover()
8255 static void *raid6_takeover(struct mddev *mddev) in raid6_takeover()
8301 static int raid5_change_consistency_policy(struct mddev *mddev, const char *buf) in raid5_change_consistency_policy()