Lines Matching defs:rs

259 static void rs_config_backup(struct raid_set *rs, struct rs_layout *l)  in rs_config_backup()
268 static void rs_config_restore(struct raid_set *rs, struct rs_layout *l) in rs_config_restore()
399 static bool rs_is_raid0(struct raid_set *rs) in rs_is_raid0()
405 static bool rs_is_raid1(struct raid_set *rs) in rs_is_raid1()
411 static bool rs_is_raid10(struct raid_set *rs) in rs_is_raid10()
417 static bool rs_is_raid6(struct raid_set *rs) in rs_is_raid6()
423 static bool rs_is_raid456(struct raid_set *rs) in rs_is_raid456()
430 static bool rs_is_reshapable(struct raid_set *rs) in rs_is_reshapable()
437 static bool rs_is_recovering(struct raid_set *rs) in rs_is_recovering()
443 static bool rs_is_reshaping(struct raid_set *rs) in rs_is_reshaping()
490 static unsigned long __valid_flags(struct raid_set *rs) in __valid_flags()
511 static int rs_check_for_valid_flags(struct raid_set *rs) in rs_check_for_valid_flags()
598 static int raid10_format_to_md_layout(struct raid_set *rs, in raid10_format_to_md_layout()
682 static void rs_set_rdev_sectors(struct raid_set *rs) in rs_set_rdev_sectors()
699 static void rs_set_capacity(struct raid_set *rs) in rs_set_capacity()
710 static void rs_set_cur(struct raid_set *rs) in rs_set_cur()
723 static void rs_set_new(struct raid_set *rs) in rs_set_new()
738 struct raid_set *rs; in raid_set_alloc() local
783 static void raid_set_free(struct raid_set *rs) in raid_set_free()
819 static int parse_dev_params(struct raid_set *rs, struct dm_arg_set *as) in parse_dev_params()
937 static int validate_region_size(struct raid_set *rs, unsigned long region_size) in validate_region_size()
1001 static int validate_raid_redundancy(struct raid_set *rs) in validate_raid_redundancy()
1121 static int parse_raid_params(struct raid_set *rs, struct dm_arg_set *as, in parse_raid_params()
1532 static int rs_set_raid456_stripe_cache(struct raid_set *rs) in rs_set_raid456_stripe_cache()
1572 static unsigned int mddev_data_stripes(struct raid_set *rs) in mddev_data_stripes()
1578 static unsigned int rs_data_stripes(struct raid_set *rs) in rs_data_stripes()
1587 static sector_t __rdev_sectors(struct raid_set *rs) in __rdev_sectors()
1603 static int _check_data_dev_sectors(struct raid_set *rs) in _check_data_dev_sectors()
1621 static int rs_set_dev_and_array_sectors(struct raid_set *rs, sector_t sectors, bool use_mddev) in rs_set_dev_and_array_sectors()
1672 static void rs_setup_recovery(struct raid_set *rs, sector_t dev_sectors) in rs_setup_recovery()
1695 struct raid_set *rs = container_of(ws, struct raid_set, md.event_work); in do_table_event() local
1712 static int rs_check_takeover(struct raid_set *rs) in rs_check_takeover()
1867 static bool rs_takeover_requested(struct raid_set *rs) in rs_takeover_requested()
1873 static bool rs_is_layout_change(struct raid_set *rs, bool use_mddev) in rs_is_layout_change()
1881 static bool rs_reshape_requested(struct raid_set *rs) in rs_reshape_requested()
2010 static int rs_check_reshape(struct raid_set *rs) in rs_check_reshape()
2085 struct raid_set *rs = container_of(mddev, struct raid_set, md); in super_sync() local
2206 static int super_init_validation(struct raid_set *rs, struct md_rdev *rdev) in super_init_validation()
2430 static int super_validate(struct raid_set *rs, struct md_rdev *rdev) in super_validate()
2501 static int analyse_superblocks(struct dm_target *ti, struct raid_set *rs) in analyse_superblocks()
2597 static int rs_adjust_data_offsets(struct raid_set *rs) in rs_adjust_data_offsets()
2690 static void __reorder_raid_disk_indexes(struct raid_set *rs) in __reorder_raid_disk_indexes()
2706 static int rs_setup_takeover(struct raid_set *rs) in rs_setup_takeover()
2751 static int rs_prepare_reshape(struct raid_set *rs) in rs_prepare_reshape()
2810 static sector_t _get_reshape_sectors(struct raid_set *rs) in _get_reshape_sectors()
2833 static int rs_setup_reshape(struct raid_set *rs) in rs_setup_reshape()
2941 static void rs_reset_inconclusive_reshape(struct raid_set *rs) in rs_reset_inconclusive_reshape()
2954 static void configure_discard_support(struct raid_set *rs) in configure_discard_support()
3007 struct raid_set *rs = NULL; in raid_ctr() local
3320 struct raid_set *rs = ti->private; in raid_dtr() local
3328 struct raid_set *rs = ti->private; in raid_map() local
3406 static const char *__raid_dev_status(struct raid_set *rs, struct md_rdev *rdev) in __raid_dev_status()
3423 static sector_t rs_get_progress(struct raid_set *rs, unsigned long recovery, in rs_get_progress()
3513 struct raid_set *rs = ti->private; in raid_status() local
3719 struct raid_set *rs = ti->private; in raid_message() local
3770 struct raid_set *rs = ti->private; in raid_iterate_devices() local
3787 struct raid_set *rs = ti->private; in raid_io_hints() local
3796 struct raid_set *rs = ti->private; in raid_postsuspend() local
3809 static void attempt_restore_of_faulty_devices(struct raid_set *rs) in attempt_restore_of_faulty_devices()
3892 static int __load_dirty_region_bitmap(struct raid_set *rs) in __load_dirty_region_bitmap()
3908 static void rs_update_sbs(struct raid_set *rs) in rs_update_sbs()
3926 static int rs_start_reshape(struct raid_set *rs) in rs_start_reshape()
3975 struct raid_set *rs = ti->private; in raid_preresume() local
4043 struct raid_set *rs = ti->private; in raid_resume() local