Lines Matching refs:raid_conf
248 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread()
413 struct r5conf *conf = sh->raid_conf; in raid5_release_stripe()
486 int num = sh->raid_conf->pool_size; in shrink_buffers()
501 int num = sh->raid_conf->pool_size; in grow_buffers()
521 struct r5conf *conf = sh->raid_conf; in init_stripe()
723 BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); in is_full_stripe_write()
724 return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); in is_full_stripe_write()
749 struct r5conf *conf = sh->raid_conf; in stripe_can_batch()
887 struct r5conf *conf = sh->raid_conf; in ops_run_io()
1148 if (sh->raid_conf->skip_copy && in async_copy_data()
1918 struct r5conf *conf = sh->raid_conf; in raid_run_ops()
1978 wake_up(&sh->raid_conf->wait_for_overlap); in raid_run_ops()
2005 sh->raid_conf = conf; in grow_one_stripe()
2176 nsh->raid_conf = conf; in resize_stripes()
2290 struct r5conf *conf = sh->raid_conf; in raid5_end_read_request()
2412 struct r5conf *conf = sh->raid_conf; in raid5_end_write_request()
2738 struct r5conf *conf = sh->raid_conf; in raid5_compute_blocknr()
2861 struct r5conf *conf = sh->raid_conf; in schedule_reconstruction()
2955 struct r5conf *conf = sh->raid_conf; in add_stripe_bio()
3243 rdev = sh->raid_conf->disks[disk_idx].replacement; in want_replace()
3336 if (sh->raid_conf->level != 6 && in need_this_block()
3337 sh->sector < sh->raid_conf->mddev->recovery_cp) in need_this_block()
4012 struct r5conf *conf = sh->raid_conf; in analyse_stripe()
4288 wake_up(&head_sh->raid_conf->wait_for_overlap); in break_stripe_batch_list()
4294 struct r5conf *conf = sh->raid_conf; in handle_stripe()