Home
last modified time | relevance | path

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

/DragonOS-0.1.2/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()
/DragonOS-0.1.2/kernel/
Dcbindgen.toml383 # Whether to derive a simple constructor that takes a value for every field.
502 # Whether enums with fields should generate copy-constructor. See the discussion on
516 # This allows the auto-generated constructor functions to compile, if there are