Lines Matching defs:cmd

273 static inline int superblock_read_lock(struct dm_clone_metadata *cmd,  in superblock_read_lock()
279 static inline int superblock_write_lock_zero(struct dm_clone_metadata *cmd, in superblock_write_lock_zero()
285 static int __copy_sm_root(struct dm_clone_metadata *cmd) in __copy_sm_root()
298 static void __prepare_superblock(struct dm_clone_metadata *cmd, in __prepare_superblock()
318 static int __open_metadata(struct dm_clone_metadata *cmd) in __open_metadata()
360 static int __format_metadata(struct dm_clone_metadata *cmd) in __format_metadata()
423 static int __open_or_format_metadata(struct dm_clone_metadata *cmd, bool may_format_device) in __open_or_format_metadata()
438 static int __create_persistent_data_structures(struct dm_clone_metadata *cmd, in __create_persistent_data_structures()
459 static void __destroy_persistent_data_structures(struct dm_clone_metadata *cmd) in __destroy_persistent_data_structures()
497 static int dirty_map_init(struct dm_clone_metadata *cmd) in dirty_map_init()
516 static void dirty_map_exit(struct dm_clone_metadata *cmd) in dirty_map_exit()
522 static int __load_bitset_in_core(struct dm_clone_metadata *cmd) in __load_bitset_in_core()
562 struct dm_clone_metadata *cmd; in dm_clone_metadata_open() local
620 void dm_clone_metadata_close(struct dm_clone_metadata *cmd) in dm_clone_metadata_close()
630 bool dm_clone_is_hydration_done(struct dm_clone_metadata *cmd) in dm_clone_is_hydration_done()
635 bool dm_clone_is_region_hydrated(struct dm_clone_metadata *cmd, unsigned long region_nr) in dm_clone_is_region_hydrated()
640 bool dm_clone_is_range_hydrated(struct dm_clone_metadata *cmd, in dm_clone_is_range_hydrated()
653 unsigned int dm_clone_nr_of_hydrated_regions(struct dm_clone_metadata *cmd) in dm_clone_nr_of_hydrated_regions()
658 unsigned long dm_clone_find_next_unhydrated_region(struct dm_clone_metadata *cmd, in dm_clone_find_next_unhydrated_region()
664 static int __update_metadata_word(struct dm_clone_metadata *cmd, in __update_metadata_word()
688 static int __metadata_commit(struct dm_clone_metadata *cmd) in __metadata_commit()
742 static int __flush_dmap(struct dm_clone_metadata *cmd, struct dirty_map *dmap) in __flush_dmap()
776 int dm_clone_metadata_pre_commit(struct dm_clone_metadata *cmd) in dm_clone_metadata_pre_commit()
816 int dm_clone_metadata_commit(struct dm_clone_metadata *cmd) in dm_clone_metadata_commit()
841 int dm_clone_set_region_hydrated(struct dm_clone_metadata *cmd, unsigned long region_nr) in dm_clone_set_region_hydrated()
875 int dm_clone_cond_set_range(struct dm_clone_metadata *cmd, unsigned long start, in dm_clone_cond_set_range()
922 int dm_clone_reload_in_core_bitset(struct dm_clone_metadata *cmd) in dm_clone_reload_in_core_bitset()
938 bool dm_clone_changed_this_transaction(struct dm_clone_metadata *cmd) in dm_clone_changed_this_transaction()
950 int dm_clone_metadata_abort(struct dm_clone_metadata *cmd) in dm_clone_metadata_abort()
972 void dm_clone_metadata_set_read_only(struct dm_clone_metadata *cmd) in dm_clone_metadata_set_read_only()
986 void dm_clone_metadata_set_read_write(struct dm_clone_metadata *cmd) in dm_clone_metadata_set_read_write()
1000 int dm_clone_get_free_metadata_block_count(struct dm_clone_metadata *cmd, in dm_clone_get_free_metadata_block_count()
1015 int dm_clone_get_metadata_dev_size(struct dm_clone_metadata *cmd, in dm_clone_get_metadata_dev_size()