Home
last modified time | relevance | path

Searched refs:btree_head (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/include/linux/
Dbtree.h35 struct btree_head { struct
67 void btree_init_mempool(struct btree_head *head, mempool_t *mempool);
79 int __must_check btree_init(struct btree_head *head);
89 void btree_destroy(struct btree_head *head);
100 void *btree_lookup(struct btree_head *head, struct btree_geo *geo,
115 int __must_check btree_insert(struct btree_head *head, struct btree_geo *geo,
128 int btree_update(struct btree_head *head, struct btree_geo *geo,
140 void *btree_remove(struct btree_head *head, struct btree_geo *geo,
158 int btree_merge(struct btree_head *target, struct btree_head *victim,
172 void *btree_last(struct btree_head *head, struct btree_geo *geo,
[all …]
Dbtree-type.h6 #define BTREE_TYPE_HEAD BTREE_TP(struct btree_head)
11 struct btree_head h;
Dbtree-128.h4 struct btree_head128 { struct btree_head h; };
/Linux-v5.10/lib/
Dbtree.c93 static unsigned long *btree_node_alloc(struct btree_head *head, gfp_t gfp) in btree_node_alloc()
176 static inline void __btree_init(struct btree_head *head) in __btree_init()
182 void btree_init_mempool(struct btree_head *head, mempool_t *mempool) in btree_init_mempool()
189 int btree_init(struct btree_head *head) in btree_init()
199 void btree_destroy(struct btree_head *head) in btree_destroy()
207 void *btree_last(struct btree_head *head, struct btree_geo *geo, in btree_last()
241 void *btree_lookup(struct btree_head *head, struct btree_geo *geo, in btree_lookup()
271 int btree_update(struct btree_head *head, struct btree_geo *geo, in btree_update()
311 void *btree_get_prev(struct btree_head *head, struct btree_geo *geo, in btree_get_prev()
388 static unsigned long *find_level(struct btree_head *head, struct btree_geo *geo, in find_level()
[all …]