Home
last modified time | relevance | path

Searched refs:dm_clone_metadata (Results 1 – 3 of 3) sorted by relevance

/drivers/md/
Ddm-clone-metadata.h27 struct dm_clone_metadata;
37 int dm_clone_set_region_hydrated(struct dm_clone_metadata *cmd, unsigned long region_nr);
49 int dm_clone_cond_set_range(struct dm_clone_metadata *cmd, unsigned long start,
65 struct dm_clone_metadata *dm_clone_metadata_open(struct block_device *bdev,
72 void dm_clone_metadata_close(struct dm_clone_metadata *cmd);
92 int dm_clone_metadata_pre_commit(struct dm_clone_metadata *cmd);
93 int dm_clone_metadata_commit(struct dm_clone_metadata *cmd);
112 int dm_clone_reload_in_core_bitset(struct dm_clone_metadata *cmd);
117 bool dm_clone_changed_this_transaction(struct dm_clone_metadata *cmd);
123 int dm_clone_metadata_abort(struct dm_clone_metadata *cmd);
[all …]
Ddm-clone-metadata.c116 struct dm_clone_metadata { struct
273 static inline int superblock_read_lock(struct dm_clone_metadata *cmd, in superblock_read_lock()
279 static inline int superblock_write_lock(struct dm_clone_metadata *cmd, in superblock_write_lock()
285 static inline int superblock_write_lock_zero(struct dm_clone_metadata *cmd, in superblock_write_lock_zero()
291 static int __copy_sm_root(struct dm_clone_metadata *cmd) in __copy_sm_root()
304 static void __prepare_superblock(struct dm_clone_metadata *cmd, in __prepare_superblock()
324 static int __open_metadata(struct dm_clone_metadata *cmd) in __open_metadata()
366 static int __format_metadata(struct dm_clone_metadata *cmd) in __format_metadata()
429 static int __open_or_format_metadata(struct dm_clone_metadata *cmd, bool may_format_device) in __open_or_format_metadata()
444 static int __create_persistent_data_structures(struct dm_clone_metadata *cmd, in __create_persistent_data_structures()
[all …]
Ddm-clone-target.c87 struct dm_clone_metadata *cmd;