Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-cache-metadata.h54 struct dm_cache_metadata;
60 struct dm_cache_metadata *dm_cache_metadata_open(struct block_device *bdev,
66 void dm_cache_metadata_close(struct dm_cache_metadata *cmd);
73 int dm_cache_resize(struct dm_cache_metadata *cmd, dm_cblock_t new_cache_size);
74 int dm_cache_size(struct dm_cache_metadata *cmd, dm_cblock_t *result);
76 int dm_cache_discard_bitset_resize(struct dm_cache_metadata *cmd,
82 int dm_cache_load_discards(struct dm_cache_metadata *cmd,
85 int dm_cache_set_discard(struct dm_cache_metadata *cmd, dm_dblock_t dblock, bool discard);
87 int dm_cache_remove_mapping(struct dm_cache_metadata *cmd, dm_cblock_t cblock);
88 int dm_cache_insert_mapping(struct dm_cache_metadata *cmd, dm_cblock_t cblock, dm_oblock_t oblock);
[all …]
H A Ddm-cache-metadata.c104 struct dm_cache_metadata { struct
239 static int superblock_read_lock(struct dm_cache_metadata *cmd, in superblock_read_lock()
246 static int superblock_lock_zero(struct dm_cache_metadata *cmd, in superblock_lock_zero()
253 static int superblock_lock(struct dm_cache_metadata *cmd, in superblock_lock()
291 static void __setup_mapping_info(struct dm_cache_metadata *cmd) in __setup_mapping_info()
308 static int __save_sm_root(struct dm_cache_metadata *cmd) in __save_sm_root()
321 static void __copy_sm_root(struct dm_cache_metadata *cmd, in __copy_sm_root()
329 static bool separate_dirty_bits(struct dm_cache_metadata *cmd) in separate_dirty_bits()
334 static int __write_initial_superblock(struct dm_cache_metadata *cmd) in __write_initial_superblock()
392 static int __format_metadata(struct dm_cache_metadata *cmd) in __format_metadata()
[all …]
H A Ddm-cache-target.c306 struct dm_cache_metadata *cmd;
2384 struct dm_cache_metadata *cmd; in cache_create()