Home
last modified time | relevance | path

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

/Linux-v5.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);
Ddm-btree-remove.c142 static int init_child(struct dm_btree_info *info, struct dm_btree_value_type *vt, in init_child()
168 static void exit_child(struct dm_btree_info *info, struct child *c) in exit_child()
199 static void __rebalance2(struct dm_btree_info *info, struct btree_node *parent, in __rebalance2()
237 static int rebalance2(struct shadow_spine *s, struct dm_btree_info *info, in rebalance2()
269 static void delete_center_node(struct dm_btree_info *info, struct btree_node *parent, in delete_center_node()
300 static void redistribute3(struct dm_btree_info *info, struct btree_node *parent, in redistribute3()
347 static void __rebalance3(struct dm_btree_info *info, struct btree_node *parent, in __rebalance3()
371 static int rebalance3(struct shadow_spine *s, struct dm_btree_info *info, in rebalance3()
408 struct dm_btree_info *info, in rebalance_children()
469 static int remove_raw(struct shadow_spine *s, struct dm_btree_info *info, in remove_raw()
[all …]
Ddm-btree-spine.c95 int bn_read_lock(struct dm_btree_info *info, dm_block_t b, in bn_read_lock()
101 static int bn_shadow(struct dm_btree_info *info, dm_block_t orig, in bn_shadow()
115 int new_block(struct dm_btree_info *info, struct dm_block **result) in new_block()
120 void unlock_block(struct dm_btree_info *info, struct dm_block *b) in unlock_block()
127 void init_ro_spine(struct ro_spine *s, struct dm_btree_info *info) in init_ro_spine()
180 void init_shadow_spine(struct shadow_spine *s, struct dm_btree_info *info) in init_shadow_spine()
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()
375 int dm_btree_lookup(struct dm_btree_info *info, dm_block_t root, in dm_btree_lookup()
420 static int dm_btree_lookup_next_single(struct dm_btree_info *info, dm_block_t root, in dm_btree_lookup_next_single()
471 int dm_btree_lookup_next(struct dm_btree_info *info, dm_block_t root, in dm_btree_lookup_next()
763 static int insert(struct dm_btree_info *info, dm_block_t root, in insert()
850 int dm_btree_insert(struct dm_btree_info *info, dm_block_t root, in dm_btree_insert()
858 int dm_btree_insert_notify(struct dm_btree_info *info, dm_block_t root, in dm_btree_insert_notify()
[all …]
Ddm-space-map-common.h59 struct dm_btree_info bitmap_info;
60 struct dm_btree_info ref_count_info;
Ddm-array.h71 struct dm_btree_info btree_info;
/Linux-v5.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;
354 struct dm_btree_info *info = context; in subtree_inc()
365 struct dm_btree_info *info = context; in subtree_dec()
1497 struct dm_btree_info *info; in __find_block()
Ddm-era-target.c283 struct dm_btree_info writeset_tree_info;