Searched refs:dm_block_manager (Results 1 – 9 of 9) sorted by relevance
/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); 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 …]
|
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() 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 …]
|
D | dm-transaction-manager.h | 125 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,
|
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() 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()
|
D | dm-btree.c | 197 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/ |
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() 1813 struct dm_block_manager *old_bm = NULL, *new_bm = NULL; in dm_cache_metadata_abort()
|
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()
|
D | dm-thin-metadata.c | 149 struct dm_block_manager *bm; 448 static int __superblock_all_zeroes(struct dm_block_manager *bm, int *result) in __superblock_all_zeroes()
|