Lines Matching defs:s
171 struct dm_dev *dm_snap_origin(struct dm_snapshot *s) in dm_snap_origin()
177 struct dm_dev *dm_snap_cow(struct dm_snapshot *s) in dm_snap_cow()
256 static void track_chunk(struct dm_snapshot *s, struct bio *bio, chunk_t chunk) in track_chunk()
268 static void stop_tracking_chunk(struct dm_snapshot *s, struct bio *bio) in stop_tracking_chunk()
278 static int __chunk_is_tracked(struct dm_snapshot *s, chunk_t chunk) in __chunk_is_tracked()
302 static void __check_for_conflicting_io(struct dm_snapshot *s, chunk_t chunk) in __check_for_conflicting_io()
448 struct dm_snapshot *s; in __find_snapshots_sharing_cow() local
527 static void __insert_snapshot(struct origin *o, struct dm_snapshot *s) in __insert_snapshot()
589 static void reregister_snapshot(struct dm_snapshot *s) in reregister_snapshot()
601 static void unregister_snapshot(struct dm_snapshot *s) in unregister_snapshot()
630 static void dm_exception_table_lock_init(struct dm_snapshot *s, chunk_t chunk, in dm_exception_table_lock_init()
735 static struct dm_snap_pending_exception *alloc_pending_exception(struct dm_snapshot *s) in alloc_pending_exception()
748 struct dm_snapshot *s = pe->snap; in free_pending_exception() local
817 struct dm_snapshot *s = context; in dm_add_exception() local
876 static int init_hash_tables(struct dm_snapshot *s) in init_hash_tables()
913 static void merge_shutdown(struct dm_snapshot *s) in merge_shutdown()
920 static struct bio *__release_queued_bios_after_merge(struct dm_snapshot *s) in __release_queued_bios_after_merge()
931 static int __remove_single_exception_chunk(struct dm_snapshot *s, in __remove_single_exception_chunk()
980 static int remove_single_exception_chunk(struct dm_snapshot *s) in remove_single_exception_chunk()
1034 static void snapshot_merge_next_chunks(struct dm_snapshot *s) in snapshot_merge_next_chunks()
1122 struct dm_snapshot *s = context; in merge_callback() local
1161 static void start_merge(struct dm_snapshot *s) in start_merge()
1170 static void stop_merge(struct dm_snapshot *s) in stop_merge()
1177 static int parse_snapshot_features(struct dm_arg_set *as, struct dm_snapshot *s, in parse_snapshot_features()
1233 struct dm_snapshot *s; in snapshot_ctr() local
1422 static void __free_exceptions(struct dm_snapshot *s) in __free_exceptions()
1469 struct dm_snapshot *s = ti->private; in snapshot_dtr() local
1518 static void account_start_copy(struct dm_snapshot *s) in account_start_copy()
1525 static void account_end_copy(struct dm_snapshot *s) in account_end_copy()
1536 static bool wait_for_in_progress(struct dm_snapshot *s, bool unlock_origins) in wait_for_in_progress()
1583 static void retry_origin_bios(struct dm_snapshot *s, struct bio *bio) in retry_origin_bios()
1613 static void __invalidate_snapshot(struct dm_snapshot *s, int err) in __invalidate_snapshot()
1631 static void invalidate_snapshot(struct dm_snapshot *s, int err) in invalidate_snapshot()
1642 struct dm_snapshot *s = pe->snap; in pending_complete() local
1728 struct dm_snapshot *s = pe->snap; in complete_exception() local
1742 struct dm_snapshot *s = pe->snap; in copy_callback() local
1791 struct dm_snapshot *s = pe->snap; in start_copy() local
1821 struct dm_snapshot *s = pe->snap; in start_full_bio() local
1838 __lookup_pending_exception(struct dm_snapshot *s, chunk_t chunk) in __lookup_pending_exception()
1855 __insert_pending_exception(struct dm_snapshot *s, in __insert_pending_exception()
1888 __find_pending_exception(struct dm_snapshot *s, in __find_pending_exception()
1902 static void remap_exception(struct dm_snapshot *s, struct dm_exception *e, in remap_exception()
1915 struct dm_snapshot *s = bio->bi_private; in zero_callback() local
1922 static void zero_exception(struct dm_snapshot *s, struct dm_exception *e, in zero_exception()
1937 static bool io_overlaps_chunk(struct dm_snapshot *s, struct bio *bio) in io_overlaps_chunk()
1946 struct dm_snapshot *s = ti->private; in snapshot_map() local
2114 struct dm_snapshot *s = ti->private; in snapshot_merge_map() local
2180 struct dm_snapshot *s = ti->private; in snapshot_end_io() local
2190 struct dm_snapshot *s = ti->private; in snapshot_merge_presuspend() local
2198 struct dm_snapshot *s = ti->private; in snapshot_preresume() local
2221 struct dm_snapshot *s = ti->private; in snapshot_resume() local
2295 struct dm_snapshot *s = ti->private; in snapshot_merge_resume() local
2561 struct dm_snapshot *s; in do_origin() local