Lines Matching defs:conf

39 #define R5C_FULL_STRIPE_FLUSH_BATCH(conf) (conf->max_nr_stripes / 4)  argument
195 static inline sector_t r5c_tree_index(struct r5conf *conf, in r5c_tree_index()
292 r5c_return_dev_pending_writes(struct r5conf *conf, struct r5dev *dev) in r5c_return_dev_pending_writes()
307 void r5c_handle_cached_data_endio(struct r5conf *conf, in r5c_handle_cached_data_endio()
327 void r5c_check_stripe_cache_usage(struct r5conf *conf) in r5c_check_stripe_cache_usage()
355 void r5c_check_cached_full_stripe(struct r5conf *conf) in r5c_check_cached_full_stripe()
400 static sector_t r5c_log_required_to_flush_cache(struct r5conf *conf) in r5c_log_required_to_flush_cache()
421 struct r5conf *conf = log->rdev->mddev->private; in r5c_update_log_state() local
454 struct r5conf *conf = sh->raid_conf; in r5c_make_stripe_write_out() local
688 struct r5conf *conf = mddev->private; in r5c_disable_writeback_async() local
866 struct r5conf *conf = mddev->private; in r5l_append_flush_payload() local
995 struct r5conf *conf = sh->raid_conf; in r5l_write_stripe() local
1153 static sector_t r5c_calculate_new_cp(struct r5conf *conf) in r5c_calculate_new_cp()
1178 struct r5conf *conf = log->rdev->mddev->private; in r5l_reclaimable_space() local
1226 struct r5conf *conf = log->rdev->mddev->private; in __r5l_stripe_write_finished() local
1365 static void r5c_flush_stripe(struct r5conf *conf, struct stripe_head *sh) in r5c_flush_stripe()
1398 void r5c_flush_cache(struct r5conf *conf, int num) in r5c_flush_cache()
1423 static void r5c_do_reclaim(struct r5conf *conf) in r5c_do_reclaim()
1500 struct r5conf *conf = log->rdev->mddev->private; in r5l_do_reclaim() local
1553 struct r5conf *conf = mddev->private; in r5l_reclaim_thread() local
1594 bool r5l_log_disk_error(struct r5conf *conf) in r5l_log_disk_error()
1812 struct r5conf *conf = mddev->private; in r5l_recovery_load_data() local
1834 struct r5conf *conf = mddev->private; in r5l_recovery_load_parity() local
1864 r5l_recovery_replay_one_stripe(struct r5conf *conf, in r5l_recovery_replay_one_stripe()
1917 struct r5conf *conf, in r5c_recovery_alloc_stripe()
1997 struct r5conf *conf = mddev->private; in r5l_recovery_verify_data_checksum_for_mb() local
2071 struct r5conf *conf = mddev->private; in r5c_recovery_analyze_meta_block() local
2419 struct r5conf *conf = mddev->private; in r5c_recovery_flush_data_only_stripes() local
2527 struct r5conf *conf; in r5c_journal_mode_show() local
2568 struct r5conf *conf; in r5c_journal_mode_set() local
2627 int r5c_try_caching_write(struct r5conf *conf, in r5c_try_caching_write()
2753 struct r5conf *conf = sh->raid_conf; in r5c_release_extra_page() local
2779 struct r5conf *conf = sh->raid_conf; in r5c_use_extra_page() local
2795 void r5c_finish_stripe_write_out(struct r5conf *conf, in r5c_finish_stripe_write_out()
2878 struct r5conf *conf = sh->raid_conf; in r5c_cache_data() local
2932 bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect) in r5c_big_stripe_cached()
3031 struct r5conf *conf = mddev->private; in r5l_start() local
3040 struct r5conf *conf = mddev->private; in r5c_update_on_rdev_error() local
3052 int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev) in r5l_init_log()
3155 void r5l_exit_log(struct r5conf *conf) in r5l_exit_log()