Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/persistent-data/
Ddm-block-manager.h34 struct dm_block_manager;
35 struct dm_block_manager *dm_block_manager_create(
38 void dm_block_manager_destroy(struct dm_block_manager *bm);
39 void dm_block_manager_reset(struct dm_block_manager *bm);
41 unsigned int dm_bm_block_size(struct dm_block_manager *bm);
42 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm);
75 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b,
79 int dm_bm_write_lock(struct dm_block_manager *bm, dm_block_t b,
87 int dm_bm_read_try_lock(struct dm_block_manager *bm, dm_block_t b,
95 int dm_bm_write_lock_zero(struct dm_block_manager *bm, dm_block_t b,
[all …]
Ddm-block-manager.c379 struct dm_block_manager { struct
384 struct dm_block_manager *dm_block_manager_create(struct block_device *bdev, in dm_block_manager_create() argument
389 struct dm_block_manager *bm; in dm_block_manager_create()
417 void dm_block_manager_destroy(struct dm_block_manager *bm) in dm_block_manager_destroy()
424 void dm_block_manager_reset(struct dm_block_manager *bm) in dm_block_manager_reset()
430 unsigned int dm_bm_block_size(struct dm_block_manager *bm) in dm_bm_block_size()
436 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm) in dm_bm_nr_blocks()
441 static int dm_bm_validate_buffer(struct dm_block_manager *bm, in dm_bm_validate_buffer()
469 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b, in dm_bm_read_lock()
502 int dm_bm_write_lock(struct dm_block_manager *bm, in dm_bm_write_lock()
[all …]
Ddm-transaction-manager.h126 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm);
145 int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location,
149 int dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location,
Ddm-transaction-manager.c62 static void prefetch_issue(struct prefetch_set *p, struct dm_block_manager *bm) in prefetch_issue()
94 struct dm_block_manager *bm;
162 static struct dm_transaction_manager *dm_tm_create(struct dm_block_manager *bm, in dm_tm_create()
448 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm) in dm_tm_get_bm()
461 static int dm_tm_create_internal(struct dm_block_manager *bm, in dm_tm_create_internal()
504 int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_create_with_sm()
512 int dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_open_with_sm()
Ddm-btree.c200 struct dm_block_manager *bm = dm_tm_get_bm(s->tm); in prefetch_children()
1473 struct dm_block_manager *bm = dm_tm_get_bm(c->info->tm); in prefetch_values()
/linux-6.6.21/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.c110 struct dm_block_manager *bm;
262 static int __superblock_all_zeroes(struct dm_block_manager *bm, bool *result) in __superblock_all_zeroes()
1821 struct dm_block_manager *old_bm = NULL, *new_bm = NULL; in dm_cache_metadata_abort()
Ddm-era-target.c273 struct dm_block_manager *bm;
333 static int superblock_all_zeroes(struct dm_block_manager *bm, bool *result) in superblock_all_zeroes()
Ddm-thin-metadata.c152 struct dm_block_manager *bm;
454 static int __superblock_all_zeroes(struct dm_block_manager *bm, int *result) in __superblock_all_zeroes()