Lines Matching defs:geo
135 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key()
148 static unsigned long *bkey(struct btree_geo *geo, unsigned long *node, int n) in bkey()
153 static void *bval(struct btree_geo *geo, unsigned long *node, int n) in bval()
158 static void setkey(struct btree_geo *geo, unsigned long *node, int n, in setkey()
164 static void setval(struct btree_geo *geo, unsigned long *node, int n, in setval()
170 static void clearpair(struct btree_geo *geo, unsigned long *node, int n) in clearpair()
207 void *btree_last(struct btree_head *head, struct btree_geo *geo, in btree_last()
224 static int keycmp(struct btree_geo *geo, unsigned long *node, int pos, in keycmp()
230 static int keyzero(struct btree_geo *geo, unsigned long *key) in keyzero()
241 static void *btree_lookup_node(struct btree_head *head, struct btree_geo *geo, in btree_lookup_node()
263 void *btree_lookup(struct btree_head *head, struct btree_geo *geo, in btree_lookup()
280 int btree_update(struct btree_head *head, struct btree_geo *geo, in btree_update()
307 void *btree_get_prev(struct btree_head *head, struct btree_geo *geo, in btree_get_prev()
359 static int getpos(struct btree_geo *geo, unsigned long *node, in getpos()
371 static int getfill(struct btree_geo *geo, unsigned long *node, int start) in getfill()
384 static unsigned long *find_level(struct btree_head *head, struct btree_geo *geo, in find_level()
409 static int btree_grow(struct btree_head *head, struct btree_geo *geo, in btree_grow()
428 static void btree_shrink(struct btree_head *head, struct btree_geo *geo) in btree_shrink()
444 static int btree_insert_level(struct btree_head *head, struct btree_geo *geo, in btree_insert_level()
506 int btree_insert(struct btree_head *head, struct btree_geo *geo, in btree_insert()
516 static void merge(struct btree_head *head, struct btree_geo *geo, int level, in merge()
536 static void rebalance(struct btree_head *head, struct btree_geo *geo, in rebalance()
587 static void *btree_remove_level(struct btree_head *head, struct btree_geo *geo, in btree_remove_level()
625 void *btree_remove(struct btree_head *head, struct btree_geo *geo, in btree_remove()
636 struct btree_geo *geo, gfp_t gfp) in btree_merge()
672 static size_t __btree_for_each(struct btree_head *head, struct btree_geo *geo, in __btree_for_each()
742 size_t btree_visitor(struct btree_head *head, struct btree_geo *geo, in btree_visitor()
760 size_t btree_grim_visitor(struct btree_head *head, struct btree_geo *geo, in btree_grim_visitor()