Lines Matching refs:snapshots
318 struct list_head snapshots; member
457 list_for_each_entry(s, &o->snapshots, list) { in __find_snapshots_sharing_cow()
534 list_for_each_entry(l, &o->snapshots, list) in __insert_snapshot()
574 INIT_LIST_HEAD(&o->snapshots); in register_snapshot()
611 if (o && list_empty(&o->snapshots)) { in unregister_snapshot()
856 list_for_each_entry(snap, &o->snapshots, list) in __minimum_chunk_size()
2436 static int __origin_write(struct list_head *snapshots, sector_t sector, in __origin_write() argument
2449 list_for_each_entry (snap, snapshots, list) { in __origin_write()
2569 list_for_each_entry(s, &o->snapshots, list) in do_origin()
2574 r = __origin_write(&o->snapshots, bio->bi_iter.bi_sector, bio); in do_origin()
2608 if (__origin_write(&o->snapshots, sector + n, NULL) == in origin_write_extent()