Lines Matching defs:geo
134 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key()
147 static unsigned long *bkey(struct btree_geo *geo, unsigned long *node, int n) in bkey()
152 static void *bval(struct btree_geo *geo, unsigned long *node, int n) in bval()
157 static void setkey(struct btree_geo *geo, unsigned long *node, int n, in setkey()
163 static void setval(struct btree_geo *geo, unsigned long *node, int n, in setval()
169 static void clearpair(struct btree_geo *geo, unsigned long *node, int n) in clearpair()
206 void *btree_last(struct btree_head *head, struct btree_geo *geo, in btree_last()
223 static int keycmp(struct btree_geo *geo, unsigned long *node, int pos, in keycmp()
229 static int keyzero(struct btree_geo *geo, unsigned long *key) in keyzero()
240 static void *btree_lookup_node(struct btree_head *head, struct btree_geo *geo, in btree_lookup_node()
262 void *btree_lookup(struct btree_head *head, struct btree_geo *geo, in btree_lookup()
279 int btree_update(struct btree_head *head, struct btree_geo *geo, in btree_update()
306 void *btree_get_prev(struct btree_head *head, struct btree_geo *geo, in btree_get_prev()
358 static int getpos(struct btree_geo *geo, unsigned long *node, in getpos()
370 static int getfill(struct btree_geo *geo, unsigned long *node, int start) in getfill()
383 static unsigned long *find_level(struct btree_head *head, struct btree_geo *geo, in find_level()
408 static int btree_grow(struct btree_head *head, struct btree_geo *geo, in btree_grow()
427 static void btree_shrink(struct btree_head *head, struct btree_geo *geo) in btree_shrink()
443 static int btree_insert_level(struct btree_head *head, struct btree_geo *geo, in btree_insert_level()
505 int btree_insert(struct btree_head *head, struct btree_geo *geo, in btree_insert()
515 static void merge(struct btree_head *head, struct btree_geo *geo, int level, in merge()
535 static void rebalance(struct btree_head *head, struct btree_geo *geo, in rebalance()
586 static void *btree_remove_level(struct btree_head *head, struct btree_geo *geo, in btree_remove_level()
624 void *btree_remove(struct btree_head *head, struct btree_geo *geo, in btree_remove()
635 struct btree_geo *geo, gfp_t gfp) in btree_merge()
671 static size_t __btree_for_each(struct btree_head *head, struct btree_geo *geo, in __btree_for_each()
741 size_t btree_visitor(struct btree_head *head, struct btree_geo *geo, in btree_visitor()
759 size_t btree_grim_visitor(struct btree_head *head, struct btree_geo *geo, in btree_grim_visitor()