• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/

Lines Matching refs:dm_snapshot

63 struct dm_snapshot {
151 struct dm_dev *dm_snap_origin(struct dm_snapshot *s)
157 struct dm_dev *dm_snap_cow(struct dm_snapshot *s)
192 struct dm_snapshot *snap;
215 static struct dm_snap_tracked_chunk *track_chunk(struct dm_snapshot *s,
232 static void stop_tracking_chunk(struct dm_snapshot *s,
244 static int __chunk_is_tracked(struct dm_snapshot *s, chunk_t chunk)
269 static void __check_for_conflicting_io(struct dm_snapshot *s, chunk_t chunk)
363 static int __find_snapshots_sharing_cow(struct dm_snapshot *snap,
364 struct dm_snapshot **snap_src,
365 struct dm_snapshot **snap_dest,
366 struct dm_snapshot **snap_merge)
368 struct dm_snapshot *s;
404 static int __validate_exception_handover(struct dm_snapshot *snap)
406 struct dm_snapshot *snap_src = NULL, *snap_dest = NULL;
407 struct dm_snapshot *snap_merge = NULL;
449 static void __insert_snapshot(struct origin *o, struct dm_snapshot *s)
451 struct dm_snapshot *l;
468 static int register_snapshot(struct dm_snapshot *snap)
511 static void reregister_snapshot(struct dm_snapshot *s)
523 static void unregister_snapshot(struct dm_snapshot *s)
624 static struct dm_snap_pending_exception *alloc_pending_exception(struct dm_snapshot *s)
637 struct dm_snapshot *s = pe->snap;
692 struct dm_snapshot *s = context;
717 struct dm_snapshot *snap;
743 static int init_hash_tables(struct dm_snapshot *s)
781 static void merge_shutdown(struct dm_snapshot *s)
788 static struct bio *__release_queued_bios_after_merge(struct dm_snapshot *s)
799 static int __remove_single_exception_chunk(struct dm_snapshot *s,
850 static int remove_single_exception_chunk(struct dm_snapshot *s)
878 static int origin_write_extent(struct dm_snapshot *merging_snap,
904 static void snapshot_merge_next_chunks(struct dm_snapshot *s)
993 struct dm_snapshot *s = context;
1027 static void start_merge(struct dm_snapshot *s)
1043 static void stop_merge(struct dm_snapshot *s)
1056 struct dm_snapshot *s;
1236 static void __free_exceptions(struct dm_snapshot *s)
1245 static void __handover_exceptions(struct dm_snapshot *snap_src,
1246 struct dm_snapshot *snap_dest)
1281 struct dm_snapshot *s = ti->private;
1282 struct dm_snapshot *snap_src = NULL, *snap_dest = NULL;
1349 struct dm_snapshot *s =
1350 container_of(work, struct dm_snapshot, queued_bios_work);
1366 static void retry_origin_bios(struct dm_snapshot *s, struct bio *bio)
1396 static void __invalidate_snapshot(struct dm_snapshot *s, int err)
1417 struct dm_snapshot *s = pe->snap;
1488 struct dm_snapshot *s = pe->snap;
1504 struct dm_snapshot *s = pe->snap;
1525 __lookup_pending_exception(struct dm_snapshot *s, chunk_t chunk)
1544 __find_pending_exception(struct dm_snapshot *s,
1570 static void remap_exception(struct dm_snapshot *s, struct dm_exception *e,
1585 struct dm_snapshot *s = ti->private;
1688 struct dm_snapshot *s = ti->private;
1747 struct dm_snapshot *s = ti->private;
1758 struct dm_snapshot *s = ti->private;
1765 struct dm_snapshot *s = ti->private;
1775 struct dm_snapshot *s = ti->private;
1776 struct dm_snapshot *snap_src = NULL, *snap_dest = NULL;
1800 struct dm_snapshot *s = ti->private;
1801 struct dm_snapshot *snap_src = NULL, *snap_dest = NULL;
1836 struct dm_snapshot *s = ti->private;
1855 struct dm_snapshot *snap = ti->private;
1905 struct dm_snapshot *snap = ti->private;
1935 struct dm_snapshot *snap;
2071 static int origin_write_extent(struct dm_snapshot *merging_snap,