| H A D | raid5.c | 130 if (sh->qd_idx == sh->disks - 1) in raid6_d0() 141 /* When walking through the disks in a raid5, starting at raid6_d0, 142 * We need to map each disk to a 'slot', where the data disks are slot 236 for (i = sh->disks; i--; ) in do_release_stripe() 505 init_stripe_shared_pages(struct stripe_head *sh, struct r5conf *conf, int disks) in init_stripe_shared_pages() argument 514 nr_pages = (disks + cnt - 1) / cnt; in init_stripe_shared_pages() 595 sh->disks = previous ? conf->previous_raid_disks : conf->raid_disks; in init_stripe() 600 for (i = sh->disks; i--; ) { in init_stripe() 702 struct md_rdev *rdev = READ_ONCE(conf->disks[i].rdev); in raid5_calc_degraded() 705 rdev = READ_ONCE(conf->disks[ in raid5_calc_degraded() 1145 int i, disks = sh->disks; ops_run_io() local 1554 int disks = sh->disks; ops_run_compute5() local 1608 int disks = sh->disks; set_syndrome_sources() local 1651 int disks = sh->disks; ops_run_compute6_1() local 1715 int i, count, disks = sh->disks; ops_run_compute6_2() local 1851 int disks = sh->disks; ops_run_prexor5() local 1915 int disks = sh->disks; ops_run_biodrain() local 1986 int disks = sh->disks; ops_complete_reconstruct() local 2034 int disks = sh->disks; ops_run_reconstruct5() local 2205 int disks = sh->disks; ops_run_check_p() local 2269 int overlap_clear = 0, i, disks = sh->disks; raid_run_ops() local 2350 alloc_stripe(struct kmem_cache * sc,gfp_t gfp,int disks,struct r5conf * conf) alloc_stripe() argument 2714 int disks = sh->disks, i; raid5_end_read_request() local 2840 int disks = sh->disks, i; raid5_end_write_request() local 3328 int i, pd_idx = sh->pd_idx, qd_idx = sh->qd_idx, disks = sh->disks; schedule_reconstruction() local 3576 int disks = previous ? conf->previous_raid_disks : conf->raid_disks; stripe_set_idx() local 3587 handle_failed_stripe(struct r5conf * conf,struct stripe_head * sh,struct stripe_head_state * s,int disks) handle_failed_stripe() argument 3749 need_this_block(struct stripe_head * sh,struct stripe_head_state * s,int disk_idx,int disks) need_this_block() argument 3861 fetch_block(struct stripe_head * sh,struct stripe_head_state * s,int disk_idx,int disks) fetch_block() argument 3950 handle_stripe_fill(struct stripe_head * sh,struct stripe_head_state * s,int disks) handle_stripe_fill() argument 3990 handle_stripe_clean_event(struct r5conf * conf,struct stripe_head * sh,int disks) handle_stripe_clean_event() argument 4104 handle_stripe_dirtying(struct r5conf * conf,struct stripe_head * sh,struct stripe_head_state * s,int disks) handle_stripe_dirtying() argument 4273 handle_parity_checks5(struct r5conf * conf,struct stripe_head * sh,struct stripe_head_state * s,int disks) handle_parity_checks5() argument 4366 handle_parity_checks6(struct r5conf * conf,struct stripe_head * sh,struct stripe_head_state * s,int disks) handle_parity_checks6() argument 4602 int disks = sh->disks; analyse_stripe() local 4910 int disks = sh->disks; handle_stripe() local [all...] |