Searched refs:raid0_conf (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/md/
H A Draid10.c3908 struct r0conf *raid0_conf; raid10_takeover() local
3915 raid0_conf = mddev->private; raid10_takeover()
3916 if (raid0_conf->nr_strip_zones > 1) { raid10_takeover()
3923 raid0_conf->strip_zone->zone_end, raid10_takeover()
3924 raid0_conf->strip_zone->nb_dev); raid10_takeover()
H A Draid5.c7532 struct r0conf *raid0_conf = mddev->private; raid45_takeover_raid0() local
7536 if (raid0_conf->nr_strip_zones > 1) { raid45_takeover_raid0()
7542 sectors = raid0_conf->strip_zone[0].zone_end; raid45_takeover_raid0()
7543 sector_div(sectors, raid0_conf->strip_zone[0].nb_dev); raid45_takeover_raid0()

Completed in 162 milliseconds