Lines Matching defs:sh
133 static inline int raid6_d0(struct stripe_head *sh) in raid6_d0()
155 static int raid6_idx_to_slot(int idx, struct stripe_head *sh, in raid6_idx_to_slot()
186 static int stripe_operations_active(struct stripe_head *sh) in stripe_operations_active()
193 static void __release_stripe(struct r5conf *conf, struct stripe_head *sh) in __release_stripe()
227 static void release_stripe(struct stripe_head *sh) in release_stripe()
237 static inline void remove_hash(struct stripe_head *sh) in remove_hash()
245 static inline void insert_hash(struct r5conf *conf, struct stripe_head *sh) in insert_hash()
259 struct stripe_head *sh = NULL; in get_free_stripe() local
273 static void shrink_buffers(struct stripe_head *sh) in shrink_buffers()
288 static int grow_buffers(struct stripe_head *sh) in grow_buffers()
308 static void init_stripe(struct stripe_head *sh, sector_t sector, int previous) in init_stripe()
349 struct stripe_head *sh; in __find_stripe() local
442 struct stripe_head *sh; in get_active_stripe() local
497 static void ops_run_io(struct stripe_head *sh, struct stripe_head_state *s) in ops_run_io()
710 struct stripe_head *sh = stripe_head_ref; in ops_complete_biofill() local
754 static void ops_run_biofill(struct stripe_head *sh) in ops_run_biofill()
786 static void mark_target_uptodate(struct stripe_head *sh, int target) in mark_target_uptodate()
801 struct stripe_head *sh = stripe_head_ref; in ops_complete_compute() local
818 static addr_conv_t *to_addr_conv(struct stripe_head *sh, in to_addr_conv()
825 ops_run_compute5(struct stripe_head *sh, struct raid5_percpu *percpu) in ops_run_compute5()
866 static int set_syndrome_sources(struct page **srcs, struct stripe_head *sh) in set_syndrome_sources()
890 ops_run_compute6_1(struct stripe_head *sh, struct raid5_percpu *percpu) in ops_run_compute6_1()
947 ops_run_compute6_2(struct stripe_head *sh, struct raid5_percpu *percpu) in ops_run_compute6_2()
1056 struct stripe_head *sh = stripe_head_ref; in ops_complete_prexor() local
1063 ops_run_prexor(struct stripe_head *sh, struct raid5_percpu *percpu, in ops_run_prexor()
1092 ops_run_biodrain(struct stripe_head *sh, struct dma_async_tx_descriptor *tx) in ops_run_biodrain()
1130 struct stripe_head *sh = stripe_head_ref; in ops_complete_reconstruct() local
1167 ops_run_reconstruct5(struct stripe_head *sh, struct raid5_percpu *percpu, in ops_run_reconstruct5()
1220 ops_run_reconstruct6(struct stripe_head *sh, struct raid5_percpu *percpu, in ops_run_reconstruct6()
1240 struct stripe_head *sh = stripe_head_ref; in ops_complete_check() local
1250 static void ops_run_check_p(struct stripe_head *sh, struct raid5_percpu *percpu) in ops_run_check_p()
1284 static void ops_run_check_pq(struct stripe_head *sh, struct raid5_percpu *percpu, int checkp) in ops_run_check_pq()
1304 static void __raid_run_ops(struct stripe_head *sh, unsigned long ops_request) in __raid_run_ops()
1372 struct stripe_head *sh = param; in async_run_ops() local
1382 static void raid_run_ops(struct stripe_head *sh, unsigned long ops_request) in raid_run_ops()
1401 struct stripe_head *sh; in grow_one_stripe() local
1620 struct stripe_head *sh; in drop_one_stripe() local
1646 struct stripe_head *sh = bi->bi_private; in raid5_end_read_request() local
1753 struct stripe_head *sh = bi->bi_private; in raid5_end_write_request() local
1817 static void raid5_build_block(struct stripe_head *sh, int i, int previous) in raid5_build_block()
1870 struct stripe_head *sh) in raid5_compute_sector()
2071 static sector_t compute_blocknr(struct stripe_head *sh, int i, int previous) in compute_blocknr()
2194 schedule_reconstruction(struct stripe_head *sh, struct stripe_head_state *s, in schedule_reconstruction()
2280 static int add_stripe_bio(struct stripe_head *sh, struct bio *bi, int dd_idx, int forwrite) in add_stripe_bio()
2348 struct stripe_head *sh) in stripe_set_idx()
2364 handle_failed_stripe(struct r5conf *conf, struct stripe_head *sh, in handle_failed_stripe()
2469 handle_failed_sync(struct r5conf *conf, struct stripe_head *sh, in handle_failed_sync()
2510 static int want_replace(struct stripe_head *sh, int disk_idx) in want_replace()
2532 static int fetch_block(struct stripe_head *sh, struct stripe_head_state *s, in fetch_block()
2618 static void handle_stripe_fill(struct stripe_head *sh, in handle_stripe_fill()
2643 struct stripe_head *sh, int disks, struct bio **return_bi) in handle_stripe_clean_event()
2688 struct stripe_head *sh, in handle_stripe_dirtying()
2789 static void handle_parity_checks5(struct r5conf *conf, struct stripe_head *sh, in handle_parity_checks5()
2877 static void handle_parity_checks6(struct r5conf *conf, struct stripe_head *sh, in handle_parity_checks6()
3040 static void handle_stripe_expansion(struct r5conf *conf, struct stripe_head *sh) in handle_stripe_expansion()
3113 static void analyse_stripe(struct stripe_head *sh, struct stripe_head_state *s) in analyse_stripe()
3293 static void handle_stripe(struct stripe_head *sh) in handle_stripe()
3600 struct stripe_head *sh; in raid5_activate_delayed() local
3618 struct stripe_head *sh = list_entry(head.next, struct stripe_head, lru); in activate_bit_delay() local
3880 struct stripe_head *sh; in __get_priority_stripe() local
3927 struct stripe_head *sh; in make_request() local
4093 struct stripe_head *sh; in reshape_request() local
4302 struct stripe_head *sh; in sync_request() local
4397 struct stripe_head *sh; in retry_aligned_read() local
4458 struct stripe_head *sh; in raid5d() local