Home
last modified time | relevance | path

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

/lib/
Dbtree.c97 node = mempool_alloc(head->mempool, gfp); in btree_node_alloc()
182 void btree_init_mempool(struct btree_head *head, mempool_t *mempool) in btree_init_mempool() argument
185 head->mempool = mempool; in btree_init_mempool()
192 head->mempool = mempool_create(0, btree_alloc, btree_free, NULL); in btree_init()
193 if (!head->mempool) in btree_init()
201 mempool_free(head->node, head->mempool); in btree_destroy()
202 mempool_destroy(head->mempool); in btree_destroy()
203 head->mempool = NULL; in btree_destroy()
445 mempool_free(node, head->mempool); in btree_shrink()
480 mempool_free(new, head->mempool); in btree_insert_level()
[all …]