Searched refs:dm_block_manager (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
D | dm-block-manager.h | 33 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 …]
|
D | dm-block-manager.c | 373 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 …]
|
D | dm-transaction-manager.h | 109 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,
|
D | dm-transaction-manager.c | 60 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()
|
D | dm-btree.c | 199 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()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-clone-metadata.c | 142 struct dm_block_manager *bm; 233 static int __superblock_all_zeroes(struct dm_block_manager *bm, bool *formatted) in __superblock_all_zeroes()
|
D | dm-cache-metadata.c | 109 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()
|
D | dm-thin-metadata.c | 149 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()
|
D | dm-era-target.c | 263 struct dm_block_manager *bm; 323 static int superblock_all_zeroes(struct dm_block_manager *bm, bool *result) in superblock_all_zeroes()
|