Searched refs:btree_head (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/include/linux/ |
D | btree.h | 35 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 …]
|
D | btree-type.h | 6 #define BTREE_TYPE_HEAD BTREE_TP(struct btree_head) 11 struct btree_head h;
|
D | btree-128.h | 4 struct btree_head128 { struct btree_head h; };
|
/linux-4.19.296/lib/ |
D | btree.c | 95 static unsigned long *btree_node_alloc(struct btree_head *head, gfp_t gfp) in btree_node_alloc() 178 static inline void __btree_init(struct btree_head *head) in __btree_init() 184 void btree_init_mempool(struct btree_head *head, mempool_t *mempool) in btree_init_mempool() 191 int btree_init(struct btree_head *head) in btree_init() 201 void btree_destroy(struct btree_head *head) in btree_destroy() 209 void *btree_last(struct btree_head *head, struct btree_geo *geo, in btree_last() 243 void *btree_lookup(struct btree_head *head, struct btree_geo *geo, in btree_lookup() 273 int btree_update(struct btree_head *head, struct btree_geo *geo, in btree_update() 313 void *btree_get_prev(struct btree_head *head, struct btree_geo *geo, in btree_get_prev() 390 static unsigned long *find_level(struct btree_head *head, struct btree_geo *geo, in find_level() [all …]
|