Lines Matching defs:pmd

230 	struct dm_pool_metadata *pmd;  member
413 static inline void pmd_write_lock_in_core(struct dm_pool_metadata *pmd) in pmd_write_lock_in_core()
419 static inline void pmd_write_lock(struct dm_pool_metadata *pmd) in pmd_write_lock()
426 static inline void pmd_write_unlock(struct dm_pool_metadata *pmd) in pmd_write_unlock()
434 static int superblock_lock_zero(struct dm_pool_metadata *pmd, in superblock_lock_zero()
441 static int superblock_lock(struct dm_pool_metadata *pmd, in superblock_lock()
477 static void __setup_btree_details(struct dm_pool_metadata *pmd) in __setup_btree_details()
515 static int save_sm_roots(struct dm_pool_metadata *pmd) in save_sm_roots()
535 static void copy_sm_roots(struct dm_pool_metadata *pmd, in copy_sm_roots()
547 static int __write_initial_superblock(struct dm_pool_metadata *pmd) in __write_initial_superblock()
593 static int __format_metadata(struct dm_pool_metadata *pmd) in __format_metadata()
648 struct dm_pool_metadata *pmd) in __check_incompat_features()
675 static int __open_metadata(struct dm_pool_metadata *pmd) in __open_metadata()
752 static int __open_or_format_metadata(struct dm_pool_metadata *pmd, bool format_device) in __open_or_format_metadata()
766 static int __create_persistent_data_objects(struct dm_pool_metadata *pmd, bool format_device) in __create_persistent_data_objects()
788 static void __destroy_persistent_data_objects(struct dm_pool_metadata *pmd, in __destroy_persistent_data_objects()
799 static int __begin_transaction(struct dm_pool_metadata *pmd) in __begin_transaction()
826 static int __write_changed_details(struct dm_pool_metadata *pmd) in __write_changed_details()
861 static int __commit_transaction(struct dm_pool_metadata *pmd) in __commit_transaction()
916 static void __set_metadata_reserve(struct dm_pool_metadata *pmd) in __set_metadata_reserve()
935 struct dm_pool_metadata *pmd; in dm_pool_metadata_open() local
971 int dm_pool_metadata_close(struct dm_pool_metadata *pmd) in dm_pool_metadata_close()
1014 static int __open_device(struct dm_pool_metadata *pmd, in __open_device()
1082 static int __create_thin(struct dm_pool_metadata *pmd, in __create_thin()
1125 int dm_pool_create_thin(struct dm_pool_metadata *pmd, dm_thin_id dev) in dm_pool_create_thin()
1137 static int __set_snapshot_details(struct dm_pool_metadata *pmd, in __set_snapshot_details()
1158 static int __create_snap(struct dm_pool_metadata *pmd, in __create_snap()
1213 int dm_pool_create_snap(struct dm_pool_metadata *pmd, in dm_pool_create_snap()
1227 static int __delete_device(struct dm_pool_metadata *pmd, dm_thin_id dev) in __delete_device()
1257 int dm_pool_delete_thin_device(struct dm_pool_metadata *pmd, in dm_pool_delete_thin_device()
1270 int dm_pool_set_metadata_transaction_id(struct dm_pool_metadata *pmd, in dm_pool_set_metadata_transaction_id()
1295 int dm_pool_get_metadata_transaction_id(struct dm_pool_metadata *pmd, in dm_pool_get_metadata_transaction_id()
1310 static int __reserve_metadata_snap(struct dm_pool_metadata *pmd) in __reserve_metadata_snap()
1380 int dm_pool_reserve_metadata_snap(struct dm_pool_metadata *pmd) in dm_pool_reserve_metadata_snap()
1392 static int __release_metadata_snap(struct dm_pool_metadata *pmd) in __release_metadata_snap()
1428 int dm_pool_release_metadata_snap(struct dm_pool_metadata *pmd) in dm_pool_release_metadata_snap()
1440 static int __get_metadata_snap(struct dm_pool_metadata *pmd, in __get_metadata_snap()
1460 int dm_pool_get_metadata_snap(struct dm_pool_metadata *pmd, in dm_pool_get_metadata_snap()
1473 int dm_pool_open_thin_device(struct dm_pool_metadata *pmd, dm_thin_id dev, in dm_pool_open_thin_device()
1529 struct dm_pool_metadata *pmd = td->pmd; in __find_block() local
1549 struct dm_pool_metadata *pmd = td->pmd; in dm_thin_find_block() local
1569 struct dm_pool_metadata *pmd = td->pmd; in __find_next_mapped_block() local
1631 struct dm_pool_metadata *pmd = td->pmd; in dm_thin_find_mapped_range() local
1648 struct dm_pool_metadata *pmd = td->pmd; in __insert() local
1683 struct dm_pool_metadata *pmd = td->pmd; in __remove_range() local
1751 int dm_pool_block_is_shared(struct dm_pool_metadata *pmd, dm_block_t b, bool *result) in dm_pool_block_is_shared()
1765 int dm_pool_inc_data_range(struct dm_pool_metadata *pmd, dm_block_t b, dm_block_t e) in dm_pool_inc_data_range()
1776 int dm_pool_dec_data_range(struct dm_pool_metadata *pmd, dm_block_t b, dm_block_t e) in dm_pool_dec_data_range()
1798 bool dm_pool_changed_this_transaction(struct dm_pool_metadata *pmd) in dm_pool_changed_this_transaction()
1826 int dm_pool_alloc_data_block(struct dm_pool_metadata *pmd, dm_block_t *result) in dm_pool_alloc_data_block()
1838 int dm_pool_commit_metadata(struct dm_pool_metadata *pmd) in dm_pool_commit_metadata()
1863 static void __set_abort_with_changes_flags(struct dm_pool_metadata *pmd) in __set_abort_with_changes_flags()
1871 int dm_pool_abort_metadata(struct dm_pool_metadata *pmd) in dm_pool_abort_metadata()
1924 int dm_pool_get_free_block_count(struct dm_pool_metadata *pmd, dm_block_t *result) in dm_pool_get_free_block_count()
1936 int dm_pool_get_free_metadata_block_count(struct dm_pool_metadata *pmd, in dm_pool_get_free_metadata_block_count()
1956 int dm_pool_get_metadata_dev_size(struct dm_pool_metadata *pmd, in dm_pool_get_metadata_dev_size()
1969 int dm_pool_get_data_dev_size(struct dm_pool_metadata *pmd, dm_block_t *result) in dm_pool_get_data_dev_size()
1984 struct dm_pool_metadata *pmd = td->pmd; in dm_thin_get_mapped_count() local
2001 struct dm_pool_metadata *pmd = td->pmd; in __highest_block() local
2016 struct dm_pool_metadata *pmd = td->pmd; in dm_thin_get_highest_mapped_block() local
2046 int dm_pool_resize_data_dev(struct dm_pool_metadata *pmd, dm_block_t new_count) in dm_pool_resize_data_dev()
2058 int dm_pool_resize_metadata_dev(struct dm_pool_metadata *pmd, dm_block_t new_count) in dm_pool_resize_metadata_dev()
2073 void dm_pool_metadata_read_only(struct dm_pool_metadata *pmd) in dm_pool_metadata_read_only()
2080 void dm_pool_metadata_read_write(struct dm_pool_metadata *pmd) in dm_pool_metadata_read_write()
2087 int dm_pool_register_metadata_threshold(struct dm_pool_metadata *pmd, in dm_pool_register_metadata_threshold()
2104 void dm_pool_register_pre_commit_callback(struct dm_pool_metadata *pmd, in dm_pool_register_pre_commit_callback()
2114 int dm_pool_metadata_set_needs_check(struct dm_pool_metadata *pmd) in dm_pool_metadata_set_needs_check()
2141 bool dm_pool_metadata_needs_check(struct dm_pool_metadata *pmd) in dm_pool_metadata_needs_check()
2152 void dm_pool_issue_prefetches(struct dm_pool_metadata *pmd) in dm_pool_issue_prefetches()