• Home
  • Raw
  • Download

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()
606 pmd->data_sm = dm_sm_disk_create(pmd->tm, 0); in __format_metadata()
607 if (IS_ERR(pmd->data_sm)) { in __format_metadata()
609 r = PTR_ERR(pmd->data_sm); in __format_metadata()
610 pmd->data_sm = NULL; in __format_metadata()
643 dm_sm_destroy(pmd->data_sm); in __format_metadata()
644 pmd->data_sm = NULL; in __format_metadata()
721 pmd->data_sm = dm_sm_disk_open(pmd->tm, disk_super->data_space_map_root, in __open_metadata()
723 if (IS_ERR(pmd->data_sm)) { in __open_metadata()
725 r = PTR_ERR(pmd->data_sm); in __open_metadata()
726 pmd->data_sm = NULL; in __open_metadata()
752 dm_sm_destroy(pmd->data_sm); in __open_metadata()
753 pmd->data_sm = NULL; in __open_metadata()
804 dm_sm_destroy(pmd->data_sm); in __destroy_persistent_data_objects()
805 pmd->data_sm = NULL; in __destroy_persistent_data_objects()
905 r = dm_sm_commit(pmd->data_sm); in __commit_transaction()
1774 r = dm_sm_get_count(pmd->data_sm, b, &ref_count); in dm_pool_block_is_shared()
1789 r = dm_sm_inc_blocks(pmd->data_sm, b, e); in dm_pool_inc_data_range()
1801 r = dm_sm_dec_blocks(pmd->data_sm, b, e); in dm_pool_dec_data_range()
1852 r = dm_sm_new_block(pmd->data_sm, result); in dm_pool_alloc_data_block()
1926 r = dm_sm_get_nr_free(pmd->data_sm, result); in dm_pool_get_free_block_count()
1971 r = dm_sm_get_nr_blocks(pmd->data_sm, result); in dm_pool_get_data_dev_size()
2048 r = __resize_space_map(pmd->data_sm, new_count); in dm_pool_resize_data_dev()