| /linux/drivers/md/persistent-data/ |
| H A D | dm-block-manager.h | 20 struct dm_block; 22 dm_block_t dm_block_location(struct dm_block *b); 23 void *dm_block_data(struct dm_block *b); 55 struct dm_block *b, size_t block_size); 61 struct dm_block *b, size_t block_size); 79 struct dm_block **result); 83 struct dm_block **result); 91 struct dm_block **result); 99 struct dm_block **result); 101 void dm_bm_unlock(struct dm_block *b);
|
| H A D | dm-btree-internal.h | 50 struct dm_block **result); 55 int new_block(struct dm_btree_info *info, struct dm_block **result); 56 void unlock_block(struct dm_btree_info *info, struct dm_block *b); 68 struct dm_block *nodes[2]; 81 struct dm_block *nodes[2]; 95 struct dm_block *shadow_current(struct shadow_spine *s); 100 struct dm_block *shadow_parent(struct shadow_spine *s); 160 dm_block_t *new_root, struct dm_block **leaf);
|
| H A D | dm-btree-spine.c | 20 struct dm_block *b, in node_prepare_for_write() 33 struct dm_block *b, in node_check() 93 struct dm_block **result) in bn_read_lock() 100 struct dm_block **result) in bn_shadow() 112 int new_block(struct dm_btree_info *info, struct dm_block **result) in new_block() 117 void unlock_block(struct dm_btree_info *info, struct dm_block *b) in unlock_block() 166 struct dm_block *block; in ro_node() 212 struct dm_block *shadow_current(struct shadow_spine *s) in shadow_current() 219 struct dm_block *shadow_parent(struct shadow_spine *s) in shadow_parent()
|
| H A D | dm-array.c | 42 struct dm_block *b, in array_block_prepare_for_write() 54 struct dm_block *b, in array_block_check() 154 struct dm_block **block, struct array_block **ab) in alloc_ablock() 219 struct dm_block **block, struct array_block **ab) in get_ablock() 234 static void unlock_ablock(struct dm_array_info *info, struct dm_block *block) in unlock_ablock() 252 unsigned int index, struct dm_block **block, in lookup_ablock() 270 struct dm_block *block, dm_block_t *root) in insert_ablock() 281 struct dm_block **block, struct array_block **ab) in __shadow_ablock() 301 struct dm_block *block, dm_block_t b, in __reinsert_ablock() 326 unsigned int index, struct dm_block **block, in shadow_ablock() [all …]
|
| H A D | dm-block-manager.c | 325 * dm_block_manager and struct dm_block map directly onto a couple of 330 static struct dm_buffer *to_buffer(struct dm_block *b) in to_buffer() 335 dm_block_t dm_block_location(struct dm_block *b) in dm_block_location() 341 void *dm_block_data(struct dm_block *b) in dm_block_data() 369 aux->validator->prepare_for_write(aux->validator, (struct dm_block *) buf, in dm_block_manager_write_callback() 451 r = v->check(v, (struct dm_block *) buf, dm_bufio_get_block_size(bm->bufio)); in dm_bm_validate_buffer() 471 struct dm_block **result) in dm_bm_read_lock() 504 struct dm_block **result) in dm_bm_write_lock() 540 struct dm_block **result) in dm_bm_read_try_lock() 573 struct dm_block **result) in dm_bm_write_lock_zero() [all …]
|
| H A D | dm-transaction-manager.h | 52 int dm_tm_commit(struct dm_transaction_manager *tm, struct dm_block *superblock); 68 struct dm_block **result); 88 struct dm_block **result, int *inc_children); 96 struct dm_block **result); 98 void dm_tm_unlock(struct dm_transaction_manager *tm, struct dm_block *b);
|
| H A D | dm-btree.c | 132 struct dm_block *b; in dm_btree_empty() 166 struct dm_block *b; 424 struct dm_block *node; in dm_btree_lookup_next_single() 658 struct dm_block *left, *right, *parent; in split_one_into_two() 709 struct dm_block **result) in shadow_child() 742 struct dm_block *left, *middle, *right, *parent; in split_two_into_three() 843 struct dm_block *left, *right, *new_parent; in btree_split_beneath() 919 struct dm_block *sib; in rebalance_left() 948 struct dm_block *sib; in rebalance_right() 977 struct dm_block *block; in get_node_free_space() [all …]
|
| H A D | dm-btree.h | 191 struct dm_block *b;
|
| H A D | dm-array.h | 200 struct dm_block *block;
|
| H A D | dm-btree-remove.c | 157 struct dm_block *block; 492 struct dm_block *child; in rebalance_children()
|
| /linux/drivers/md/ |
| H A D | dm-clone-metadata.c | 167 struct dm_block *b, size_t sb_block_size) in sb_prepare_for_write() 180 static int sb_check(const struct dm_block_validator *v, struct dm_block *b, in sb_check() 237 struct dm_block *sblock; in __superblock_all_zeroes() 274 struct dm_block **sblock) in superblock_read_lock() 280 struct dm_block **sblock) in superblock_write_lock_zero() 321 struct dm_block *sblock; in __open_metadata() 363 struct dm_block *sblock; in __format_metadata() 683 struct dm_block *sblock; in __metadata_commit()
|
| H A D | dm-thin-metadata.c | 253 struct dm_block *b, in sb_prepare_for_write() 265 struct dm_block *b, in sb_check() 441 struct dm_block **sblock) in superblock_lock_zero() 448 struct dm_block **sblock) in superblock_lock() 458 struct dm_block *b; in __superblock_all_zeroes() 556 struct dm_block *sblock; in __write_initial_superblock() 691 struct dm_block *sblock; in __open_metadata() 826 struct dm_block *sblock; in __begin_transaction() 888 struct dm_block *sblock; in __commit_transaction() 1336 struct dm_block *copy, *sblock; in __reserve_metadata_snap() [all …]
|
| H A D | dm-era-target.c | 200 struct dm_block *b, in sb_prepare_for_write() 225 struct dm_block *b, in sb_check() 312 struct dm_block **sblock) in superblock_read_lock() 319 struct dm_block **sblock) in superblock_lock_zero() 326 struct dm_block **sblock) in superblock_lock() 337 struct dm_block *b; in superblock_all_zeroes() 530 struct dm_block *sblock; in write_superblock() 573 struct dm_block *sblock; in open_metadata() 986 struct dm_block *sblock; in metadata_commit() 1035 struct dm_block *clone; in metadata_take_snap() [all …]
|