Home
last modified time | relevance | path

Searched refs:dm_block_manager (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/md/persistent-data/
Ddm-block-manager.h33 struct dm_block_manager;
34 struct dm_block_manager *dm_block_manager_create(
37 void dm_block_manager_destroy(struct dm_block_manager *bm);
39 unsigned dm_bm_block_size(struct dm_block_manager *bm);
40 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm);
73 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b,
77 int dm_bm_write_lock(struct dm_block_manager *bm, dm_block_t b,
85 int dm_bm_read_try_lock(struct dm_block_manager *bm, dm_block_t b,
93 int dm_bm_write_lock_zero(struct dm_block_manager *bm, dm_block_t b,
108 int dm_bm_flush(struct dm_block_manager *bm);
[all …]
Ddm-block-manager.c373 struct dm_block_manager { struct
378 struct dm_block_manager *dm_block_manager_create(struct block_device *bdev, in dm_block_manager_create() argument
383 struct dm_block_manager *bm; in dm_block_manager_create()
411 void dm_block_manager_destroy(struct dm_block_manager *bm) in dm_block_manager_destroy()
418 unsigned dm_bm_block_size(struct dm_block_manager *bm) in dm_bm_block_size()
424 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm) in dm_bm_nr_blocks()
429 static int dm_bm_validate_buffer(struct dm_block_manager *bm, in dm_bm_validate_buffer()
456 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b, in dm_bm_read_lock()
489 int dm_bm_write_lock(struct dm_block_manager *bm, in dm_bm_write_lock()
525 int dm_bm_read_try_lock(struct dm_block_manager *bm, in dm_bm_read_try_lock()
[all …]
Ddm-transaction-manager.h125 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm);
144 int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location,
148 int dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location,
Ddm-transaction-manager.c60 static void prefetch_issue(struct prefetch_set *p, struct dm_block_manager *bm) in prefetch_issue()
92 struct dm_block_manager *bm;
160 static struct dm_transaction_manager *dm_tm_create(struct dm_block_manager *bm, in dm_tm_create()
443 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm) in dm_tm_get_bm()
456 static int dm_tm_create_internal(struct dm_block_manager *bm, in dm_tm_create_internal()
499 int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_create_with_sm()
507 int dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_open_with_sm()
Ddm-btree.c197 struct dm_block_manager *bm = dm_tm_get_bm(s->tm); in prefetch_children()
1462 struct dm_block_manager *bm = dm_tm_get_bm(c->info->tm); in prefetch_values()
/linux-6.1.9/drivers/md/
Ddm-clone-metadata.c142 struct dm_block_manager *bm;
233 static int __superblock_all_zeroes(struct dm_block_manager *bm, bool *formatted) in __superblock_all_zeroes()
Ddm-cache-metadata.c109 struct dm_block_manager *bm;
260 static int __superblock_all_zeroes(struct dm_block_manager *bm, bool *result) in __superblock_all_zeroes()
1813 struct dm_block_manager *old_bm = NULL, *new_bm = NULL; in dm_cache_metadata_abort()
Ddm-thin-metadata.c149 struct dm_block_manager *bm;
448 static int __superblock_all_zeroes(struct dm_block_manager *bm, int *result) in __superblock_all_zeroes()
1874 struct dm_block_manager *old_bm = NULL, *new_bm = NULL; in dm_pool_abort_metadata()
Ddm-era-target.c263 struct dm_block_manager *bm;
323 static int superblock_all_zeroes(struct dm_block_manager *bm, bool *result) in superblock_all_zeroes()