slab_t * kmemcache_create(const char *name, size_t ent_size)
void * slab_realloc(void *addr, size_t size)
Reallocate a block of memory from the slab allocator.
void slab_free(const void *addr)
Free a block of memory from the slab allocator.
void * kmemcache_alloc(slab_t *slab)
__BEGIN_DECLS void * slab_alloc(size_t size)
Allocate a block of memory from the slab allocator.
void * slab_calloc(size_t nmemb, size_t size)
Allocate a block of memory from the slab allocator and zero it.