Home
last modified time | relevance | path

Searched refs:metadata_sm (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-thin-metadata.c153 struct dm_space_map *metadata_sm; member
526 r = dm_sm_root_size(pmd->metadata_sm, &len); in save_sm_roots()
530 r = dm_sm_copy_root(pmd->metadata_sm, &pmd->metadata_space_map_root, len); in save_sm_roots()
604 &pmd->tm, &pmd->metadata_sm); in __format_metadata()
607 pmd->metadata_sm = NULL; in __format_metadata()
654 dm_sm_destroy(pmd->metadata_sm); in __format_metadata()
655 pmd->metadata_sm = NULL; in __format_metadata()
719 &pmd->tm, &pmd->metadata_sm); in __open_metadata()
722 pmd->metadata_sm = NULL; in __open_metadata()
763 dm_sm_destroy(pmd->metadata_sm); in __open_metadata()
[all …]
H A Ddm-cache-metadata.c111 struct dm_space_map *metadata_sm; member
313 r = dm_sm_root_size(cmd->metadata_sm, &metadata_len); in __save_sm_root()
317 return dm_sm_copy_root(cmd->metadata_sm, &cmd->metadata_space_map_root, in __save_sm_root()
397 &cmd->tm, &cmd->metadata_sm); in __format_metadata()
433 dm_sm_destroy(cmd->metadata_sm); in __format_metadata()
498 &cmd->tm, &cmd->metadata_sm); in __open_metadata()
560 dm_sm_destroy(cmd->metadata_sm); in __destroy_persistent_data_objects()
1682 r = dm_sm_get_nr_free(cmd->metadata_sm, result); in dm_cache_get_free_metadata_block_count()
1695 r = dm_sm_get_nr_blocks(cmd->metadata_sm, result); in dm_cache_get_metadata_dev_size()