Home | History | Annotate | Download | only in tools

Lines Matching defs:mirrored_seg

174 	struct lv_segment *seg, *mirrored_seg;
271 mirrored_seg = first_seg(lvl->lv);
272 if (!seg_is_mirrored(mirrored_seg))
275 mimages = mirrored_seg->area_count;
278 for (s = 0; s < mirrored_seg->area_count; s++) {
280 if (seg_type(mirrored_seg, s) != AREA_LV ||
281 lvl2->lv != seg_lv(mirrored_seg, s))
284 if (!shift_mirror_images(mirrored_seg, s))
290 if (mirrored_seg->log_lv) {
291 dm_list_iterate_items(seg, &mirrored_seg->log_lv->segments) {
296 vg->name, mirrored_seg->lv->name);
302 vg->name, mirrored_seg->lv->name);
309 if ((mimages != mirrored_seg->area_count) || remove_log){
310 if (!reconfigure_mirror_images(mirrored_seg, mimages,
341 * So check the mirrored_seg again. */