• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/

Lines Matching refs:stripe_head

136 static inline int raid6_d0(struct stripe_head *sh)
158 static int raid6_idx_to_slot(int idx, struct stripe_head *sh,
189 static int stripe_operations_active(struct stripe_head *sh)
196 static void __release_stripe(raid5_conf_t *conf, struct stripe_head *sh)
232 static void release_stripe(struct stripe_head *sh)
242 static inline void remove_hash(struct stripe_head *sh)
250 static inline void insert_hash(raid5_conf_t *conf, struct stripe_head *sh)
263 static struct stripe_head *get_free_stripe(raid5_conf_t *conf)
265 struct stripe_head *sh = NULL;
272 sh = list_entry(first, struct stripe_head, lru);
280 static void shrink_buffers(struct stripe_head *sh)
295 static int grow_buffers(struct stripe_head *sh)
311 static void raid5_build_block(struct stripe_head *sh, int i, int previous);
313 struct stripe_head *sh);
315 static void init_stripe(struct stripe_head *sh, sector_t sector, int previous)
354 static struct stripe_head *__find_stripe(raid5_conf_t *conf, sector_t sector,
357 struct stripe_head *sh;
438 static struct stripe_head *
442 struct stripe_head *sh;
498 static void ops_run_io(struct stripe_head *sh, struct stripe_head_state *s)
628 struct stripe_head *sh = stripe_head_ref;
672 static void ops_run_biofill(struct stripe_head *sh)
704 static void mark_target_uptodate(struct stripe_head *sh, int target)
719 struct stripe_head *sh = stripe_head_ref;
736 static addr_conv_t *to_addr_conv(struct stripe_head *sh,
743 ops_run_compute5(struct stripe_head *sh, struct raid5_percpu *percpu)
777 * @sh - stripe_head to parse
784 static int set_syndrome_sources(struct page **srcs, struct stripe_head *sh)
808 ops_run_compute6_1(struct stripe_head *sh, struct raid5_percpu *percpu)
865 ops_run_compute6_2(struct stripe_head *sh, struct raid5_percpu *percpu)
974 struct stripe_head *sh = stripe_head_ref;
981 ops_run_prexor(struct stripe_head *sh, struct raid5_percpu *percpu,
1010 ops_run_biodrain(struct stripe_head *sh, struct dma_async_tx_descriptor *tx)
1046 struct stripe_head *sh = stripe_head_ref;
1076 ops_run_reconstruct5(struct stripe_head *sh, struct raid5_percpu *percpu,
1129 ops_run_reconstruct6(struct stripe_head *sh, struct raid5_percpu *percpu,
1149 struct stripe_head *sh = stripe_head_ref;
1159 static void ops_run_check_p(struct stripe_head *sh, struct raid5_percpu *percpu)
1193 static void ops_run_check_pq(struct stripe_head *sh, struct raid5_percpu *percpu, int checkp)
1213 static void __raid_run_ops(struct stripe_head *sh, unsigned long ops_request)
1281 struct stripe_head *sh = param;
1291 static void raid_run_ops(struct stripe_head *sh, unsigned long ops_request)
1310 struct stripe_head *sh;
1349 sizeof(struct stripe_head)+(devs-1)*sizeof(struct r5dev),
1402 * As each stripe_head is processed the new one is released into
1408 struct stripe_head *osh, *nsh;
1425 sizeof(struct stripe_head)+(newsize-1)*sizeof(struct r5dev),
1448 nsh = list_entry(newstripes.next, struct stripe_head, lru);
1512 nsh = list_entry(newstripes.next, struct stripe_head, lru);
1534 struct stripe_head *sh;
1560 struct stripe_head *sh = bi->bi_private;
1642 struct stripe_head *sh = bi->bi_private;
1670 static sector_t compute_blocknr(struct stripe_head *sh, int i, int previous);
1672 static void raid5_build_block(struct stripe_head *sh, int i, int previous)
1727 struct stripe_head *sh)
1928 static sector_t compute_blocknr(struct stripe_head *sh, int i, int previous)
1943 struct stripe_head sh2;
2051 schedule_reconstruction(struct stripe_head *sh, struct stripe_head_state *s,
2137 static int add_stripe_bio(struct stripe_head *sh, struct bio *bi, int dd_idx, int forwrite)
2208 struct stripe_head *sh)
2224 handle_failed_stripe(raid5_conf_t *conf, struct stripe_head *sh,
2321 static int fetch_block5(struct stripe_head *sh, struct stripe_head_state *s,
2371 static void handle_stripe_fill5(struct stripe_head *sh,
2394 static int fetch_block6(struct stripe_head *sh, struct stripe_head_state *s,
2471 static void handle_stripe_fill6(struct stripe_head *sh,
2496 struct stripe_head *sh, int disks, struct bio **return_bi)
2541 struct stripe_head *sh, struct stripe_head_state *s, int disks)
2631 struct stripe_head *sh, struct stripe_head_state *s,
2677 static void handle_parity_checks5(raid5_conf_t *conf, struct stripe_head *sh,
2765 static void handle_parity_checks6(raid5_conf_t *conf, struct stripe_head *sh,
2928 static void handle_stripe_expansion(raid5_conf_t *conf, struct stripe_head *sh,
2941 struct stripe_head *sh2;
3006 static void handle_stripe5(struct stripe_head *sh)
3227 struct stripe_head *sh2
3295 static void handle_stripe6(struct stripe_head *sh)
3539 struct stripe_head *sh2
3598 static void handle_stripe(struct stripe_head *sh)
3611 struct stripe_head *sh;
3612 sh = list_entry(l, struct stripe_head, lru);
3630 struct stripe_head *sh = list_entry(head.next, struct stripe_head, lru);
3928 static struct stripe_head *__get_priority_stripe(raid5_conf_t *conf)
3930 struct stripe_head *sh;
3977 struct stripe_head *sh;
4153 struct stripe_head *sh;
4328 sh = list_entry(stripes.next, struct stripe_head, lru);
4361 struct stripe_head *sh;
4461 struct stripe_head *sh;
4523 struct stripe_head *sh;
4934 memory = conf->max_nr_stripes * (sizeof(struct stripe_head) +
5250 static void print_sh(struct seq_file *seq, struct stripe_head *sh)
5268 struct stripe_head *sh;