Home
last modified time | relevance | path

Searched refs:stripe_head (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/md/
H A Draid5-log.h7 int r5l_write_stripe(struct r5l_log *log, struct stripe_head *head_sh);
10 void r5l_stripe_write_finished(struct stripe_head *sh);
15 int r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh,
19 void r5c_release_extra_page(struct stripe_head *sh);
20 void r5c_use_extra_page(struct stripe_head *sh);
23 struct stripe_head *sh, int disks);
24 int r5c_cache_data(struct r5l_log *log, struct stripe_head *sh);
25 void r5c_make_stripe_write_out(struct stripe_head *sh);
39 int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh);
41 void ppl_stripe_write_finished(struct stripe_head *sh);
[all …]
H A Draid5.h200 struct stripe_head { struct
226 struct stripe_head *batch_head; /* protected by stripe lock */ argument
791 static inline int raid5_get_page_offset(struct stripe_head *sh, int disk_idx) in raid5_get_page_offset()
800 raid5_get_dev_page(struct stripe_head *sh, int disk_idx) in raid5_get_dev_page()
808 sector_t raid5_compute_blocknr(struct stripe_head *sh, int i, int previous);
809 void raid5_release_stripe(struct stripe_head *sh);
811 int previous, int *dd_idx, struct stripe_head *sh);
820 struct stripe_head *raid5_get_active_stripe(struct r5conf *conf,
H A Draid5-cache.c1136 struct stripe_head *sh; in r5l_run_no_space_stripes()
1156 struct stripe_head *sh; in r5c_calculate_new_cp()
1187 struct stripe_head *sh; in r5l_run_no_mem_stripe()
1427 struct stripe_head *sh; in r5c_do_reclaim()
1922 static struct stripe_head *
1928 struct stripe_head *sh; in r5c_recovery_alloc_stripe()
1940 static struct stripe_head *
1943 struct stripe_head *sh; in r5c_recovery_lookup_stripe()
2085 struct stripe_head *sh; in r5c_recovery_analyze_meta_block()
2241 struct stripe_head *sh; in r5c_recovery_flush_log()
[all …]
H A Draid5.c619 struct stripe_head *sh; in __find_stripe()
633 struct stripe_head *sh; in find_get_stripe()
806 struct stripe_head *sh; in raid5_get_active_stripe()
879 static void lock_two_stripes(struct stripe_head *sh1, struct stripe_head *sh2) in lock_two_stripes()
892 static void unlock_two_stripes(struct stripe_head *sh1, struct stripe_head *sh2) in unlock_two_stripes()
914 struct stripe_head *sh, struct stripe_head *last_sh) in stripe_add_to_batch_list()
2373 struct stripe_head *sh; in alloc_stripe()
2405 struct stripe_head *sh; in grow_one_stripe()
2707 struct stripe_head *sh; in drop_one_stripe()
5410 struct stripe_head *sh = list_entry(head.next, struct stripe_head, lru); in activate_bit_delay()
[all …]
H A Draid5-ppl.c233 struct stripe_head *sh) in ppl_new_iounit()
267 static int ppl_log_stripe(struct ppl_log *log, struct stripe_head *sh) in ppl_log_stripe()
318 struct stripe_head *sh_last = list_last_entry( in ppl_log_stripe()
319 &io->stripe_list, struct stripe_head, log_list); in ppl_log_stripe()
361 int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh) in ppl_write_stripe()
403 struct stripe_head *sh, *next; in ppl_log_endio()
434 struct stripe_head *sh; in ppl_submit_iounit()
566 struct stripe_head *sh; in ppl_io_unit_finished()
569 struct stripe_head, log_list); in ppl_io_unit_finished()
692 void ppl_stripe_write_finished(struct stripe_head *sh) in ppl_stripe_write_finished()
[all …]