Searched refs:metadata_sm (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/md/ |
D | dm-thin-metadata.c | 150 struct dm_space_map *metadata_sm; member 520 r = dm_sm_root_size(pmd->metadata_sm, &len); in save_sm_roots() 524 r = dm_sm_copy_root(pmd->metadata_sm, &pmd->metadata_space_map_root, len); in save_sm_roots() 598 &pmd->tm, &pmd->metadata_sm); in __format_metadata() 642 dm_sm_destroy(pmd->metadata_sm); in __format_metadata() 706 &pmd->tm, &pmd->metadata_sm); in __open_metadata() 736 dm_sm_destroy(pmd->metadata_sm); in __open_metadata() 782 dm_sm_destroy(pmd->metadata_sm); in __destroy_persistent_data_objects() 911 r = dm_sm_get_nr_blocks(pmd->metadata_sm, &total); in __set_metadata_reserve() 1320 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() 556 dm_sm_destroy(cmd->metadata_sm); in __destroy_persistent_data_objects() 1672 r = dm_sm_get_nr_free(cmd->metadata_sm, result); in dm_cache_get_free_metadata_block_count() 1685 r = dm_sm_get_nr_blocks(cmd->metadata_sm, result); in dm_cache_get_metadata_dev_size()
|