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()
455 int num = sh->raid_conf->pool_size; in shrink_buffers()
470 int num = sh->raid_conf->pool_size; in grow_buffers()
490 struct r5conf *conf = sh->raid_conf; in init_stripe()
701 BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); in is_full_stripe_write()
702 return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); in is_full_stripe_write()
729 struct r5conf *conf = sh->raid_conf; in stripe_can_batch()
981 struct r5conf *conf = sh->raid_conf; in ops_run_io()
1268 if (sh->raid_conf->skip_copy && in async_copy_data()
1659 if (r5c_is_writeback(sh->raid_conf->log)) in ops_complete_prexor()
1722 struct r5conf *conf = sh->raid_conf; in ops_run_biodrain()
2056 struct r5conf *conf = sh->raid_conf; in raid_run_ops()
2119 wake_up(&sh->raid_conf->wait_for_overlap); in raid_run_ops()
2146 sh->raid_conf = conf; in alloc_stripe()
2464 struct r5conf *conf = sh->raid_conf; in raid5_end_read_request()
2595 struct r5conf *conf = sh->raid_conf; in raid5_end_write_request()
2917 struct r5conf *conf = sh->raid_conf; in raid5_compute_blocknr()
3096 struct r5conf *conf = sh->raid_conf; in schedule_reconstruction()
3189 if (raid5_has_ppl(sh->raid_conf) && sh->ppl_page && in schedule_reconstruction()
3209 struct r5conf *conf = sh->raid_conf; in add_stripe_bio()
3516 rdev = rcu_dereference(sh->raid_conf->disks[disk_idx].replacement); in want_replace()
3602 if (sh->raid_conf->level != 6 && in need_this_block()
3603 sh->sector < sh->raid_conf->mddev->recovery_cp) in need_this_block()
4376 struct r5conf *conf = sh->raid_conf; in analyse_stripe()
4665 wake_up(&head_sh->raid_conf->wait_for_overlap); in break_stripe_batch_list()
4671 struct r5conf *conf = sh->raid_conf; in handle_stripe()