Searched refs:metadata_sm (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/md/ |
D | dm-thin-metadata.c | 150 struct dm_space_map *metadata_sm; member 489 r = dm_sm_root_size(pmd->metadata_sm, &len); in save_sm_roots() 493 r = dm_sm_copy_root(pmd->metadata_sm, &pmd->metadata_space_map_root, len); in save_sm_roots() 567 &pmd->tm, &pmd->metadata_sm); in __format_metadata() 611 dm_sm_destroy(pmd->metadata_sm); in __format_metadata() 675 &pmd->tm, &pmd->metadata_sm); in __open_metadata() 705 dm_sm_destroy(pmd->metadata_sm); in __open_metadata() 747 dm_sm_destroy(pmd->metadata_sm); in __destroy_persistent_data_objects() 867 r = dm_sm_get_nr_blocks(pmd->metadata_sm, &total); in __set_metadata_reserve() 1274 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() 552 dm_sm_destroy(cmd->metadata_sm); in __destroy_persistent_data_objects() 1669 r = dm_sm_get_nr_free(cmd->metadata_sm, result); in dm_cache_get_free_metadata_block_count() 1682 r = dm_sm_get_nr_blocks(cmd->metadata_sm, result); in dm_cache_get_metadata_dev_size()
|