Home
last modified time | relevance | path

Searched full:dm_block (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/md/persistent-data/
H A Ddm-block-manager.h20 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 Ddm-btree-internal.h50 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 Ddm-btree-spine.c20 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 Ddm-array.c42 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 Ddm-block-manager.c325 * 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 Ddm-transaction-manager.h52 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 Ddm-btree.c132 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 Ddm-btree.h191 struct dm_block *b;
H A Ddm-array.h200 struct dm_block *block;
H A Ddm-btree-remove.c157 struct dm_block *block;
492 struct dm_block *child; in rebalance_children()
/linux/drivers/md/
H A Ddm-clone-metadata.c167 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 Ddm-thin-metadata.c253 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 Ddm-era-target.c200 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 …]