Lines Matching refs:raid_conf

179 	__must_hold(&sh->raid_conf->device_lock)  in raid5_wakeup_stripe_thread()
181 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread()
399 struct r5conf *conf = sh->raid_conf; in raid5_release_stripe()
528 int num = sh->raid_conf->pool_size; in shrink_buffers()
551 int num = sh->raid_conf->pool_size; in grow_buffers()
582 struct r5conf *conf = sh->raid_conf; in init_stripe()
880 BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); in is_full_stripe_write()
881 return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); in is_full_stripe_write()
908 struct r5conf *conf = sh->raid_conf; in stripe_can_batch()
1159 struct r5conf *conf = sh->raid_conf; in ops_run_io()
1387 struct r5conf *conf = sh->raid_conf; in async_copy_data()
1445 struct r5conf *conf = sh->raid_conf; in ops_complete_biofill()
1484 struct r5conf *conf = sh->raid_conf; in ops_run_biofill()
1600 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute5()
1603 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute5()
1706 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute6_1()
1721 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute6_1()
1788 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1816 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1824 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1834 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1840 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1854 if (r5c_is_writeback(sh->raid_conf->log)) in ops_complete_prexor()
1899 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_prexor5()
1921 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_prexor6()
1929 struct r5conf *conf = sh->raid_conf; in ops_run_biodrain()
2131 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct5()
2134 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct5()
2197 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct6()
2251 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_check_p()
2278 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_check_pq()
2286 struct r5conf *conf = sh->raid_conf; in raid_run_ops()
2378 sh->raid_conf = conf; in alloc_stripe()
2726 struct r5conf *conf = sh->raid_conf; in raid5_end_read_request()
2852 struct r5conf *conf = sh->raid_conf; in raid5_end_write_request()
3163 struct r5conf *conf = sh->raid_conf; in raid5_compute_blocknr()
3342 struct r5conf *conf = sh->raid_conf; in schedule_reconstruction()
3435 if (raid5_has_ppl(sh->raid_conf) && sh->ppl_page && in schedule_reconstruction()
3449 struct r5conf *conf = sh->raid_conf; in stripe_bio_overlaps()
3509 struct r5conf *conf = sh->raid_conf; in __add_stripe_bio()
3824 rdev = sh->raid_conf->disks[disk_idx].replacement; in want_replace()
3839 struct mddev *mddev = sh->raid_conf->mddev; in need_this_block()
3843 if (sh->raid_conf->rmw_level == PARITY_DISABLE_RMW || in need_this_block()
3925 sh->sector < sh->raid_conf->mddev->resync_offset) in need_this_block()
4686 struct r5conf *conf = sh->raid_conf; in analyse_stripe()
5000 struct r5conf *conf = sh->raid_conf; in handle_stripe()