Lines Matching refs:pmd
48 int dm_pool_metadata_close(struct dm_pool_metadata *pmd);
61 int dm_pool_create_thin(struct dm_pool_metadata *pmd, dm_thin_id dev);
69 int dm_pool_create_snap(struct dm_pool_metadata *pmd, dm_thin_id dev,
77 int dm_pool_delete_thin_device(struct dm_pool_metadata *pmd,
84 int dm_pool_commit_metadata(struct dm_pool_metadata *pmd);
94 int dm_pool_abort_metadata(struct dm_pool_metadata *pmd);
99 int dm_pool_set_metadata_transaction_id(struct dm_pool_metadata *pmd,
103 int dm_pool_get_metadata_transaction_id(struct dm_pool_metadata *pmd,
115 int dm_pool_reserve_metadata_snap(struct dm_pool_metadata *pmd);
116 int dm_pool_release_metadata_snap(struct dm_pool_metadata *pmd);
118 int dm_pool_get_metadata_snap(struct dm_pool_metadata *pmd,
128 int dm_pool_open_thin_device(struct dm_pool_metadata *pmd, dm_thin_id dev,
161 int dm_pool_alloc_data_block(struct dm_pool_metadata *pmd, dm_block_t *result);
178 bool dm_pool_changed_this_transaction(struct dm_pool_metadata *pmd);
187 int dm_pool_get_free_block_count(struct dm_pool_metadata *pmd,
190 int dm_pool_get_free_metadata_block_count(struct dm_pool_metadata *pmd,
193 int dm_pool_get_metadata_dev_size(struct dm_pool_metadata *pmd,
196 int dm_pool_get_data_dev_size(struct dm_pool_metadata *pmd, dm_block_t *result);
198 int dm_pool_block_is_shared(struct dm_pool_metadata *pmd, dm_block_t b, bool *result);
200 int dm_pool_inc_data_range(struct dm_pool_metadata *pmd, dm_block_t b, dm_block_t e);
201 int dm_pool_dec_data_range(struct dm_pool_metadata *pmd, dm_block_t b, dm_block_t e);
207 int dm_pool_resize_data_dev(struct dm_pool_metadata *pmd, dm_block_t new_size);
208 int dm_pool_resize_metadata_dev(struct dm_pool_metadata *pmd, dm_block_t new_size);
214 void dm_pool_metadata_read_only(struct dm_pool_metadata *pmd);
215 void dm_pool_metadata_read_write(struct dm_pool_metadata *pmd);
217 int dm_pool_register_metadata_threshold(struct dm_pool_metadata *pmd,
225 int dm_pool_metadata_set_needs_check(struct dm_pool_metadata *pmd);
226 bool dm_pool_metadata_needs_check(struct dm_pool_metadata *pmd);
231 void dm_pool_issue_prefetches(struct dm_pool_metadata *pmd);
236 void dm_pool_register_pre_commit_callback(struct dm_pool_metadata *pmd,