Lines Matching refs:raid_conf
168 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread()
384 struct r5conf *conf = sh->raid_conf; in raid5_release_stripe()
513 int num = sh->raid_conf->pool_size; in shrink_buffers()
536 int num = sh->raid_conf->pool_size; in grow_buffers()
567 struct r5conf *conf = sh->raid_conf; in init_stripe()
778 BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); in is_full_stripe_write()
779 return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); in is_full_stripe_write()
806 struct r5conf *conf = sh->raid_conf; in stripe_can_batch()
1058 struct r5conf *conf = sh->raid_conf; in ops_run_io()
1315 struct r5conf *conf = sh->raid_conf; in async_copy_data()
1373 struct r5conf *conf = sh->raid_conf; in ops_complete_biofill()
1412 struct r5conf *conf = sh->raid_conf; in ops_run_biofill()
1528 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute5()
1531 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute5()
1634 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute6_1()
1649 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute6_1()
1716 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1744 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1752 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1762 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1768 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1782 if (r5c_is_writeback(sh->raid_conf->log)) in ops_complete_prexor()
1827 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_prexor5()
1849 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_prexor6()
1857 struct r5conf *conf = sh->raid_conf; in ops_run_biodrain()
2059 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct5()
2062 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct5()
2125 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct6()
2179 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_check_p()
2206 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_check_pq()
2214 struct r5conf *conf = sh->raid_conf; in raid_run_ops()
2277 wake_up(&sh->raid_conf->wait_for_overlap); in raid_run_ops()
2307 sh->raid_conf = conf; in alloc_stripe()
2665 struct r5conf *conf = sh->raid_conf; in raid5_end_read_request()
2796 struct r5conf *conf = sh->raid_conf; in raid5_end_write_request()
3118 struct r5conf *conf = sh->raid_conf; in raid5_compute_blocknr()
3297 struct r5conf *conf = sh->raid_conf; in schedule_reconstruction()
3390 if (raid5_has_ppl(sh->raid_conf) && sh->ppl_page && in schedule_reconstruction()
3410 struct r5conf *conf = sh->raid_conf; in add_stripe_bio()
3717 rdev = rcu_dereference(sh->raid_conf->disks[disk_idx].replacement); in want_replace()
3735 bool force_rcw = (sh->raid_conf->rmw_level == PARITY_DISABLE_RMW); in need_this_block()
3815 sh->sector < sh->raid_conf->mddev->recovery_cp) in need_this_block()
4585 struct r5conf *conf = sh->raid_conf; in analyse_stripe()
4874 wake_up(&head_sh->raid_conf->wait_for_overlap); in break_stripe_batch_list()
4880 struct r5conf *conf = sh->raid_conf; in handle_stripe()