Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Dslab.c299 slab_alloc_st(struct slab_mempool *mempool) in slab_alloc_st() argument
301 return slab_alloc(&mempool->child); in slab_alloc_st()
308 slab_free_st(struct slab_mempool *mempool, void *ptr) in slab_free_st() argument
310 slab_free(&mempool->child, ptr); in slab_free_st()
314 slab_destroy(struct slab_mempool *mempool) in slab_destroy() argument
316 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() argument
331 slab_create_parent(&mempool->parent, item_size, num_items); in slab_create()
332 slab_create_child(&mempool->child, &mempool->parent); in slab_create()
Dslab.h93 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);