Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/mm/
Dslab.h49 void *(*constructor)(void *vaddr, ul arg); member
91 struct slab *slab_create(ul size, void *(*constructor)(void *vaddr, ul arg), void *(*destructor)(vo…
Dslab.c33 struct slab *slab_create(ul size, void *(*constructor)(void *vaddr, ul arg), void *(*destructor)(vo… in slab_create()
65 slab_pool->constructor = constructor; in slab_create()
252 if (slab_pool->constructor != NULL) in slab_malloc()
255 … return slab_pool->constructor((char *)slab_obj_ptr->vaddr + slab_pool->size * i, arg); in slab_malloc()