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()
492 static int dirty_map_init(struct dm_clone_metadata *cmd) in dirty_map_init()
511 static void dirty_map_exit(struct dm_clone_metadata *cmd) in dirty_map_exit()
517 static int __load_bitset_in_core(struct dm_clone_metadata *cmd) in __load_bitset_in_core()
554 struct dm_clone_metadata *cmd; in dm_clone_metadata_open() local
612 void dm_clone_metadata_close(struct dm_clone_metadata *cmd) in dm_clone_metadata_close()
622 bool dm_clone_is_hydration_done(struct dm_clone_metadata *cmd) in dm_clone_is_hydration_done()
627 bool dm_clone_is_region_hydrated(struct dm_clone_metadata *cmd, unsigned long region_nr) in dm_clone_is_region_hydrated()
632 bool dm_clone_is_range_hydrated(struct dm_clone_metadata *cmd, in dm_clone_is_range_hydrated()
645 unsigned int dm_clone_nr_of_hydrated_regions(struct dm_clone_metadata *cmd) in dm_clone_nr_of_hydrated_regions()
650 unsigned long dm_clone_find_next_unhydrated_region(struct dm_clone_metadata *cmd, in dm_clone_find_next_unhydrated_region()
656 static int __update_metadata_word(struct dm_clone_metadata *cmd, in __update_metadata_word()
680 static int __metadata_commit(struct dm_clone_metadata *cmd) in __metadata_commit()
734 static int __flush_dmap(struct dm_clone_metadata *cmd, struct dirty_map *dmap) in __flush_dmap()
768 int dm_clone_metadata_pre_commit(struct dm_clone_metadata *cmd) in dm_clone_metadata_pre_commit()
808 int dm_clone_metadata_commit(struct dm_clone_metadata *cmd) in dm_clone_metadata_commit()
833 int dm_clone_set_region_hydrated(struct dm_clone_metadata *cmd, unsigned long region_nr) in dm_clone_set_region_hydrated()
867 int dm_clone_cond_set_range(struct dm_clone_metadata *cmd, unsigned long start, in dm_clone_cond_set_range()
914 int dm_clone_reload_in_core_bitset(struct dm_clone_metadata *cmd) in dm_clone_reload_in_core_bitset()
930 bool dm_clone_changed_this_transaction(struct dm_clone_metadata *cmd) in dm_clone_changed_this_transaction()
942 int dm_clone_metadata_abort(struct dm_clone_metadata *cmd) in dm_clone_metadata_abort()
964 void dm_clone_metadata_set_read_only(struct dm_clone_metadata *cmd) in dm_clone_metadata_set_read_only()
978 void dm_clone_metadata_set_read_write(struct dm_clone_metadata *cmd) in dm_clone_metadata_set_read_write()
992 int dm_clone_get_free_metadata_block_count(struct dm_clone_metadata *cmd, in dm_clone_get_free_metadata_block_count()
1007 int dm_clone_get_metadata_dev_size(struct dm_clone_metadata *cmd, in dm_clone_get_metadata_dev_size()