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);
38 void dm_block_manager_reset(struct dm_block_manager *bm);
40 unsigned int dm_bm_block_size(struct dm_block_manager *bm);
41 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm);
74 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b,
78 int dm_bm_write_lock(struct dm_block_manager *bm, dm_block_t b,
86 int dm_bm_read_try_lock(struct dm_block_manager *bm, dm_block_t b,
94 int dm_bm_write_lock_zero(struct dm_block_manager *bm, dm_block_t b,
[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 void dm_block_manager_reset(struct dm_block_manager *bm) in dm_block_manager_reset()
424 unsigned int dm_bm_block_size(struct dm_block_manager *bm) in dm_bm_block_size()
430 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm) in dm_bm_nr_blocks()
435 static int dm_bm_validate_buffer(struct dm_block_manager *bm, in dm_bm_validate_buffer()
462 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b, in dm_bm_read_lock()
495 int dm_bm_write_lock(struct dm_block_manager *bm, in dm_bm_write_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()
446 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm) in dm_tm_get_bm()
459 static int dm_tm_create_internal(struct dm_block_manager *bm, in dm_tm_create_internal()
502 int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_create_with_sm()
510 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()
/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-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()
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()