Searched refs:metadata_sm (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-thin-metadata.c | 150 struct dm_space_map *metadata_sm; member 497 r = dm_sm_root_size(pmd->metadata_sm, &len); in save_sm_roots() 501 r = dm_sm_copy_root(pmd->metadata_sm, &pmd->metadata_space_map_root, len); in save_sm_roots() 575 &pmd->tm, &pmd->metadata_sm); in __format_metadata() 619 dm_sm_destroy(pmd->metadata_sm); in __format_metadata() 683 &pmd->tm, &pmd->metadata_sm); in __open_metadata() 722 dm_sm_destroy(pmd->metadata_sm); in __open_metadata() 769 dm_sm_destroy(pmd->metadata_sm); in __destroy_persistent_data_objects() 899 r = dm_sm_get_nr_blocks(pmd->metadata_sm, &total); in __set_metadata_reserve() 1308 dm_sm_inc_block(pmd->metadata_sm, THIN_SUPERBLOCK_LOCATION); in __reserve_metadata_snap() [all …]
|
D | dm-cache-metadata.c | 110 struct dm_space_map *metadata_sm; member 311 r = dm_sm_root_size(cmd->metadata_sm, &metadata_len); in __save_sm_root() 315 return dm_sm_copy_root(cmd->metadata_sm, &cmd->metadata_space_map_root, in __save_sm_root() 395 &cmd->tm, &cmd->metadata_sm); in __format_metadata() 431 dm_sm_destroy(cmd->metadata_sm); in __format_metadata() 496 &cmd->tm, &cmd->metadata_sm); in __open_metadata() 557 dm_sm_destroy(cmd->metadata_sm); in __destroy_persistent_data_objects() 1675 r = dm_sm_get_nr_free(cmd->metadata_sm, result); in dm_cache_get_free_metadata_block_count() 1688 r = dm_sm_get_nr_blocks(cmd->metadata_sm, result); in dm_cache_get_metadata_dev_size()
|