Lines Matching full:sh

10 extern void r5l_stripe_write_finished(struct stripe_head *sh);
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,
21 extern void r5c_release_extra_page(struct stripe_head *sh);
22 extern void r5c_use_extra_page(struct stripe_head *sh);
25 struct stripe_head *sh, int disks);
26 extern int r5c_cache_data(struct r5l_log *log, struct stripe_head *sh);
27 extern void r5c_make_stripe_write_out(struct stripe_head *sh);
38 ops_run_partial_parity(struct stripe_head *sh, struct raid5_percpu *percpu,
42 extern int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh);
44 extern void ppl_stripe_write_finished(struct stripe_head *sh);
60 static inline int log_stripe(struct stripe_head *sh, struct stripe_head_state *s) in log_stripe() argument
62 struct r5conf *conf = sh->raid_conf; in log_stripe()
65 if (!test_bit(STRIPE_R5C_CACHING, &sh->state)) { in log_stripe()
69 return r5l_write_stripe(conf->log, sh); in log_stripe()
70 } else if (test_bit(STRIPE_LOG_TRAPPED, &sh->state)) { in log_stripe()
72 return r5c_cache_data(conf->log, sh); in log_stripe()
75 return ppl_write_stripe(conf, sh); in log_stripe()
81 static inline void log_stripe_write_finished(struct stripe_head *sh) in log_stripe_write_finished() argument
83 struct r5conf *conf = sh->raid_conf; in log_stripe_write_finished()
86 r5l_stripe_write_finished(sh); in log_stripe_write_finished()
88 ppl_stripe_write_finished(sh); in log_stripe_write_finished()