Searched refs:dm_snapshot (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/md/
H A Ddm-snap.c49 struct dm_snapshot { struct
144 struct dm_dev *dm_snap_origin(struct dm_snapshot *s) dm_snap_origin()
150 struct dm_dev *dm_snap_cow(struct dm_snapshot *s) dm_snap_cow()
182 struct dm_snapshot *snap;
230 static void track_chunk(struct dm_snapshot *s, struct bio *bio, chunk_t chunk) track_chunk()
242 static void stop_tracking_chunk(struct dm_snapshot *s, struct bio *bio) stop_tracking_chunk()
252 static int __chunk_is_tracked(struct dm_snapshot *s, chunk_t chunk) __chunk_is_tracked()
276 static void __check_for_conflicting_io(struct dm_snapshot *s, chunk_t chunk) __check_for_conflicting_io()
416 static int __find_snapshots_sharing_cow(struct dm_snapshot *snap, __find_snapshots_sharing_cow()
417 struct dm_snapshot **snap_src, __find_snapshots_sharing_cow()
418 struct dm_snapshot **snap_dest, __find_snapshots_sharing_cow()
419 struct dm_snapshot **snap_merge) __find_snapshots_sharing_cow()
421 struct dm_snapshot *s; __find_snapshots_sharing_cow()
457 static int __validate_exception_handover(struct dm_snapshot *snap) __validate_exception_handover()
459 struct dm_snapshot *snap_src = NULL, *snap_dest = NULL; __validate_exception_handover()
460 struct dm_snapshot *snap_merge = NULL; __validate_exception_handover()
502 static void __insert_snapshot(struct origin *o, struct dm_snapshot *s) __insert_snapshot()
504 struct dm_snapshot *l; __insert_snapshot()
521 static int register_snapshot(struct dm_snapshot *snap) register_snapshot()
564 static void reregister_snapshot(struct dm_snapshot *s) reregister_snapshot()
576 static void unregister_snapshot(struct dm_snapshot *s) unregister_snapshot()
677 static struct dm_snap_pending_exception *alloc_pending_exception(struct dm_snapshot *s) alloc_pending_exception()
690 struct dm_snapshot *s = pe->snap; free_pending_exception()
745 struct dm_snapshot *s = context; dm_add_exception()
768 struct dm_snapshot *snap; __minimum_chunk_size()
794 static int init_hash_tables(struct dm_snapshot *s) init_hash_tables()
831 static void merge_shutdown(struct dm_snapshot *s) merge_shutdown()
838 static struct bio *__release_queued_bios_after_merge(struct dm_snapshot *s) __release_queued_bios_after_merge()
849 static int __remove_single_exception_chunk(struct dm_snapshot *s, __remove_single_exception_chunk()
900 static int remove_single_exception_chunk(struct dm_snapshot *s) remove_single_exception_chunk()
928 static int origin_write_extent(struct dm_snapshot *merging_snap,
954 static void snapshot_merge_next_chunks(struct dm_snapshot *s) snapshot_merge_next_chunks()
1043 struct dm_snapshot *s = context; merge_callback()
1077 static void start_merge(struct dm_snapshot *s) start_merge()
1086 static void stop_merge(struct dm_snapshot *s) stop_merge()
1098 struct dm_snapshot *s; snapshot_ctr()
1271 static void __free_exceptions(struct dm_snapshot *s) __free_exceptions()
1280 static void __handover_exceptions(struct dm_snapshot *snap_src, __handover_exceptions()
1281 struct dm_snapshot *snap_dest) __handover_exceptions()
1316 struct dm_snapshot *s = ti->private; snapshot_dtr()
1317 struct dm_snapshot *snap_src = NULL, *snap_dest = NULL; snapshot_dtr()
1383 static void retry_origin_bios(struct dm_snapshot *s, struct bio *bio) retry_origin_bios()
1413 static void __invalidate_snapshot(struct dm_snapshot *s, int err) __invalidate_snapshot()
1435 struct dm_snapshot *s = pe->snap; pending_complete()
1506 struct dm_snapshot *s = pe->snap; complete_exception()
1520 struct dm_snapshot *s = pe->snap; copy_callback()
1555 struct dm_snapshot *s = pe->snap; start_copy()
1584 struct dm_snapshot *s = pe->snap; start_full_bio()
1601 __lookup_pending_exception(struct dm_snapshot *s, chunk_t chunk) __lookup_pending_exception()
1620 __find_pending_exception(struct dm_snapshot *s, __find_pending_exception()
1649 static void remap_exception(struct dm_snapshot *s, struct dm_exception *e, remap_exception()
1662 struct dm_snapshot *s = ti->private; snapshot_map()
1778 struct dm_snapshot *s = ti->private; snapshot_merge_map()
1837 struct dm_snapshot *s = ti->private; snapshot_end_io()
1847 struct dm_snapshot *s = ti->private; snapshot_merge_presuspend()
1855 struct dm_snapshot *s = ti->private; snapshot_preresume()
1856 struct dm_snapshot *snap_src = NULL, *snap_dest = NULL; snapshot_preresume()
1880 struct dm_snapshot *s = ti->private; snapshot_resume()
1881 struct dm_snapshot *snap_src = NULL, *snap_dest = NULL, *snap_merging = NULL; snapshot_resume()
1954 struct dm_snapshot *s = ti->private; snapshot_merge_resume()
1973 struct dm_snapshot *snap = ti->private; snapshot_status()
2021 struct dm_snapshot *snap = ti->private; snapshot_iterate_devices()
2051 struct dm_snapshot *snap; __origin_write()
2187 static int origin_write_extent(struct dm_snapshot *merging_snap, origin_write_extent()
H A Ddm-exception-store.h114 struct dm_snapshot;
118 struct dm_snapshot *snap;
131 struct dm_dev *dm_snap_origin(struct dm_snapshot *snap);
132 struct dm_dev *dm_snap_cow(struct dm_snapshot *snap);
210 struct dm_snapshot *snap,
H A Ddm-exception-store.c192 struct dm_snapshot *snap, dm_exception_store_create()

Completed in 94 milliseconds