Home
last modified time | relevance | path

Searched refs:raid_conf (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/md/
H A Draid5-log.h59 struct r5conf *conf = sh->raid_conf; in log_stripe()
80 struct r5conf *conf = sh->raid_conf; in log_stripe_write_finished()
H A Draid5.c179 __must_hold(&sh->raid_conf->device_lock) in raid5_wakeup_stripe_thread()
181 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread()
399 struct r5conf *conf = sh->raid_conf; in raid5_release_stripe()
528 int num = sh->raid_conf->pool_size; in shrink_buffers()
551 int num = sh->raid_conf->pool_size; in grow_buffers()
582 struct r5conf *conf = sh->raid_conf; in init_stripe()
880 BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); in is_full_stripe_write()
881 return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); in is_full_stripe_write()
908 struct r5conf *conf = sh->raid_conf; in stripe_can_batch()
1144 struct r5conf *conf = sh->raid_conf; in ops_run_io()
[all …]
H A Draid5.h204 struct r5conf *raid_conf; member
791 return (disk_idx % sh->stripes_per_page) * RAID5_STRIPE_SIZE(sh->raid_conf); in raid5_get_page_offset()
H A Draid5-cache.c450 struct r5conf *conf = sh->raid_conf; in r5c_make_stripe_write_out()
493 struct r5l_log *log = READ_ONCE(sh->raid_conf->log); in r5c_finish_cache_stripe()
991 struct r5conf *conf = sh->raid_conf; in r5l_write_stripe()
1960 r5l_recovery_replay_one_stripe(sh->raid_conf, sh, ctx); in r5c_recovery_replay_stripes()
2748 struct r5conf *conf = sh->raid_conf; in r5c_release_extra_page()
2774 struct r5conf *conf = sh->raid_conf; in r5c_use_extra_page()
2873 struct r5conf *conf = sh->raid_conf; in r5c_cache_data()
H A Draid5-ppl.c275 struct r5conf *conf = sh->raid_conf; in ppl_log_stripe()