Searched refs:mempool (Results 1 – 2 of 2) sorted by relevance
299 slab_alloc_st(struct slab_mempool *mempool) in slab_alloc_st() argument301 return slab_alloc(&mempool->child); in slab_alloc_st()308 slab_free_st(struct slab_mempool *mempool, void *ptr) in slab_free_st() argument310 slab_free(&mempool->child, ptr); in slab_free_st()314 slab_destroy(struct slab_mempool *mempool) in slab_destroy() argument316 slab_destroy_child(&mempool->child); in slab_destroy()317 slab_destroy_parent(&mempool->parent); in slab_destroy()327 slab_create(struct slab_mempool *mempool, in slab_create() argument331 slab_create_parent(&mempool->parent, item_size, num_items); in slab_create()332 slab_create_child(&mempool->child, &mempool->parent); in slab_create()
93 void slab_create(struct slab_mempool *mempool,96 void slab_destroy(struct slab_mempool *mempool);97 void *slab_alloc_st(struct slab_mempool *mempool);98 void slab_free_st(struct slab_mempool *mempool, void *ptr);