Lines Matching refs:raid_conf

169 	struct r5conf *conf = sh->raid_conf;  in raid5_wakeup_stripe_thread()
385 struct r5conf *conf = sh->raid_conf; in raid5_release_stripe()
514 int num = sh->raid_conf->pool_size; in shrink_buffers()
537 int num = sh->raid_conf->pool_size; in grow_buffers()
568 struct r5conf *conf = sh->raid_conf; in init_stripe()
779 BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); in is_full_stripe_write()
780 return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); in is_full_stripe_write()
807 struct r5conf *conf = sh->raid_conf; in stripe_can_batch()
1059 struct r5conf *conf = sh->raid_conf; in ops_run_io()
1316 struct r5conf *conf = sh->raid_conf; in async_copy_data()
1374 struct r5conf *conf = sh->raid_conf; in ops_complete_biofill()
1413 struct r5conf *conf = sh->raid_conf; in ops_run_biofill()
1529 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute5()
1532 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute5()
1635 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute6_1()
1650 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute6_1()
1717 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1745 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1753 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1763 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1769 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1783 if (r5c_is_writeback(sh->raid_conf->log)) in ops_complete_prexor()
1828 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_prexor5()
1850 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_prexor6()
1858 struct r5conf *conf = sh->raid_conf; in ops_run_biodrain()
2060 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct5()
2063 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct5()
2126 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct6()
2180 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_check_p()
2207 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_check_pq()
2215 struct r5conf *conf = sh->raid_conf; in raid_run_ops()
2278 wake_up(&sh->raid_conf->wait_for_overlap); in raid_run_ops()
2308 sh->raid_conf = conf; in alloc_stripe()
2666 struct r5conf *conf = sh->raid_conf; in raid5_end_read_request()
2797 struct r5conf *conf = sh->raid_conf; in raid5_end_write_request()
3116 struct r5conf *conf = sh->raid_conf; in raid5_compute_blocknr()
3295 struct r5conf *conf = sh->raid_conf; in schedule_reconstruction()
3388 if (raid5_has_ppl(sh->raid_conf) && sh->ppl_page && in schedule_reconstruction()
3408 struct r5conf *conf = sh->raid_conf; in add_stripe_bio()
3715 rdev = rcu_dereference(sh->raid_conf->disks[disk_idx].replacement); in want_replace()
3733 bool force_rcw = (sh->raid_conf->rmw_level == PARITY_DISABLE_RMW); in need_this_block()
3813 sh->sector < sh->raid_conf->mddev->recovery_cp) in need_this_block()
4583 struct r5conf *conf = sh->raid_conf; in analyse_stripe()
4872 wake_up(&head_sh->raid_conf->wait_for_overlap); in break_stripe_batch_list()
4878 struct r5conf *conf = sh->raid_conf; in handle_stripe()