Lines Matching refs:cow
52 struct dm_dev *cow; member
184 return s->cow; in dm_snap_cow()
465 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow()
890 cow_dev_size = get_dev_size(s->cow->bdev); in init_hash_tables()
1089 src.bdev = s->cow->bdev; in snapshot_merge_next_chunks()
1309 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
1433 dm_put_device(ti, s->cow); in snapshot_ctr()
1532 dm_put_device(ti, s->cow); in snapshot_dtr()
1825 dest.bdev = s->cow->bdev; in start_copy()
1928 bio_set_dev(bio, s->cow->bdev); in remap_exception()
1950 dest.bdev = s->cow->bdev; in zero_exception()
1978 bio_set_dev(bio, s->cow->bdev); in snapshot_map()
2147 bio_set_dev(bio, s->cow->bdev); in snapshot_merge_map()
2380 DMEMIT("%s %s", snap->origin->name, snap->cow->name); in snapshot_status()
2404 r = fn(ti, snap->cow, 0, get_dev_size(snap->cow->bdev), data); in snapshot_iterate_devices()