Searched refs:slab (Results 1 – 3 of 3) sorted by relevance
31 Slab_Init(Slab *slab, const char *name, uintptr_t objsz, uintptr_t align) in Slab_Init() argument35 slab->objsz = objsz; in Slab_Init()36 slab->align = align; in Slab_Init()37 slab->xmem = XMem_New(); in Slab_Init()38 slab->objs = 0; in Slab_Init()39 slab->freeObjs = 0; in Slab_Init()40 slab->allocs = 0; in Slab_Init()41 slab->frees = 0; in Slab_Init()42 LIST_INIT(&slab->freeList); in Slab_Init()44 ASSERT(slab->xmem != NULL); in Slab_Init()[all …]
61 void Slab_Init(Slab *slab, const char *name, uintptr_t objsz, uintptr_t align);62 void *Slab_Alloc(Slab *slab) __attribute__((malloc));63 void Slab_Free(Slab *slab, void *obj);
60 "kern/slab.c",