Lines Matching refs:data_sm
151 struct dm_space_map *data_sm; member
481 pmd->info.value_type.context = pmd->data_sm; in __setup_btree_details()
500 pmd->bl_info.value_type.context = pmd->data_sm; in __setup_btree_details()
528 r = dm_sm_root_size(pmd->data_sm, &len); in save_sm_roots()
532 return dm_sm_copy_root(pmd->data_sm, &pmd->data_space_map_root, len); in save_sm_roots()
557 r = dm_sm_commit(pmd->data_sm); in __write_initial_superblock()
604 pmd->data_sm = dm_sm_disk_create(pmd->tm, 0); in __format_metadata()
605 if (IS_ERR(pmd->data_sm)) { in __format_metadata()
607 r = PTR_ERR(pmd->data_sm); in __format_metadata()
639 dm_sm_destroy(pmd->data_sm); in __format_metadata()
712 pmd->data_sm = dm_sm_disk_open(pmd->tm, disk_super->data_space_map_root, in __open_metadata()
714 if (IS_ERR(pmd->data_sm)) { in __open_metadata()
716 r = PTR_ERR(pmd->data_sm); in __open_metadata()
733 dm_sm_destroy(pmd->data_sm); in __open_metadata()
781 dm_sm_destroy(pmd->data_sm); in __destroy_persistent_data_objects()
877 r = dm_sm_commit(pmd->data_sm); in __commit_transaction()
1746 r = dm_sm_get_count(pmd->data_sm, b, &ref_count); in dm_pool_block_is_shared()
1759 r = dm_sm_inc_blocks(pmd->data_sm, b, e); in dm_pool_inc_data_range()
1770 r = dm_sm_dec_blocks(pmd->data_sm, b, e); in dm_pool_dec_data_range()
1821 r = dm_sm_new_block(pmd->data_sm, result); in dm_pool_alloc_data_block()
1886 r = dm_sm_get_nr_free(pmd->data_sm, result); in dm_pool_get_free_block_count()
1931 r = dm_sm_get_nr_blocks(pmd->data_sm, result); in dm_pool_get_data_dev_size()
2008 r = __resize_space_map(pmd->data_sm, new_count); in dm_pool_resize_data_dev()