Lines Matching defs:rs

254 static void rs_config_backup(struct raid_set *rs, struct rs_layout *l)  in rs_config_backup()
263 static void rs_config_restore(struct raid_set *rs, struct rs_layout *l) in rs_config_restore()
394 static bool rs_is_raid0(struct raid_set *rs) in rs_is_raid0()
400 static bool rs_is_raid1(struct raid_set *rs) in rs_is_raid1()
406 static bool rs_is_raid10(struct raid_set *rs) in rs_is_raid10()
412 static bool rs_is_raid6(struct raid_set *rs) in rs_is_raid6()
418 static bool rs_is_raid456(struct raid_set *rs) in rs_is_raid456()
425 static bool rs_is_reshapable(struct raid_set *rs) in rs_is_reshapable()
432 static bool rs_is_recovering(struct raid_set *rs) in rs_is_recovering()
438 static bool rs_is_reshaping(struct raid_set *rs) in rs_is_reshaping()
485 static unsigned long __valid_flags(struct raid_set *rs) in __valid_flags()
506 static int rs_check_for_valid_flags(struct raid_set *rs) in rs_check_for_valid_flags()
593 static int raid10_format_to_md_layout(struct raid_set *rs, in raid10_format_to_md_layout()
678 static void rs_set_rdev_sectors(struct raid_set *rs) in rs_set_rdev_sectors()
695 static void rs_set_capacity(struct raid_set *rs) in rs_set_capacity()
707 static void rs_set_cur(struct raid_set *rs) in rs_set_cur()
720 static void rs_set_new(struct raid_set *rs) in rs_set_new()
735 struct raid_set *rs; in raid_set_alloc() local
780 static void raid_set_free(struct raid_set *rs) in raid_set_free()
816 static int parse_dev_params(struct raid_set *rs, struct dm_arg_set *as) in parse_dev_params()
934 static int validate_region_size(struct raid_set *rs, unsigned long region_size) in validate_region_size()
998 static int validate_raid_redundancy(struct raid_set *rs) in validate_raid_redundancy()
1118 static int parse_raid_params(struct raid_set *rs, struct dm_arg_set *as, in parse_raid_params()
1529 static int rs_set_raid456_stripe_cache(struct raid_set *rs) in rs_set_raid456_stripe_cache()
1569 static unsigned int mddev_data_stripes(struct raid_set *rs) in mddev_data_stripes()
1575 static unsigned int rs_data_stripes(struct raid_set *rs) in rs_data_stripes()
1584 static sector_t __rdev_sectors(struct raid_set *rs) in __rdev_sectors()
1600 static int _check_data_dev_sectors(struct raid_set *rs) in _check_data_dev_sectors()
1618 static int rs_set_dev_and_array_sectors(struct raid_set *rs, bool use_mddev) in rs_set_dev_and_array_sectors()
1673 static void __rs_setup_recovery(struct raid_set *rs, sector_t dev_sectors) in __rs_setup_recovery()
1695 static void rs_setup_recovery(struct raid_set *rs, sector_t dev_sectors) in rs_setup_recovery()
1712 struct raid_set *rs = container_of(ws, struct raid_set, md.event_work); in do_table_event() local
1725 struct raid_set *rs = container_of(cb, struct raid_set, callbacks); in raid_is_congested() local
1736 static int rs_check_takeover(struct raid_set *rs) in rs_check_takeover()
1890 static bool rs_takeover_requested(struct raid_set *rs) in rs_takeover_requested()
1896 static bool rs_reshape_requested(struct raid_set *rs) in rs_reshape_requested()
2027 static int rs_check_reshape(struct raid_set *rs) in rs_check_reshape()
2102 struct raid_set *rs = container_of(mddev, struct raid_set, md); in super_sync() local
2223 static int super_init_validation(struct raid_set *rs, struct md_rdev *rdev) in super_init_validation()
2449 static int super_validate(struct raid_set *rs, struct md_rdev *rdev) in super_validate()
2520 static int analyse_superblocks(struct dm_target *ti, struct raid_set *rs) in analyse_superblocks()
2616 static int rs_adjust_data_offsets(struct raid_set *rs) in rs_adjust_data_offsets()
2709 static void __reorder_raid_disk_indexes(struct raid_set *rs) in __reorder_raid_disk_indexes()
2725 static int rs_setup_takeover(struct raid_set *rs) in rs_setup_takeover()
2770 static int rs_prepare_reshape(struct raid_set *rs) in rs_prepare_reshape()
2829 static sector_t _get_reshape_sectors(struct raid_set *rs) in _get_reshape_sectors()
2852 static int rs_setup_reshape(struct raid_set *rs) in rs_setup_reshape()
2959 static void configure_discard_support(struct raid_set *rs) in configure_discard_support()
3012 struct raid_set *rs = NULL; in raid_ctr() local
3304 struct raid_set *rs = ti->private; in raid_dtr() local
3313 struct raid_set *rs = ti->private; in raid_map() local
3391 static const char *__raid_dev_status(struct raid_set *rs, struct md_rdev *rdev) in __raid_dev_status()
3408 static sector_t rs_get_progress(struct raid_set *rs, unsigned long recovery, in rs_get_progress()
3505 struct raid_set *rs = ti->private; in raid_status() local
3672 struct raid_set *rs = ti->private; in raid_message() local
3723 struct raid_set *rs = ti->private; in raid_iterate_devices() local
3740 struct raid_set *rs = ti->private; in raid_io_hints() local
3758 struct raid_set *rs = ti->private; in raid_postsuspend() local
3771 static void attempt_restore_of_faulty_devices(struct raid_set *rs) in attempt_restore_of_faulty_devices()
3854 static int __load_dirty_region_bitmap(struct raid_set *rs) in __load_dirty_region_bitmap()
3870 static void rs_update_sbs(struct raid_set *rs) in rs_update_sbs()
3888 static int rs_start_reshape(struct raid_set *rs) in rs_start_reshape()
3937 struct raid_set *rs = ti->private; in raid_preresume() local
3992 struct raid_set *rs = ti->private; in raid_resume() local