Lines Matching refs:r5conf
5 extern int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev);
6 extern void r5l_exit_log(struct r5conf *conf);
13 extern bool r5l_log_disk_error(struct r5conf *conf);
16 r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh,
19 r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh,
24 extern void r5c_handle_cached_data_endio(struct r5conf *conf,
28 extern void r5c_flush_cache(struct r5conf *conf, int num);
29 extern void r5c_check_stripe_cache_usage(struct r5conf *conf);
30 extern void r5c_check_cached_full_stripe(struct r5conf *conf);
34 extern bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect);
40 extern int ppl_init_log(struct r5conf *conf);
41 extern void ppl_exit_log(struct r5conf *conf);
42 extern int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh);
43 extern void ppl_write_stripe_run(struct r5conf *conf);
45 extern int ppl_modify_log(struct r5conf *conf, struct md_rdev *rdev, bool add);
46 extern void ppl_quiesce(struct r5conf *conf, int quiesce);
49 static inline bool raid5_has_log(struct r5conf *conf) in raid5_has_log()
54 static inline bool raid5_has_ppl(struct r5conf *conf) in raid5_has_ppl()
61 struct r5conf *conf = sh->raid_conf; in log_stripe()
82 struct r5conf *conf = sh->raid_conf; in log_stripe_write_finished()
90 static inline void log_write_stripe_run(struct r5conf *conf) in log_write_stripe_run()
98 static inline void log_flush_stripe_to_raid(struct r5conf *conf) in log_flush_stripe_to_raid()
106 static inline int log_handle_flush_request(struct r5conf *conf, struct bio *bio) in log_handle_flush_request()
118 static inline void log_quiesce(struct r5conf *conf, int quiesce) in log_quiesce()
126 static inline void log_exit(struct r5conf *conf) in log_exit()
134 static inline int log_init(struct r5conf *conf, struct md_rdev *journal_dev, in log_init()
145 static inline int log_modify(struct r5conf *conf, struct md_rdev *rdev, bool add) in log_modify()