Lines Matching refs:mddev_t
1697 static void error(mddev_t *mddev, mdk_rdev_t *rdev) in error()
3641 int md_raid5_congested(mddev_t *mddev, int bits) in md_raid5_congested()
3662 mddev_t *mddev = data; in raid5_congested()
3675 mddev_t *mddev = q->queuedata; in raid5_mergeable_bvec()
3695 static int in_chunk_boundary(mddev_t *mddev, struct bio *bio) in in_chunk_boundary()
3758 mddev_t *mddev; in raid5_align_endio()
3805 static int chunk_aligned_read(mddev_t *mddev, struct bio * raid_bio) in chunk_aligned_read()
3921 static int make_request(mddev_t *mddev, struct bio * bi) in make_request()
4081 static sector_t raid5_size(mddev_t *mddev, sector_t sectors, int raid_disks);
4083 static sector_t reshape_request(mddev_t *mddev, sector_t sector_nr, int *skipped) in reshape_request()
4301 static inline sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, int go_faster) in sync_request()
4463 static void raid5d(mddev_t *mddev) in raid5d()
4527 raid5_show_stripe_cache_size(mddev_t *mddev, char *page) in raid5_show_stripe_cache_size()
4537 raid5_set_cache_size(mddev_t *mddev, int size) in raid5_set_cache_size()
4563 raid5_store_stripe_cache_size(mddev_t *mddev, const char *page, size_t len) in raid5_store_stripe_cache_size()
4588 raid5_show_preread_threshold(mddev_t *mddev, char *page) in raid5_show_preread_threshold()
4598 raid5_store_preread_threshold(mddev_t *mddev, const char *page, size_t len) in raid5_store_preread_threshold()
4622 stripe_cache_active_show(mddev_t *mddev, char *page) in stripe_cache_active_show()
4646 raid5_size(mddev_t *mddev, sector_t sectors, int raid_disks) in raid5_size()
4773 static raid5_conf_t *setup_conf(mddev_t *mddev) in setup_conf()
4938 static int run(mddev_t *mddev) in run()
5178 static int stop(mddev_t *mddev) in stop()
5227 static void status(struct seq_file *seq, mddev_t *mddev) in status()
5270 static int raid5_spare_active(mddev_t *mddev) in raid5_spare_active()
5295 static int raid5_remove_disk(mddev_t *mddev, int number) in raid5_remove_disk()
5337 static int raid5_add_disk(mddev_t *mddev, mdk_rdev_t *rdev) in raid5_add_disk()
5377 static int raid5_resize(mddev_t *mddev, sector_t sectors) in raid5_resize()
5403 static int check_stripe_cache(mddev_t *mddev) in check_stripe_cache()
5427 static int check_reshape(mddev_t *mddev) in check_reshape()
5459 static int raid5_start_reshape(mddev_t *mddev) in raid5_start_reshape()
5605 static void raid5_finish_reshape(mddev_t *mddev) in raid5_finish_reshape()
5642 static void raid5_quiesce(mddev_t *mddev, int state) in raid5_quiesce()
5678 static void *raid45_takeover_raid0(mddev_t *mddev, int level) in raid45_takeover_raid0()
5705 static void *raid5_takeover_raid1(mddev_t *mddev) in raid5_takeover_raid1()
5732 static void *raid5_takeover_raid6(mddev_t *mddev) in raid5_takeover_raid6()
5766 static int raid5_check_reshape(mddev_t *mddev) in raid5_check_reshape()
5806 static int raid6_check_reshape(mddev_t *mddev) in raid6_check_reshape()
5826 static void *raid5_takeover(mddev_t *mddev) in raid5_takeover()
5849 static void *raid4_takeover(mddev_t *mddev) in raid4_takeover()
5868 static void *raid6_takeover(mddev_t *mddev) in raid6_takeover()