Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/persistent-data/
Ddm-btree.h81 struct dm_btree_info { struct
94 int dm_btree_empty(struct dm_btree_info *info, dm_block_t *root); argument
100 int dm_btree_del(struct dm_btree_info *info, dm_block_t root);
109 int dm_btree_lookup(struct dm_btree_info *info, dm_block_t root,
116 int dm_btree_lookup_next(struct dm_btree_info *info, dm_block_t root,
122 int dm_btree_insert(struct dm_btree_info *info, dm_block_t root,
131 int dm_btree_insert_notify(struct dm_btree_info *info, dm_block_t root,
141 int dm_btree_remove(struct dm_btree_info *info, dm_block_t root,
150 int dm_btree_remove_leaves(struct dm_btree_info *info, dm_block_t root,
159 int dm_btree_find_lowest_key(struct dm_btree_info *info, dm_block_t root,
[all …]
Ddm-btree-internal.h48 int bn_read_lock(struct dm_btree_info *info, dm_block_t b,
54 int new_block(struct dm_btree_info *info, struct dm_block **result);
55 void unlock_block(struct dm_btree_info *info, struct dm_block *b);
64 struct dm_btree_info *info;
70 void init_ro_spine(struct ro_spine *s, struct dm_btree_info *info);
77 struct dm_btree_info *info;
85 void init_shadow_spine(struct shadow_spine *s, struct dm_btree_info *info);
156 int btree_get_overwrite_leaf(struct dm_btree_info *info, dm_block_t root,
Ddm-btree-spine.c91 int bn_read_lock(struct dm_btree_info *info, dm_block_t b, in bn_read_lock()
97 static int bn_shadow(struct dm_btree_info *info, dm_block_t orig, in bn_shadow()
111 int new_block(struct dm_btree_info *info, struct dm_block **result) in new_block()
116 void unlock_block(struct dm_btree_info *info, struct dm_block *b) in unlock_block()
123 void init_ro_spine(struct ro_spine *s, struct dm_btree_info *info) in init_ro_spine()
176 void init_shadow_spine(struct shadow_spine *s, struct dm_btree_info *info) in init_shadow_spine()
Ddm-btree-remove.c158 static int init_child(struct dm_btree_info *info, struct dm_btree_value_type *vt, in init_child()
184 static void exit_child(struct dm_btree_info *info, struct child *c) in exit_child()
233 static int __rebalance2(struct dm_btree_info *info, struct btree_node *parent, in __rebalance2()
275 static int rebalance2(struct shadow_spine *s, struct dm_btree_info *info, in rebalance2()
307 static int delete_center_node(struct dm_btree_info *info, struct btree_node *parent, in delete_center_node()
347 static int redistribute3(struct dm_btree_info *info, struct btree_node *parent, in redistribute3()
414 static int __rebalance3(struct dm_btree_info *info, struct btree_node *parent, in __rebalance3()
442 static int rebalance3(struct shadow_spine *s, struct dm_btree_info *info, in rebalance3()
479 struct dm_btree_info *info, in rebalance_children()
540 static int remove_raw(struct shadow_spine *s, struct dm_btree_info *info, in remove_raw()
[all …]
Ddm-btree.c126 int dm_btree_empty(struct dm_btree_info *info, dm_block_t *root) in dm_btree_empty()
171 struct dm_btree_info *info;
203 static bool is_internal_level(struct dm_btree_info *info, struct frame *f) in is_internal_level()
270 int dm_btree_del(struct dm_btree_info *info, dm_block_t root) in dm_btree_del()
371 int dm_btree_lookup(struct dm_btree_info *info, dm_block_t root, in dm_btree_lookup()
416 static int dm_btree_lookup_next_single(struct dm_btree_info *info, dm_block_t root, in dm_btree_lookup_next_single()
467 int dm_btree_lookup_next(struct dm_btree_info *info, dm_block_t root, in dm_btree_lookup_next()
698 static int shadow_child(struct dm_btree_info *info, struct dm_btree_value_type *vt, in shadow_child()
964 static int get_node_free_space(struct dm_btree_info *info, dm_block_t b, unsigned *space) in get_node_free_space()
1191 int btree_get_overwrite_leaf(struct dm_btree_info *info, dm_block_t root, in btree_get_overwrite_leaf()
[all …]
Ddm-space-map-common.h73 struct dm_btree_info bitmap_info;
74 struct dm_btree_info ref_count_info;
Ddm-array.h71 struct dm_btree_info btree_info;
/linux-5.19.10/drivers/md/
Ddm-thin-metadata.c160 struct dm_btree_info info;
165 struct dm_btree_info nb_info;
170 struct dm_btree_info tl_info;
175 struct dm_btree_info bl_info;
180 struct dm_btree_info details_info;
379 struct dm_btree_info *info = context; in subtree_inc()
389 struct dm_btree_info *info = context; in subtree_dec()
1520 struct dm_btree_info *info; in __find_block()
Ddm-era-target.c284 struct dm_btree_info writeset_tree_info;