Lines Matching refs:raid_conf

175 	__must_hold(&sh->raid_conf->device_lock)  in raid5_wakeup_stripe_thread()
177 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread()
395 struct r5conf *conf = sh->raid_conf; in raid5_release_stripe()
524 int num = sh->raid_conf->pool_size; in shrink_buffers()
547 int num = sh->raid_conf->pool_size; in grow_buffers()
578 struct r5conf *conf = sh->raid_conf; in init_stripe()
876 BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); in is_full_stripe_write()
877 return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); in is_full_stripe_write()
904 struct r5conf *conf = sh->raid_conf; in stripe_can_batch()
1140 struct r5conf *conf = sh->raid_conf; in ops_run_io()
1368 struct r5conf *conf = sh->raid_conf; in async_copy_data()
1426 struct r5conf *conf = sh->raid_conf; in ops_complete_biofill()
1465 struct r5conf *conf = sh->raid_conf; in ops_run_biofill()
1581 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute5()
1584 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute5()
1687 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute6_1()
1702 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_compute6_1()
1769 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1797 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1805 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1815 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1821 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_compute6_2()
1835 if (r5c_is_writeback(sh->raid_conf->log)) in ops_complete_prexor()
1880 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_prexor5()
1902 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_prexor6()
1910 struct r5conf *conf = sh->raid_conf; in ops_run_biodrain()
2112 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct5()
2115 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct5()
2178 RAID5_STRIPE_SIZE(sh->raid_conf), &submit); in ops_run_reconstruct6()
2232 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_check_p()
2259 RAID5_STRIPE_SIZE(sh->raid_conf), in ops_run_check_pq()
2267 struct r5conf *conf = sh->raid_conf; in raid_run_ops()
2359 sh->raid_conf = conf; in alloc_stripe()
2709 struct r5conf *conf = sh->raid_conf; in raid5_end_read_request()
2837 struct r5conf *conf = sh->raid_conf; in raid5_end_write_request()
3149 struct r5conf *conf = sh->raid_conf; in raid5_compute_blocknr()
3328 struct r5conf *conf = sh->raid_conf; in schedule_reconstruction()
3421 if (raid5_has_ppl(sh->raid_conf) && sh->ppl_page && in schedule_reconstruction()
3435 struct r5conf *conf = sh->raid_conf; in stripe_bio_overlaps()
3495 struct r5conf *conf = sh->raid_conf; in __add_stripe_bio()
3738 rdev = sh->raid_conf->disks[disk_idx].replacement; in want_replace()
3755 bool force_rcw = (sh->raid_conf->rmw_level == PARITY_DISABLE_RMW); in need_this_block()
3835 sh->sector < sh->raid_conf->mddev->resync_offset) in need_this_block()
4601 struct r5conf *conf = sh->raid_conf; in analyse_stripe()
4884 struct r5conf *conf = sh->raid_conf; in handle_stripe()