Lines Matching refs:snap
1344 lv_t *snap; in lvm_map() local
1348 for (snap = lv->lv_snapshot_next; snap; in lvm_map()
1349 snap = snap->lv_snapshot_next) { in lvm_map()
1351 if (!(snap->lv_status & LV_ACTIVE)) in lvm_map()
1357 pe_start, snap, vg_this); in lvm_map()
2611 lv_t *snap; in lvm_do_lv_extend_reduce() local
2612 for (snap = old_lv->lv_snapshot_next; snap; in lvm_do_lv_extend_reduce()
2613 snap = snap->lv_snapshot_next) { in lvm_do_lv_extend_reduce()
2614 down_write(&snap->lv_lock); in lvm_do_lv_extend_reduce()
2615 snap->lv_current_pe = in lvm_do_lv_extend_reduce()
2617 snap->lv_allocated_le = in lvm_do_lv_extend_reduce()
2619 snap->lv_current_le = in lvm_do_lv_extend_reduce()
2621 snap->lv_size = old_lv->lv_size; in lvm_do_lv_extend_reduce()
2623 lvm_gendisk.part[MINOR(snap->lv_dev)]. in lvm_do_lv_extend_reduce()
2625 lvm_size[MINOR(snap->lv_dev)] = in lvm_do_lv_extend_reduce()
2627 __update_hardsectsize(snap); in lvm_do_lv_extend_reduce()
2628 up_write(&snap->lv_lock); in lvm_do_lv_extend_reduce()