|
| EXPORT_SYMBOL_GPL (btree_geo32) |
|
| EXPORT_SYMBOL_GPL (btree_geo64) |
|
| EXPORT_SYMBOL_GPL (btree_geo128) |
|
void * | btree_alloc (gfp_t gfp_mask, void *pool_data) |
|
| EXPORT_SYMBOL_GPL (btree_alloc) |
|
void | btree_free (void *element, void *pool_data) |
|
| EXPORT_SYMBOL_GPL (btree_free) |
|
void | btree_init_mempool (struct btree_head *head, mempool_t *mempool) |
|
| EXPORT_SYMBOL_GPL (btree_init_mempool) |
|
int | btree_init (struct btree_head *head) |
|
| EXPORT_SYMBOL_GPL (btree_init) |
|
void | btree_destroy (struct btree_head *head) |
|
| EXPORT_SYMBOL_GPL (btree_destroy) |
|
void * | btree_last (struct btree_head *head, struct btree_geo *geo, unsigned long *key) |
|
| EXPORT_SYMBOL_GPL (btree_last) |
|
void * | btree_lookup (struct btree_head *head, struct btree_geo *geo, unsigned long *key) |
|
| EXPORT_SYMBOL_GPL (btree_lookup) |
|
int | btree_update (struct btree_head *head, struct btree_geo *geo, unsigned long *key, void *val) |
|
| EXPORT_SYMBOL_GPL (btree_update) |
|
void * | btree_get_prev (struct btree_head *head, struct btree_geo *geo, unsigned long *__key) |
|
| EXPORT_SYMBOL_GPL (btree_get_prev) |
|
int | btree_insert (struct btree_head *head, struct btree_geo *geo, unsigned long *key, void *val, gfp_t gfp) |
|
| EXPORT_SYMBOL_GPL (btree_insert) |
|
void * | btree_remove (struct btree_head *head, struct btree_geo *geo, unsigned long *key) |
|
| EXPORT_SYMBOL_GPL (btree_remove) |
|
int | btree_merge (struct btree_head *target, struct btree_head *victim, struct btree_geo *geo, gfp_t gfp) |
|
| EXPORT_SYMBOL_GPL (btree_merge) |
|
void | visitorl (void *elem, unsigned long opaque, unsigned long *key, size_t index, void *__func) |
|
| EXPORT_SYMBOL_GPL (visitorl) |
|
void | visitor32 (void *elem, unsigned long opaque, unsigned long *__key, size_t index, void *__func) |
|
| EXPORT_SYMBOL_GPL (visitor32) |
|
void | visitor64 (void *elem, unsigned long opaque, unsigned long *__key, size_t index, void *__func) |
|
| EXPORT_SYMBOL_GPL (visitor64) |
|
void | visitor128 (void *elem, unsigned long opaque, unsigned long *__key, size_t index, void *__func) |
|
| EXPORT_SYMBOL_GPL (visitor128) |
|
size_t | btree_visitor (struct btree_head *head, struct btree_geo *geo, unsigned long opaque, void(*func)(void *elem, unsigned long opaque, unsigned long *key, size_t index, void *func2), void *func2) |
|
| EXPORT_SYMBOL_GPL (btree_visitor) |
|
size_t | btree_grim_visitor (struct btree_head *head, struct btree_geo *geo, unsigned long opaque, void(*func)(void *elem, unsigned long opaque, unsigned long *key, size_t index, void *func2), void *func2) |
|
| EXPORT_SYMBOL_GPL (btree_grim_visitor) |
|
| module_init (btree_module_init) |
|
| module_exit (btree_module_exit) |
|
| MODULE_AUTHOR ("Joern Engel <[email protected]>") |
|
| MODULE_AUTHOR ("Johannes Berg <[email protected]>") |
|
| MODULE_LICENSE ("GPL") |
|
btree_merge - merge two btrees
: the tree that gets all the entries : the tree that gets merged into : the btree geometry : allocation flags
The two trees and may not contain the same keys, that is a bug and triggers a BUG(). This function returns zero if the trees were merged successfully, and may return a failure when memory allocation fails, in which case both trees might have been partially merged, i.e. some entries have been moved from to .
Definition at line 638 of file btree.c.