Home
last modified time | relevance | path

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

/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()
410 void dm_block_manager_destroy(struct dm_block_manager *bm) in dm_block_manager_destroy()
417 unsigned dm_bm_block_size(struct dm_block_manager *bm) in dm_bm_block_size()
423 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm) in dm_bm_nr_blocks()
428 static int dm_bm_validate_buffer(struct dm_block_manager *bm, in dm_bm_validate_buffer()
455 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b, in dm_bm_read_lock()
488 int dm_bm_write_lock(struct dm_block_manager *bm, in dm_bm_write_lock()
524 int dm_bm_read_try_lock(struct dm_block_manager *bm, in dm_bm_read_try_lock()
[all …]
Ddm-transaction-manager.h109 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm);
128 int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location,
132 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()
382 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm) in dm_tm_get_bm()
395 static int dm_tm_create_internal(struct dm_block_manager *bm, in dm_tm_create_internal()
438 int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_create_with_sm()
446 int dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_open_with_sm()
Ddm-btree.c199 struct dm_block_manager *bm = dm_tm_get_bm(s->tm); in prefetch_children()
1004 struct dm_block_manager *bm = dm_tm_get_bm(c->info->tm); in prefetch_values()
/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()
1814 struct dm_block_manager *old_bm = NULL, *new_bm = NULL; in dm_cache_metadata_abort()
Ddm-thin-metadata.c149 struct dm_block_manager *bm;
425 static int __superblock_all_zeroes(struct dm_block_manager *bm, int *result) in __superblock_all_zeroes()
1887 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()