Lines Matching refs:mempool
299 slab_alloc_st(struct slab_mempool *mempool)
301 return slab_alloc(&mempool->child);
308 slab_free_st(struct slab_mempool *mempool, void *ptr)
310 slab_free(&mempool->child, ptr);
314 slab_destroy(struct slab_mempool *mempool)
316 slab_destroy_child(&mempool->child);
317 slab_destroy_parent(&mempool->parent);
327 slab_create(struct slab_mempool *mempool,
331 slab_create_parent(&mempool->parent, item_size, num_items);
332 slab_create_child(&mempool->child, &mempool->parent);