Home
last modified time | relevance | path

Searched refs:dm_pool_metadata (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/md/
Ddm-thin-metadata.h33 struct dm_pool_metadata;
44 struct dm_pool_metadata *dm_pool_metadata_open(struct block_device *bdev,
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,
[all …]
Ddm-thin-metadata.c145 struct dm_pool_metadata { struct
221 struct dm_pool_metadata *pmd; argument
381 static inline void __pmd_write_lock(struct dm_pool_metadata *pmd) in __pmd_write_lock()
388 static inline void pmd_write_lock(struct dm_pool_metadata *pmd) in pmd_write_lock()
395 static inline void pmd_write_unlock(struct dm_pool_metadata *pmd) in pmd_write_unlock()
403 static int superblock_lock_zero(struct dm_pool_metadata *pmd, in superblock_lock_zero()
410 static int superblock_lock(struct dm_pool_metadata *pmd, in superblock_lock()
446 static void __setup_btree_details(struct dm_pool_metadata *pmd) in __setup_btree_details()
484 static int save_sm_roots(struct dm_pool_metadata *pmd) in save_sm_roots()
504 static void copy_sm_roots(struct dm_pool_metadata *pmd, in copy_sm_roots()
[all …]
Ddm-thin.c235 struct dm_pool_metadata *pmd;
2945 struct dm_pool_metadata *pmd; in pool_create()