dm_clone_metadata 273 drivers/md/dm-clone-metadata.c static inline int superblock_read_lock(struct dm_clone_metadata *cmd, dm_clone_metadata 279 drivers/md/dm-clone-metadata.c static inline int superblock_write_lock(struct dm_clone_metadata *cmd, dm_clone_metadata 285 drivers/md/dm-clone-metadata.c static inline int superblock_write_lock_zero(struct dm_clone_metadata *cmd, dm_clone_metadata 291 drivers/md/dm-clone-metadata.c static int __copy_sm_root(struct dm_clone_metadata *cmd) dm_clone_metadata 304 drivers/md/dm-clone-metadata.c static void __prepare_superblock(struct dm_clone_metadata *cmd, dm_clone_metadata 324 drivers/md/dm-clone-metadata.c static int __open_metadata(struct dm_clone_metadata *cmd) dm_clone_metadata 366 drivers/md/dm-clone-metadata.c static int __format_metadata(struct dm_clone_metadata *cmd) dm_clone_metadata 429 drivers/md/dm-clone-metadata.c static int __open_or_format_metadata(struct dm_clone_metadata *cmd, bool may_format_device) dm_clone_metadata 444 drivers/md/dm-clone-metadata.c static int __create_persistent_data_structures(struct dm_clone_metadata *cmd, dm_clone_metadata 465 drivers/md/dm-clone-metadata.c static void __destroy_persistent_data_structures(struct dm_clone_metadata *cmd) dm_clone_metadata 503 drivers/md/dm-clone-metadata.c static int dirty_map_init(struct dm_clone_metadata *cmd) dm_clone_metadata 522 drivers/md/dm-clone-metadata.c static void dirty_map_exit(struct dm_clone_metadata *cmd) dm_clone_metadata 528 drivers/md/dm-clone-metadata.c static int __load_bitset_in_core(struct dm_clone_metadata *cmd) dm_clone_metadata 563 drivers/md/dm-clone-metadata.c struct dm_clone_metadata *dm_clone_metadata_open(struct block_device *bdev, dm_clone_metadata 568 drivers/md/dm-clone-metadata.c struct dm_clone_metadata *cmd; dm_clone_metadata 626 drivers/md/dm-clone-metadata.c void dm_clone_metadata_close(struct dm_clone_metadata *cmd) dm_clone_metadata 636 drivers/md/dm-clone-metadata.c bool dm_clone_is_hydration_done(struct dm_clone_metadata *cmd) dm_clone_metadata 641 drivers/md/dm-clone-metadata.c bool dm_clone_is_region_hydrated(struct dm_clone_metadata *cmd, unsigned long region_nr) dm_clone_metadata 646 drivers/md/dm-clone-metadata.c bool dm_clone_is_range_hydrated(struct dm_clone_metadata *cmd, dm_clone_metadata 659 drivers/md/dm-clone-metadata.c unsigned int dm_clone_nr_of_hydrated_regions(struct dm_clone_metadata *cmd) dm_clone_metadata 664 drivers/md/dm-clone-metadata.c unsigned long dm_clone_find_next_unhydrated_region(struct dm_clone_metadata *cmd, dm_clone_metadata 670 drivers/md/dm-clone-metadata.c static int __update_metadata_word(struct dm_clone_metadata *cmd, dm_clone_metadata 694 drivers/md/dm-clone-metadata.c static int __metadata_commit(struct dm_clone_metadata *cmd) dm_clone_metadata 748 drivers/md/dm-clone-metadata.c static int __flush_dmap(struct dm_clone_metadata *cmd, struct dirty_map *dmap) dm_clone_metadata 782 drivers/md/dm-clone-metadata.c int dm_clone_metadata_pre_commit(struct dm_clone_metadata *cmd) dm_clone_metadata 822 drivers/md/dm-clone-metadata.c int dm_clone_metadata_commit(struct dm_clone_metadata *cmd) dm_clone_metadata 847 drivers/md/dm-clone-metadata.c int dm_clone_set_region_hydrated(struct dm_clone_metadata *cmd, unsigned long region_nr) dm_clone_metadata 881 drivers/md/dm-clone-metadata.c int dm_clone_cond_set_range(struct dm_clone_metadata *cmd, unsigned long start, dm_clone_metadata 928 drivers/md/dm-clone-metadata.c int dm_clone_reload_in_core_bitset(struct dm_clone_metadata *cmd) dm_clone_metadata 944 drivers/md/dm-clone-metadata.c bool dm_clone_changed_this_transaction(struct dm_clone_metadata *cmd) dm_clone_metadata 956 drivers/md/dm-clone-metadata.c int dm_clone_metadata_abort(struct dm_clone_metadata *cmd) dm_clone_metadata 978 drivers/md/dm-clone-metadata.c void dm_clone_metadata_set_read_only(struct dm_clone_metadata *cmd) dm_clone_metadata 992 drivers/md/dm-clone-metadata.c void dm_clone_metadata_set_read_write(struct dm_clone_metadata *cmd) dm_clone_metadata 1006 drivers/md/dm-clone-metadata.c int dm_clone_get_free_metadata_block_count(struct dm_clone_metadata *cmd, dm_clone_metadata 1021 drivers/md/dm-clone-metadata.c int dm_clone_get_metadata_dev_size(struct dm_clone_metadata *cmd, dm_clone_metadata 27 drivers/md/dm-clone-metadata.h struct dm_clone_metadata; dm_clone_metadata 37 drivers/md/dm-clone-metadata.h int dm_clone_set_region_hydrated(struct dm_clone_metadata *cmd, unsigned long region_nr); dm_clone_metadata 51 drivers/md/dm-clone-metadata.h int dm_clone_cond_set_range(struct dm_clone_metadata *cmd, unsigned long start, dm_clone_metadata 67 drivers/md/dm-clone-metadata.h struct dm_clone_metadata *dm_clone_metadata_open(struct block_device *bdev, dm_clone_metadata 74 drivers/md/dm-clone-metadata.h void dm_clone_metadata_close(struct dm_clone_metadata *cmd); dm_clone_metadata 94 drivers/md/dm-clone-metadata.h int dm_clone_metadata_pre_commit(struct dm_clone_metadata *cmd); dm_clone_metadata 95 drivers/md/dm-clone-metadata.h int dm_clone_metadata_commit(struct dm_clone_metadata *cmd); dm_clone_metadata 114 drivers/md/dm-clone-metadata.h int dm_clone_reload_in_core_bitset(struct dm_clone_metadata *cmd); dm_clone_metadata 119 drivers/md/dm-clone-metadata.h bool dm_clone_changed_this_transaction(struct dm_clone_metadata *cmd); dm_clone_metadata 125 drivers/md/dm-clone-metadata.h int dm_clone_metadata_abort(struct dm_clone_metadata *cmd); dm_clone_metadata 137 drivers/md/dm-clone-metadata.h void dm_clone_metadata_set_read_only(struct dm_clone_metadata *cmd); dm_clone_metadata 138 drivers/md/dm-clone-metadata.h void dm_clone_metadata_set_read_write(struct dm_clone_metadata *cmd); dm_clone_metadata 143 drivers/md/dm-clone-metadata.h bool dm_clone_is_hydration_done(struct dm_clone_metadata *cmd); dm_clone_metadata 148 drivers/md/dm-clone-metadata.h bool dm_clone_is_region_hydrated(struct dm_clone_metadata *cmd, unsigned long region_nr); dm_clone_metadata 153 drivers/md/dm-clone-metadata.h bool dm_clone_is_range_hydrated(struct dm_clone_metadata *cmd, dm_clone_metadata 159 drivers/md/dm-clone-metadata.h unsigned int dm_clone_nr_of_hydrated_regions(struct dm_clone_metadata *cmd); dm_clone_metadata 164 drivers/md/dm-clone-metadata.h unsigned long dm_clone_find_next_unhydrated_region(struct dm_clone_metadata *cmd, dm_clone_metadata 170 drivers/md/dm-clone-metadata.h int dm_clone_get_free_metadata_block_count(struct dm_clone_metadata *cmd, dm_block_t *result); dm_clone_metadata 175 drivers/md/dm-clone-metadata.h int dm_clone_get_metadata_dev_size(struct dm_clone_metadata *cmd, dm_block_t *result); dm_clone_metadata 87 drivers/md/dm-clone-target.c struct dm_clone_metadata *cmd;