Lines Matching refs:maple_node_cache
98 static struct kmem_cache *maple_node_cache; variable
176 return kmem_cache_alloc(maple_node_cache, gfp); in mt_alloc_one()
181 return kmem_cache_alloc_bulk(maple_node_cache, gfp, size, nodes); in mt_alloc_bulk()
186 kmem_cache_free(maple_node_cache, node); in mt_free_one()
191 kmem_cache_free_bulk(maple_node_cache, size, (void **)nodes); in mt_free_bulk()
198 kmem_cache_free(maple_node_cache, node); in mt_free_rcu()
6261 maple_node_cache = kmem_cache_create("maple_node", in maple_tree_init()
6954 kmem_cache_set_non_kernel(maple_node_cache, val); in mt_set_non_kernel()
6961 kmem_cache_set_callback(maple_node_cache, callback); in mt_set_callback()
6967 kmem_cache_set_private(maple_node_cache, private); in mt_set_private()
6973 return kmem_cache_get_alloc(maple_node_cache); in mt_get_alloc_size()
6979 kmem_cache_zero_nr_tallocated(maple_node_cache); in mt_zero_nr_tallocated()
6985 return kmem_cache_nr_tallocated(maple_node_cache); in mt_nr_tallocated()
6991 return kmem_cache_nr_allocated(maple_node_cache); in mt_nr_allocated()
7008 kmem_cache_shrink(maple_node_cache); in mt_cache_shrink()